Plugin Directory


Ignore:
Location:
woolentor-addons/trunk
Files:
18 edited

Legend:

Unmodified
Added
Removed
  • woolentor-addons/trunk/classes/class.assest_management.php

    r3037382 r3044764  
    11<?php
    22
    33namespace WooLentor;
    44
    55if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    66
    77/**
    88* Assest Management
    99*/
    1010class Assets_Management{
    1111   
    1212    /**
    1313     * [$instance]
    1414     * @var null
    1515     */
    1616    private static $instance = null;
    1717
    1818    /**
    1919     * [instance] Initializes a singleton instance
    2020     * @return [Assets_Management]
    2121     */
    2222    public static function instance() {
    2323        if ( is_null( self::$instance ) ) {
    2424            self::$instance = new self();
    2525        }
    2626        return self::$instance;
    2727    }
    2828
    2929    /**
    3030     * [__construct] Class Constructor
    3131     */
    3232    function __construct(){
    3333        $this->init();
    3434    }
    3535
    3636    /**
    3737     * [init] Init
    3838     * @return [void]
    3939     */
    4040    public function init() {
    4141
    4242        // Register Scripts
    4343        add_action( 'wp_enqueue_scripts', [ $this, 'register_assets' ] );
    4444        add_action( 'admin_enqueue_scripts', [ $this, 'register_assets' ] );
    4545
    4646        // Elementor Editor Scripts
    4747        add_action( 'elementor/editor/after_enqueue_styles', [ $this, 'enqueue_elementor_editor' ] );
    4848
    4949        // Frontend Scripts
    5050        add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_frontend_scripts' ] );
    5151
    5252        add_filter( 'body_class', [ $this, 'body_classes' ] );
    5353
    5454    }
    5555
    5656    /**
    5757     * [body_classes]
    5858     * @param  [array] $classes
    5959     * @return [array]
    6060     */   
    6161    public function body_classes( $classes ){
    6262
    6363        $current_theme = wp_get_theme();
    6464        $classes[] = 'woolentor_current_theme_'.$current_theme->get( 'TextDomain' );
    6565
    6666        return $classes;
    6767    }
    6868
    6969    /**
    7070     * All available styles
    7171     *
    7272     * @return array
    7373     */
    7474    public function get_styles() {
    7575
    7676        $style_list = [
    7777            'htflexboxgrid' => [
    7878                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/htflexboxgrid.css',
    7979                'version' => WOOLENTOR_VERSION
    8080            ],
    8181            'simple-line-icons-wl' => [
    8282                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/simple-line-icons.css',
    8383                'version' => WOOLENTOR_VERSION
    8484            ],
    8585            'font-awesome-four' => [
    8686                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/font-awesome.min.css',
    8787                'version' => WOOLENTOR_VERSION
    8888            ],
    8989            'woolentor-select2' => [
    9090                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/select2.min.css',
    9191                'version' => WOOLENTOR_VERSION
    9292            ],
    9393            'woolentor-animate' => [
    9494                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/animate.css',
    9595                'version' => WOOLENTOR_VERSION
    9696            ],
    9797            'woolentor-widgets' => [
    9898                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/woolentor-widgets.css',
    9999                'version' => WOOLENTOR_VERSION
    100100            ],
    101101            'slick' => [
    102102                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/slick.css',
    103103                'version' => WOOLENTOR_VERSION
    104104            ],
    105105            'magnific-popup' => [
    106106                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/css/magnific-popup.css',
    107107                'version' => WOOLENTOR_VERSION
    108108            ],
    109109            'woolentor-widgets-rtl' => [
    110110                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/woolentor-widgets-rtl.css',
    111111                'version' => WOOLENTOR_VERSION
    112112            ],
    113113            'woolentor-ajax-search' => [
    114114                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/addons/ajax-search/css/ajax-search.css',
    115115                'version' => WOOLENTOR_VERSION
    116116            ],
    117117            'woolentor-flash-sale-module' => [
    118118                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/modules/flash-sale/assets/css/flash-sale.css',
    119119                'version' => WOOLENTOR_VERSION,
    120120            ],
    121121            'woolentor-store-feature' => [
    122122                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/store-feature.css',
    123123                'version' => WOOLENTOR_VERSION
    124124            ],
    125125            'woolentor-faq' => [
    126126                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/faq.css',
    127127                'version' => WOOLENTOR_VERSION
    128128            ],
    129129            'woolentor-category-grid' => [
    130130                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/category-grid.css',
    131131                'version' => WOOLENTOR_VERSION
    132132            ],
    133133            'woolentor-slider' => [
    134134                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/slider.css',
    135135                'version' => WOOLENTOR_VERSION,
    136136                'deps'    => [ 'magnific-popup' ]
    137137            ],
    138138            'woolentor-testimonial' => [
    139139                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/testimonial.css',
    140140                'version' => WOOLENTOR_VERSION,
    141141                'deps'    => [ 'slick' ]
    142142            ],
    143143            'woolentor-product-grid' => [
    144144                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/css/product-grid.css',
    145145                'version' => WOOLENTOR_VERSION,
    146146                'deps'    => [ 'slick','simple-line-icons-wl' ]
    147147            ],
    148148
    149149            'woolentor-admin' => [
    150150                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/css/woolentor-admin.css',
    151151                'version' => WOOLENTOR_VERSION
    152152            ],
    153153            'woolentor-selectric' => [
    154154                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/css/selectric.css',
    155155                'version' => WOOLENTOR_VERSION
    156156            ],
    157157            'woolentor-sweetalert' => [
    158158                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/css/sweetalert2.min.css',
    159159                'version' => WOOLENTOR_VERSION
    160160            ],
    161161            'woolentor-temlibray-style' => [
    162162                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/css/tmp-style.css',
    163163                'version' => WOOLENTOR_VERSION
    164164            ],
    165165           
    166166
    167167        ];
    168168        return $style_list;
    169169
    170170    }
    171171
    172172    /**
    173173     * All available scripts
    174174     *
    175175     * @return array
    176176     */
    177177    public function get_scripts() {
    178178
    179179        $script_list = [
    180180            'slick' => [
    181181                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/js/slick.min.js',
    182182                'version' => WOOLENTOR_VERSION,
    183183                'deps'    => [ 'jquery' ]
    184184            ],
    185185            'countdown-min' => [
    186186                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/js/jquery.countdown.min.js',
    187187                'version' => WOOLENTOR_VERSION,
    188188                'deps'    => [ 'jquery' ]
    189189            ],
    190190            'woolentor-accordion-min' => [
    191191                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/js/accordion.min.js',
    192192                'version' => WOOLENTOR_VERSION,
    193193                'deps'    => [ 'jquery' ]
    194194            ],
    195195            'select2-min' => [
    196196                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/js/select2.min.js',
    197197                'version' => WOOLENTOR_VERSION,
    198198                'deps'    => [ 'jquery' ]
    199199            ],
    200200            'wow' => [
    201201                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/js/wow.js',
    202202                'version' => WOOLENTOR_VERSION,
    203203                'deps'    => [ 'jquery' ]
    204204            ],
    205205            'jarallax' => [
    206206                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/js/jarallax.js',
    207207                'version' => WOOLENTOR_VERSION,
    208208                'deps'    => [ 'jquery' ]
    209209            ],
    210210            'magnific-popup' => [
    211211                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/js/magnific-popup.js',
    212212                'version' => WOOLENTOR_VERSION,
    213213                'deps'    => [ 'jquery' ]
    214214            ],
    215215            'one-page-nav' => [
    216216                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/lib/js/one-page-nav.js',
    217217                'version' => WOOLENTOR_VERSION,
    218218                'deps'    => [ 'jarallax','magnific-popup','wow','jquery' ]
    219219            ],
    220220            'woolentor-widgets-scripts' => [
    221221                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/js/woolentor-widgets-active.js',
    222222                'version' => WOOLENTOR_VERSION,
    223223                'deps'    => [ 'jquery','slick','wc-add-to-cart-variation' ]
    224224            ],
    225225            'woolentor-ajax-search' => [
    226226                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/addons/ajax-search/js/ajax-search.js',
    227227                'version' => WOOLENTOR_VERSION,
    228228                'deps'    => [ 'woolentor-widgets-scripts' ]
    229229            ],
    230230            'jquery-single-product-ajax-cart' =>[
    231231                'src'     => WOOLENTOR_ADDONS_PL_URL . 'assets/js/single_product_ajax_add_to_cart.js',
    232232                'version' => WOOLENTOR_VERSION,
    233233                'deps'    => [ 'jquery' ]
    234234            ],
    235235            'woolentor-flash-sale-module' => [
    236236                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/modules/flash-sale/assets/js/flash-sale.js',
    237237                'version' => WOOLENTOR_VERSION,
    238238                'deps'    => [ 'jquery', 'countdown-min' ]
    239239            ],
    240240
    241241            'woolentor-jquery-interdependencies' => [
    242242                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/jquery-interdependencies.min.js',
    243243                'version' => WOOLENTOR_VERSION,
    244244                'deps'    => [ 'jquery' ],
    245245            ],
    246246            'woolentor-condition' => [
    247247                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/woolentor-condition.js',
    248248                'version' => WOOLENTOR_VERSION,
    249249                'deps'    => [ 'jquery'],
    250250            ],
    251251            'woolentor-admin-main' =>[
    252252                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/woolentor-admin.js',
    253253                'version' => WOOLENTOR_VERSION,
    254254                'deps'    => [ 'jquery', 'wp-util', 'serializejson' ]
    255255            ],
    256256            'woolentor-sweetalert' => [
    257257                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/sweetalert2.min.js',
    258258                'version' => WOOLENTOR_VERSION
    259259            ],
    260260            'woolentor-modernizr' => [
    261261                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/modernizr.custom.63321.js',
    262262                'version' => WOOLENTOR_VERSION,
    263263                'deps'    => [ 'jquery' ]
    264264            ],
    265265            'jquery-selectric' => [
    266266                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/jquery.selectric.min.js',
    267267                'version' => WOOLENTOR_VERSION,
    268268                'deps'    => [ 'jquery' ]
    269269            ],
    270270            'jquery-ScrollMagic' => [
    271271                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/ScrollMagic.min.js',
    272272                'version' => WOOLENTOR_VERSION,
    273273                'deps'    => [ 'jquery' ]
    274274            ],
    275275            'babel-min' => [
    276276                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/lib/js/babel.min.js',
    277277                'version' => WOOLENTOR_VERSION,
    278278                'deps'    => [ 'jquery' ]
    279279            ],
    280280            'woolentor-templates' => [
    281281                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/template_library_manager.js',
    282282                'version' => WOOLENTOR_VERSION,
    283283                'deps'    => [ 'jquery', 'wp-util' ]
    284284            ],
    285285            'woolentor-install-manager' => [
    286286                'src'     => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/install_manager.js',
    287287                'version' => WOOLENTOR_VERSION,
    288288                'deps'    => [ 'wp-util', 'updates' ]
    289289            ],
    290290           
    291291        ];
    292292
    293293        return $script_list;
    294294
    295295    }
    296296
    297297    /**
    298298     * Register scripts and styles
    299299     *
    300300     * @return void
    301301     */
    302302    public function register_assets() {
    303303        $scripts = $this->get_scripts();
    304304        $styles  = $this->get_styles();
    305305
    306306        // Register Scripts
    307307        foreach ( $scripts as $handle => $script ) {
    308308            $deps = ( isset( $script['deps'] ) ? $script['deps'] : false );
    309309            wp_register_script( $handle, $script['src'], $deps, $script['version'], true );
    310310        }
    311311
    312312        // Register Styles
    313313        foreach ( $styles as $handle => $style ) {
    314314            $deps = ( isset( $style['deps'] ) ? $style['deps'] : false );
    315315            wp_register_style( $handle, $style['src'], $deps, $style['version'] );
    316316        }
    317317
    318318        //Localize Scripts
    319319        $localizeargs = array(
    320320            'woolentorajaxurl' => admin_url( 'admin-ajax.php' ),
    321321            'ajax_nonce'       => wp_create_nonce( 'woolentor_psa_nonce' ),
    322322        );
    323323        wp_localize_script( 'woolentor-widgets-scripts', 'woolentor_addons', $localizeargs );
    324324
    325325        // For Admin
    326326        if( is_admin() ){
    327327
    328328            $datalocalize = array(
    329329                'nonce' => wp_create_nonce( 'woolentor_save_opt_nonce' ),
    330330                'ajaxurl' => admin_url( 'admin-ajax.php' ),
    331331                'message'=>[
    332332                    'btntxt'  => esc_html__( 'Save Changes', 'woolentor' ),
    333333                    'loading' => esc_html__( 'Saving...', 'woolentor' ),
    334334                    'success' => esc_html__( 'Saved All Data', 'woolentor' ),
    335335                    'yes'     => esc_html__( 'Yes', 'woolentor' ),
    336336                    'cancel'  => esc_html__( 'Cancel', 'woolentor' ),
    337337                    'sure'    => esc_html__( 'Are you sure?', 'woolentor' ),
    338338                    'reseting'=> esc_html__( 'Resetting...', 'woolentor' ),
    339339                    'reseted' => esc_html__( 'Reset All Settings', 'woolentor' ),
    340340                ],
    341341                'option_data' => [],
    342342
    343343            );
    344344            wp_localize_script( 'woolentor-admin-main', 'WOOLENTOR_ADMIN', $datalocalize );
    345345
    346346            //Localize Scripts For template Library
    347347            $current_user  = wp_get_current_user();
    348348            $localize_data = [
    349349                'ajaxurl'          => admin_url( 'admin-ajax.php' ),
    350350                'nonce'            => wp_create_nonce( 'woolentor_template_nonce' ),
    351351                'adminURL'         => admin_url(),
    352352                'elementorURL'     => admin_url( 'edit.php?post_type=elementor_library' ),
    353353                'version'          => WOOLENTOR_VERSION,
    354354                'pluginURL'        => plugin_dir_url( __FILE__ ),
    355355                'alldata'          => !empty( base::$template_info['templates'] ) ? base::$template_info['templates'] : array(),
    356356                'prolink'          => 'https://woolentor.com/pricing/',
    357357                'prolabel'         => esc_html__( 'Pro', 'woolentor' ),
    358358                'loadingimg'       => WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/images/loading.gif',
    359359                'message'          =>[
    360360                    'packagedesc'=> esc_html__( 'in this package', 'woolentor' ),
    361361                    'allload'    => esc_html__( 'All Items have been Loaded', 'woolentor' ),
    362362                    'notfound'   => esc_html__( 'Nothing Found', 'woolentor' ),
    363363                ],
    364364                'buttontxt'      =>[
    365365                    'tmplibrary' => esc_html__( 'Import to Library', 'woolentor' ),
    366366                    'tmppage'    => esc_html__( 'Import to Page', 'woolentor' ),
    367367                    'tmpbuilder' => esc_html__( 'Import to Builder', 'woolentor' ),
    368368                    'import'     => esc_html__( 'Import', 'woolentor' ),
    369369                    'buynow'     => esc_html__( 'Buy Now', 'woolentor' ),
    370370                    'preview'    => esc_html__( 'Preview', 'woolentor' ),
    371371                    'installing' => esc_html__( 'Installing..', 'woolentor' ),
    372372                    'activating' => esc_html__( 'Activating..', 'woolentor' ),
    373373                    'active'     => esc_html__( 'Active', 'woolentor' ),
    374374                ],
    375375                'user'           => [
    376376                    'email' => $current_user->user_email,
    377377                ],
    378378            ];
    379379            wp_localize_script( 'woolentor-templates', 'WLTM', $localize_data );
    380380            wp_localize_script( 'woolentor-install-manager', 'WLIM', $localize_data );
    381381        }
    382382       
    383383    }
    384384
    385385    /**
    386386     * [enqueue_frontend_scripts Load frontend scripts]
    387387     * @return [void]
    388388     */
    389389    public function enqueue_frontend_scripts() {
    390390
    391391        $current_theme = wp_get_theme( 'oceanwp' );
    392392        // CSS File
    393393        if ( $current_theme->exists() ){
    394394            wp_enqueue_style( 'font-awesome-four' );
    395395        }else{
    396396            if( wp_style_is( 'font-awesome', 'registered' ) ){
    397397                wp_enqueue_style( 'font-awesome' );
    398398            }else{
    399399                wp_enqueue_style( 'font-awesome-four' );
    400400            }
    401401        }
    402402        wp_enqueue_style( 'simple-line-icons-wl' );
    403403        wp_enqueue_style( 'htflexboxgrid' );
    404404        wp_enqueue_style( 'slick' );
    405405        wp_enqueue_style( 'woolentor-widgets' );
    406406       
    407407        // If RTL
    408408        if ( is_rtl() ) {
    409409            wp_enqueue_style(  'woolentor-widgets-rtl' );
    410410        }
    411411
    412412    }
    413413
    414414    /**
    415415     * Elementor Editor Panenl Script
    416416     *
    417417     * @return void
    418418     */
    419419    public function enqueue_elementor_editor(){
    420420        wp_enqueue_style('woolentor-elementor-editor', WOOLENTOR_ADDONS_PL_URL . 'assets/css/woolentor-elementor-editor.css',['elementor-editor'], WOOLENTOR_VERSION );
    421         wp_enqueue_script( 'woolentor-elementor-editor', WOOLENTOR_ADDONS_PL_URL . 'assets/js/woolentor-elementor-editor.js', ['jquery'], WOOLENTOR_VERSION, true );
     421        // wp_enqueue_script( 'woolentor-elementor-editor', WOOLENTOR_ADDONS_PL_URL . 'assets/js/woolentor-elementor-editor.js', ['jquery'], WOOLENTOR_VERSION, false );
    422422
    423423        // Localized data for elementor editor
    424424        wp_localize_script(
    425425            'woolentor-elementor-editor',
    426426            'woolentorSetting',
    427427            array(
    428428                'hasPro'     => is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') ? true : false,
    429429                'proWidgets' => Widgets_Control::promotional_widget_list(),
    430430            )
    431431        );
    432432    }
    433433
    434434}
    435435
    436436Assets_Management::instance();
  • woolentor-addons/trunk/includes/addons/special_day_offer.php

    r3037382 r3044764  
    11<?php
    22namespace Elementor;
    33
    44if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    55
    66class Woolentor_Special_Day_Offer_Widget extends Widget_Base {
    77
    88    public function get_name() {
    99        return 'woolentor-specialdaybanner-addons';
    1010    }
    1111   
    1212    public function get_title() {
    1313        return __( 'WL: Special Day Offer', 'woolentor' );
    1414    }
    1515
    1616    public function get_icon() {
    1717        return 'eicon-image';
    1818    }
    1919
    2020    public function get_categories() {
    2121        return [ 'woolentor-addons' ];
    2222    }
    2323
    2424    public function get_help_url() {
    2525        return 'https://woolentor.com/documentation/';
    2626    }
    2727
    2828    public function get_style_depends(){
    2929        return [
    3030            'woolentor-widgets',
    3131        ];
    3232    }
    3333
    3434    public function get_keywords(){
    3535        return['offer','day','day offer','special offer','special day'];
    3636    }
    3737
    3838    protected function register_controls() {
    3939
    4040        $this->start_controls_section(
    4141            'add_banner_content',
    4242            [
    4343                'label' => __( 'Banner', 'woolentor' ),
    4444            ]
    4545        );
    4646
    4747            $this->add_control(
    4848                'banner_content_pos',
    4949                [
    5050                    'label' => __( 'Content Position', 'woolentor' ),
    5151                    'type' => Controls_Manager::SELECT,
    5252                    'default' => 'center',
    5353                    'options' => [
    5454                        'top'   => __( 'Top', 'woolentor' ),
    5555                        'center' => __( 'Center', 'woolentor' ),
    5656                        'bottom' => __( 'Bottom', 'woolentor' ),
    5757                        'left'   => __( 'Left', 'woolentor' ),
    5858                        'right'  => __( 'Right', 'woolentor' ),
    5959                    ],
    6060                ]
    6161            );
    6262
    6363            $this->add_control(
    6464                'banner_image',
    6565                [
    6666                    'label' => __( 'Image', 'woolentor' ),
    6767                    'type' => Controls_Manager::MEDIA,
    6868                    'default' => [
    6969                        'url' => Utils::get_placeholder_image_src(),
    7070                    ],
    7171                ]
    7272            );
    7373
    7474            $this->add_group_control(
    7575                Group_Control_Image_Size::get_type(),
    7676                [
    7777                    'name' => 'banner_image_size',
    7878                    'default' => 'large',
    7979                    'separator' => 'none',
    8080                ]
    8181            );
    8282
    8383            $this->add_control(
    8484                'banner_title',
    8585                [
    8686                    'label' => __( 'Title', 'woolentor' ),
    8787                    'type' => Controls_Manager::TEXT,
    8888                    'placeholder' => __( 'Banner Title', 'woolentor' ),
    8989                ]
    9090            );
    9191
    9292            $this->add_control(
    9393                'banner_sub_title',
    9494                [
    9595                    'label' => __( 'Subtitle', 'woolentor' ),
    9696                    'type' => Controls_Manager::TEXT,
    9797                    'placeholder' => __( 'Banner Sub Title', 'woolentor' ),
    9898                ]
    9999            );
    100100
    101101            $this->add_control(
    102102                'banner_description',
    103103                [
    104104                    'label' => __( 'Description', 'woolentor' ),
    105105                    'type' => Controls_Manager::TEXTAREA,
    106106                    'placeholder' => __( 'Banner Description', 'woolentor' ),
    107107                ]
    108108            );
    109109
    110110            $this->add_control(
    111111                'banner_offer',
    112112                [
    113113                    'label' => __( 'Offer Amount', 'woolentor' ),
    114114                    'type' => Controls_Manager::TEXT,
    115115                    'placeholder' => __( '50%', 'woolentor' ),
    116116                ]
    117117            );
    118118
    119119            $this->add_control(
    120120                'banner_offer_tag_line',
    121121                [
    122122                    'label' => __( 'Offer Tag Line', 'woolentor' ),
    123123                    'type' => Controls_Manager::TEXT,
    124124                    'placeholder' => __( 'Off', 'woolentor' ),
    125125                ]
    126126            );
    127127
    128128            $this->add_control(
    129129                'banner_link',
    130130                [
    131131                    'label' => __( 'Banner Link', 'woolentor' ),
    132132                    'type' => Controls_Manager::URL,
    133133                    'placeholder' => __( 'https://your-link.com', 'woolentor' ),
    134134                    'show_external' => true,
    135135                    'default' => [
    136136                        'url' => '#',
    137137                        'is_external' => false,
    138138                        'nofollow' => false,
    139139                    ],
    140140                ]
    141141            );
    142142
    143143            $this->add_control(
    144144                'banner_button_txt',
    145145                [
    146146                    'label' => __( 'Button Text', 'woolentor' ),
    147147                    'type' => Controls_Manager::TEXT,
    148148                    'placeholder' => __( 'Button Text', 'woolentor' ),
    149149                ]
    150150            );
    151151
    152152            $this->add_control(
    153153                'banner_badge_toggle',
    154154                [
    155155                    'label' => __( 'Banner Badge', 'woolentor' ),
    156156                    'type' => Controls_Manager::POPOVER_TOGGLE,
    157157                ]
    158158            );
    159159
    160160            $this->start_popover();
    161161
    162162                $this->add_control(
    163163                    'banner_badge_image',
    164164                    [
    165165                        'label' => __( 'Badge Image', 'woolentor' ),
    166166                        'type' => Controls_Manager::MEDIA,
    167167                    ]
    168168                );
    169169
    170170                $this->add_responsive_control(
    171171                    'badge_width',
    172172                    [
    173173                        'label' => __( 'Width', 'woolentor' ),
    174174                        'type' => Controls_Manager::SLIDER,
    175175                        'size_units' => [ 'px', '%' ],
    176176                        'range' => [
    177177                            'px' => [
    178178                                'min' => 0,
    179179                                'max' => 1000,
    180180                            ],
    181181                            '%' => [
    182182                                'min' => 0,
    183183                                'max' => 100,
    184184                            ],
    185185                        ],
    186186                        'condition'=>[
    187187                            'banner_badge_image[url]!'=>'',
    188188                        ],
    189189                        'selectors' => [
    190190                            '{{WRAPPER}} .wlspcial-banner .wlbanner-badgeimage' => 'width: {{SIZE}}{{UNIT}};',
    191191                        ],
    192192                    ]
    193193                );
    194194
    195195                $this->add_responsive_control(
    196196                    'badge_x_position',
    197197                    [
    198198                        'label' => __( 'Horizontal Position', 'woolentor' ),
    199199                        'type' => Controls_Manager::SLIDER,
    200200                        'size_units' => [ 'px', '%' ],
    201201                        'default' => [
    202202                            'size' => 25,
    203203                            'unit' => '%',
    204204                        ],
    205205                        'range' => [
    206206                            'px' => [
    207207                                'min' => -1000,
    208208                                'max' => 1000,
    209209                            ],
    210210                            '%' => [
    211211                                'min' => 0,
    212212                                'max' => 100,
    213213                            ],
    214214                        ],
    215215                        'condition'=>[
    216216                            'banner_badge_image[url]!'=>'',
    217217                        ],
    218218                        'selectors' => [
    219219                            '{{WRAPPER}} .wlspcial-banner .wlbanner-badgeimage' => 'left: {{SIZE}}{{UNIT}};',
    220220                        ],
    221221                    ]
    222222                );
    223223
    224224                $this->add_responsive_control(
    225225                    'badge_y_position',
    226226                    [
    227227                        'label' => __( 'Vertical Position', 'woolentor' ),
    228228                        'type' => Controls_Manager::SLIDER,
    229229                        'size_units' => [ 'px', '%' ],
    230230                        'default' => [
    231231                            'size' => 0,
    232232                            'unit' => '%',
    233233                        ],
    234234                        'range' => [
    235235                             'px' => [
    236236                                'min' => -1000,
    237237                                'max' => 1000,
    238238                            ],
    239239                            '%' => [
    240240                                'min' => 0,
    241241                                'max' => 100,
    242242                            ],
    243243                        ],
    244244                        'condition'=>[
    245245                            'banner_badge_image[url]!'=>'',
    246246                        ],
    247247                        'selectors' => [
    248248                            '{{WRAPPER}} .wlspcial-banner .wlbanner-badgeimage' => 'top: {{SIZE}}{{UNIT}};',
    249249                        ],
    250250                    ]
    251251                );
    252252
    253253            $this->end_popover();
    254254           
    255255        $this->end_controls_section();
    256256
    257257        // Style tab section
    258258        $this->start_controls_section(
    259259            'add_banner_style_section',
    260260            [
    261261                'label' => __( 'Style', 'woolentor' ),
    262262                'tab' => Controls_Manager::TAB_STYLE,
    263263            ]
    264264        );
    265265
    266266            $this->add_responsive_control(
    267267                'add_banner_section_align',
    268268                [
    269269                    'label' => __( 'Alignment', 'woolentor' ),
    270270                    'type' => Controls_Manager::CHOOSE,
    271271                    'options' => [
    272272                        'left' => [
    273273                            'title' => __( 'Left', 'woolentor' ),
    274274                            'icon' => 'eicon-text-align-left',
    275275                        ],
    276276                        'center' => [
    277277                            'title' => __( 'Center', 'woolentor' ),
    278278                            'icon' => 'eicon-text-align-center',
    279279                        ],
    280280                        'right' => [
    281281                            'title' => __( 'Right', 'woolentor' ),
    282282                            'icon' => 'eicon-text-align-right',
    283283                        ],
    284284                        'justify' => [
    285285                            'title' => __( 'Justified', 'woolentor' ),
    286286                            'icon' => 'eicon-text-align-justify',
    287287                        ],
    288288                    ],
    289289                    'selectors' => [
    290290                        '{{WRAPPER}} .wlspcial-banner .banner-content' => 'text-align: {{VALUE}};',
    291291                    ],
    292292                ]
    293293            );
    294294
    295295            $this->add_responsive_control(
    296296                'add_banner_section_margin',
    297297                [
    298298                    'label' => __( 'Margin', 'woolentor' ),
    299299                    'type' => Controls_Manager::DIMENSIONS,
    300300                    'size_units' => [ 'px', '%', 'em' ],
    301301                    'selectors' => [
    302302                        '{{WRAPPER}} .wlspcial-banner .banner-content' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    303303                    ],
    304304                ]
    305305            );
    306306
    307307            $this->add_responsive_control(
    308308                'add_banner_section_padding',
    309309                [
    310310                    'label' => __( 'Padding', 'woolentor' ),
    311311                    'type' => Controls_Manager::DIMENSIONS,
    312312                    'size_units' => [ 'px', '%', 'em' ],
    313313                    'selectors' => [
    314314                        '{{WRAPPER}} .wlspcial-banner .banner-content' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    315315                    ],
    316316                ]
    317317            );
    318318           
    319319        $this->end_controls_section();
    320320
    321321        // Style Title tab section
    322322        $this->start_controls_section(
    323323            'banner_title_style_section',
    324324            [
    325325                'label' => __( 'Title', 'woolentor' ),
    326326                'tab' => Controls_Manager::TAB_STYLE,
    327327                'condition'=>[
    328328                    'banner_title!'=>'',
    329329                ]
    330330            ]
    331331        );
    332332
    333333            $this->add_control(
    334334                'banner_title_color',
    335335                [
    336336                    'label' => __( 'Color', 'woolentor' ),
    337337                    'type' => Controls_Manager::COLOR,
    338338                    'default' => '#ffffff',
    339339                    'selectors' => [
    340340                        '{{WRAPPER}} .wlspcial-banner .banner-content h2' => 'color: {{VALUE}};',
    341341                    ]
    342342                ]
    343343            );
    344344
    345345            $this->add_group_control(
    346346                Group_Control_Typography::get_type(),
    347347                [
    348348                    'name' => 'banner_title_typography',
    349349                    'label' => __( 'Typography', 'woolentor' ),
    350350                    'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content h2',
    351351                ]
    352352            );
    353353
    354354            $this->add_responsive_control(
    355355                'banner_title_margin',
    356356                [
    357357                    'label' => __( 'Margin', 'woolentor' ),
    358358                    'type' => Controls_Manager::DIMENSIONS,
    359359                    'size_units' => [ 'px', '%', 'em' ],
    360360                    'selectors' => [
    361361                        '{{WRAPPER}} .wlspcial-banner .banner-content h2' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    362362                    ],
    363363                ]
    364364            );
    365365
    366366            $this->add_responsive_control(
    367367                'banner_title_padding',
    368368                [
    369369                    'label' => __( 'Padding', 'woolentor' ),
    370370                    'type' => Controls_Manager::DIMENSIONS,
    371371                    'size_units' => [ 'px', '%', 'em' ],
    372372                    'selectors' => [
    373373                        '{{WRAPPER}} .wlspcial-banner .banner-content h2' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    374374                    ],
    375375                ]
    376376            );
    377377           
    378378        $this->end_controls_section();
    379379
    380380        // Style Sub Title tab section
    381381        $this->start_controls_section(
    382382            'banner_sub_title_style_section',
    383383            [
    384384                'label' => __( 'Sub Title', 'woolentor' ),
    385385                'tab' => Controls_Manager::TAB_STYLE,
    386386                'condition'=>[
    387387                    'banner_sub_title!'=>'',
    388388                ]
    389389            ]
    390390        );
    391391
    392392            $this->add_control(
    393393                'banner_sub_title_color',
    394394                [
    395395                    'label' => __( 'Color', 'woolentor' ),
    396396                    'type' => Controls_Manager::COLOR,
    397397                    'default' => '#ffffff',
    398398                    'selectors' => [
    399399                        '{{WRAPPER}} .wlspcial-banner .banner-content h6' => 'color: {{VALUE}};',
    400400                    ]
    401401                ]
    402402            );
    403403
    404404            $this->add_group_control(
    405405                Group_Control_Typography::get_type(),
    406406                [
    407407                    'name' => 'banner_sub_title_typography',
    408408                    'label' => __( 'Typography', 'woolentor' ),
    409409                    'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content h6',
    410410                ]
    411411            );
    412412
    413413            $this->add_responsive_control(
    414414                'banner_sub_title_margin',
    415415                [
    416416                    'label' => __( 'Margin', 'woolentor' ),
    417417                    'type' => Controls_Manager::DIMENSIONS,
    418418                    'size_units' => [ 'px', '%', 'em' ],
    419419                    'selectors' => [
    420420                        '{{WRAPPER}} .wlspcial-banner .banner-content h6' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    421421                    ],
    422422                ]
    423423            );
    424424
    425425            $this->add_responsive_control(
    426426                'banner_sub_title_padding',
    427427                [
    428428                    'label' => __( 'Padding', 'woolentor' ),
    429429                    'type' => Controls_Manager::DIMENSIONS,
    430430                    'size_units' => [ 'px', '%', 'em' ],
    431431                    'selectors' => [
    432432                        '{{WRAPPER}} .wlspcial-banner .banner-content h6' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    433433                    ],
    434434                ]
    435435            );
    436436           
    437437        $this->end_controls_section();
    438438
    439439        // Style Description tab section
    440440        $this->start_controls_section(
    441441            'banner_description_style_section',
    442442            [
    443443                'label' => __( 'Description', 'woolentor' ),
    444444                'tab' => Controls_Manager::TAB_STYLE,
    445445                'condition'=>[
    446446                    'banner_description!'=>'',
    447447                ]
    448448            ]
    449449        );
    450450
    451451            $this->add_control(
    452452                'banner_description_color',
    453453                [
    454454                    'label' => __( 'Color', 'woolentor' ),
    455455                    'type' => Controls_Manager::COLOR,
    456456                    'default' => '#ffffff',
    457457                    'selectors' => [
    458458                        '{{WRAPPER}} .wlspcial-banner .banner-content p' => 'color: {{VALUE}};',
    459459                    ]
    460460                ]
    461461            );
    462462
    463463            $this->add_group_control(
    464464                Group_Control_Typography::get_type(),
    465465                [
    466466                    'name' => 'banner_description_typography',
    467467                    'label' => __( 'Typography', 'woolentor' ),
    468468                    'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content p',
    469469                ]
    470470            );
    471471
    472472            $this->add_responsive_control(
    473473                'banner_description_margin',
    474474                [
    475475                    'label' => __( 'Margin', 'woolentor' ),
    476476                    'type' => Controls_Manager::DIMENSIONS,
    477477                    'size_units' => [ 'px', '%', 'em' ],
    478478                    'selectors' => [
    479479                        '{{WRAPPER}} .wlspcial-banner .banner-content p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    480480                    ],
    481481                ]
    482482            );
    483483
    484484            $this->add_responsive_control(
    485485                'banner_description_padding',
    486486                [
    487487                    'label' => __( 'Padding', 'woolentor' ),
    488488                    'type' => Controls_Manager::DIMENSIONS,
    489489                    'size_units' => [ 'px', '%', 'em' ],
    490490                    'selectors' => [
    491491                        '{{WRAPPER}} .wlspcial-banner .banner-content p' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    492492                    ],
    493493                ]
    494494            );
    495495           
    496496        $this->end_controls_section();
    497497
    498498        // Style Offer tab section
    499499        $this->start_controls_section(
    500500            'banner_offer_style_section',
    501501            [
    502502                'label' => __( 'Offer Amount', 'woolentor' ),
    503503                'tab' => Controls_Manager::TAB_STYLE,
    504504                'condition'=>[
    505505                    'banner_offer!'=>'',
    506506                ]
    507507            ]
    508508        );
    509509
    510510            $this->add_control(
    511511                'banner_offer_color',
    512512                [
    513513                    'label' => __( 'Color', 'woolentor' ),
    514514                    'type' => Controls_Manager::COLOR,
    515515                    'default' => '#ffffff',
    516516                    'selectors' => [
    517517                        '{{WRAPPER}} .wlspcial-banner .banner-content h5' => 'color: {{VALUE}};',
    518518                    ]
    519519                ]
    520520            );
    521521
    522522            $this->add_group_control(
    523523                Group_Control_Typography::get_type(),
    524524                [
    525525                    'name' => 'banner_offer_typography',
    526526                    'label' => __( 'Typography', 'woolentor' ),
    527527                    'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content h5',
    528528                ]
    529529            );
    530530
    531531            $this->add_responsive_control(
    532532                'banner_offer_margin',
    533533                [
    534534                    'label' => __( 'Margin', 'woolentor' ),
    535535                    'type' => Controls_Manager::DIMENSIONS,
    536536                    'size_units' => [ 'px', '%', 'em' ],
    537537                    'selectors' => [
    538538                        '{{WRAPPER}} .wlspcial-banner .banner-content h5' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    539539                    ],
    540540                ]
    541541            );
    542542
    543543            $this->add_responsive_control(
    544544                'banner_offer_padding',
    545545                [
    546546                    'label' => __( 'Padding', 'woolentor' ),
    547547                    'type' => Controls_Manager::DIMENSIONS,
    548548                    'size_units' => [ 'px', '%', 'em' ],
    549549                    'selectors' => [
    550550                        '{{WRAPPER}} .wlspcial-banner .banner-content h5' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    551551                    ],
    552552                ]
    553553            );
    554554           
    555555        $this->end_controls_section();
    556556
    557557        // Style Offer Tag section
    558558        $this->start_controls_section(
    559559            'banner_offer_tag_style_section',
    560560            [
    561561                'label' => __( 'Offer Tag Line', 'woolentor' ),
    562562                'tab' => Controls_Manager::TAB_STYLE,
    563563                'condition'=>[
    564564                    'banner_offer!'=>'',
    565565                ]
    566566            ]
    567567        );
    568568
    569569            $this->add_control(
    570570                'banner_offer_tag_color',
    571571                [
    572572                    'label' => __( 'Color', 'woolentor' ),
    573573                    'type' => Controls_Manager::COLOR,
    574574                    'default' => '#ffffff',
    575575                    'selectors' => [
    576576                        '{{WRAPPER}} .wlspcial-banner .banner-content h5 span' => 'color: {{VALUE}};',
    577577                    ]
    578578                ]
    579579            );
    580580
    581581            $this->add_group_control(
    582582                Group_Control_Typography::get_type(),
    583583                [
    584584                    'name' => 'banner_offer_tag_typography',
    585585                    'label' => __( 'Typography', 'woolentor' ),
    586586                    'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content h5 span',
    587587                ]
    588588            );
    589589
    590590            $this->add_responsive_control(
    591591                'banner_offer_tag_margin',
    592592                [
    593593                    'label' => __( 'Margin', 'woolentor' ),
    594594                    'type' => Controls_Manager::DIMENSIONS,
    595595                    'size_units' => [ 'px', '%', 'em' ],
    596596                    'selectors' => [
    597597                        '{{WRAPPER}} .wlspcial-banner .banner-content h5 span' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    598598                    ],
    599599                ]
    600600            );
    601601
    602602            $this->add_responsive_control(
    603603                'banner_offer_tag_padding',
    604604                [
    605605                    'label' => __( 'Padding', 'woolentor' ),
    606606                    'type' => Controls_Manager::DIMENSIONS,
    607607                    'size_units' => [ 'px', '%', 'em' ],
    608608                    'selectors' => [
    609609                        '{{WRAPPER}} .wlspcial-banner .banner-content h5 span' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    610610                    ],
    611611                ]
    612612            );
    613613           
    614614        $this->end_controls_section();
    615615
    616616        // Style Button tab section
    617617        $this->start_controls_section(
    618618            'banner_button_style_section',
    619619            [
    620620                'label' => __( 'Button', 'woolentor' ),
    621621                'tab' => Controls_Manager::TAB_STYLE,
    622622                'condition'=>[
    623623                    'banner_button_txt!'=>'',
    624624                ]
    625625            ]
    626626        );
    627627
    628628            $this->start_controls_tabs('button_style_tabs');
    629629
    630630                $this->start_controls_tab(
    631631                    'button_style_normal_tab',
    632632                    [
    633633                        'label' => __( 'Normal', 'woolentor' ),
    634634                    ]
    635635                );
    636636                    $this->add_control(
    637637                        'button_text_color',
    638638                        [
    639639                            'label'     => __( 'Color', 'woolentor' ),
    640640                            'type'      => Controls_Manager::COLOR,
    641641                            'default'   =>'#ffffff',
    642642                            'selectors' => [
    643643                                '{{WRAPPER}} .wlspcial-banner .banner-content a' => 'color: {{VALUE}};',
    644644                            ],
    645645                        ]
    646646                    );
    647647
    648648                    $this->add_group_control(
    649649                        Group_Control_Typography::get_type(),
    650650                        [
    651651                            'name' => 'button_typography',
    652652                            'label' => __( 'Typography', 'woolentor' ),
    653653                            'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a',
    654654                        ]
    655655                    );
    656656
    657657                    $this->add_group_control(
    658658                        Group_Control_Border::get_type(),
    659659                        [
    660660                            'name' => 'button_border',
    661661                            'label' => __( 'Border', 'woolentor' ),
    662662                            'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a',
    663663                        ]
    664664                    );
    665665
    666666                    $this->add_responsive_control(
    667667                        'button_border_radius',
    668668                        [
    669669                            'label' => __( 'Border Radius', 'woolentor' ),
    670670                            'type' => Controls_Manager::DIMENSIONS,
    671671                            'selectors' => [
    672672                                '{{WRAPPER}} .wlspcial-banner .banner-content a' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
    673673                            ],
    674674                        ]
    675675                    );
    676676
    677677                    $this->add_group_control(
    678678                        Group_Control_Background::get_type(),
    679679                        [
    680680                            'name' => 'button_background',
    681681                            'label' => __( 'Background', 'woolentor' ),
    682682                            'types' => [ 'classic', 'gradient' ],
    683683                            'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a',
    684684                            'separator' => 'before',
    685685                        ]
    686686                    );
    687687
    688688                    $this->add_responsive_control(
    689689                        'button_padding',
    690690                        [
    691691                            'label' => __( 'Padding', 'woolentor' ),
    692692                            'type' => Controls_Manager::DIMENSIONS,
    693693                            'size_units' => [ 'px', '%', 'em' ],
    694694                            'selectors' => [
    695695                                '{{WRAPPER}} .wlspcial-banner .banner-content a' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    696696                            ],
    697697                            'separator' => 'before',
    698698                        ]
    699699                    );
    700700
    701701                    $this->add_responsive_control(
    702702                        'button_margin',
    703703                        [
    704704                            'label' => __( 'Margin', 'woolentor' ),
    705705                            'type' => Controls_Manager::DIMENSIONS,
    706706                            'size_units' => [ 'px', '%', 'em' ],
    707707                            'selectors' => [
    708708                                '{{WRAPPER}} .wlspcial-banner .banner-content a' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',
    709709                            ],
    710710                            'separator' => 'before',
    711711                        ]
    712712                    );
    713713
    714714                $this->end_controls_tab(); // Button Normal tab end
    715715
    716716                // Button Hover tab start
    717717                $this->start_controls_tab(
    718718                    'button_style_hover_tab',
    719719                    [
    720720                        'label' => __( 'Hover', 'woolentor' ),
    721721                    ]
    722722                );
    723723                   
    724724                    $this->add_control(
    725725                        'button_hover_text_color',
    726726                        [
    727727                            'label'     => __( 'Color', 'woolentor' ),
    728728                            'type'      => Controls_Manager::COLOR,
    729729                            'default'   =>'#ffffff',
    730730                            'selectors' => [
    731731                                '{{WRAPPER}} .wlspcial-banner .banner-content a:hover' => 'color: {{VALUE}};',
    732732                            ],
    733733                        ]
    734734                    );
    735735
    736736                    $this->add_group_control(
    737737                        Group_Control_Border::get_type(),
    738738                        [
    739739                            'name' => 'button_hover_border',
    740740                            'label' => __( 'Border', 'woolentor' ),
    741741                            'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a:hover',
    742742                        ]
    743743                    );
    744744
    745745                    $this->add_responsive_control(
    746746                        'button_hover_border_radius',
    747747                        [
    748748                            'label' => __( 'Border Radius', 'woolentor' ),
    749749                            'type' => Controls_Manager::DIMENSIONS,
    750750                            'selectors' => [
    751751                                '{{WRAPPER}} .wlspcial-banner .banner-content a:hover' => 'border-radius: {{TOP}}px {{RIGHT}}px {{BOTTOM}}px {{LEFT}}px;',
    752752                            ],
    753753                        ]
    754754                    );
    755755
    756756                    $this->add_group_control(
    757757                        Group_Control_Background::get_type(),
    758758                        [
    759759                            'name' => 'button_hover_background',
    760760                            'label' => __( 'Background', 'woolentor' ),
    761761                            'types' => [ 'classic', 'gradient' ],
    762762                            'selector' => '{{WRAPPER}} .wlspcial-banner .banner-content a:hover',
    763763                            'separator' => 'before',
    764764                        ]
    765765                    );
    766766
    767767                $this->end_controls_tab(); // Button Hover tab end
    768768
    769769            $this->end_controls_tabs();
    770770
    771771        $this->end_controls_section();
    772772
    773773    }
    774774
    775775    protected function render( $instance = [] ) {
    776776
    777777        $settings   = $this->get_settings_for_display();
    778778
    779779        $this->add_render_attribute( 'woolentor_banner', 'class', 'wlspcial-banner woolentor-banner-content-pos-'.$settings['banner_content_pos'] );
    780780
    781781        // URL Generate
    782782        if ( ! empty( $settings['banner_link']['url'] ) ) {
    783783           
    784             $this->add_render_attribute( 'url', 'href', $settings['banner_link']['url'] );
     784            $this->add_render_attribute( 'url', 'href', esc_url($settings['banner_link']['url']) );
    785785            if ( $settings['banner_link']['is_external'] ) {
    786786                $this->add_render_attribute( 'url', 'target', '_blank' );
    787787            }
    788788
    789789            if ( ! empty( $settings['banner_link']['nofollow'] ) ) {
    790790                $this->add_render_attribute( 'url', 'rel', 'nofollow' );
    791791            }
    792792        }
    793793       
    794794        ?>
    795795            <div <?php echo $this->get_render_attribute_string( 'woolentor_banner' ); ?>>
    796796                <div class="banner-thumb">
    797797                    <a <?php echo $this->get_render_attribute_string( 'url' ); ?>>
    798798                        <?php
    799799                            echo Group_Control_Image_Size::get_attachment_image_html( $settings, 'banner_image_size', 'banner_image' );
    800800                        ?>
    801801                    </a>
    802802                </div>
    803803                <?php
    804804                    if( !empty($settings['banner_badge_image']['url']) ){
    805                         echo '<div class="wlbanner-badgeimage"><img src="' . $settings['banner_badge_image']['url'] . '"></div>';
     805                        echo '<div class="wlbanner-badgeimage"><img src="' . esc_url($settings['banner_badge_image']['url']) . '"></div>';
    806806                    }
    807807                ?>
    808808                <div class="banner-content">
    809809                    <?php
    810810                        if( !empty( $settings['banner_title'] ) ){
    811811                            echo '<h2>'.$settings['banner_title'].'</h2>';
    812812                        }
    813813                        if( !empty( $settings['banner_sub_title'] ) ){
    814814                            echo '<h6>'.$settings['banner_sub_title'].'</h6>';
    815815                        }
    816816                        if( !empty( $settings['banner_offer'] ) ){
    817817                            echo '<h5>'.$settings['banner_offer'].'<span>'.$settings['banner_offer_tag_line'].'</span></h5>';
    818818                        }
    819819                        if( !empty( $settings['banner_description'] ) ){
    820820                            echo '<p>'.$settings['banner_description'].'</p>';
    821821                        }
    822822
    823823                        if( !empty( $settings['banner_button_txt'] ) ){
    824824                            echo '<a '.$this->get_render_attribute_string( 'url' ).'>'.esc_html__( $settings['banner_button_txt'],'woolentor' ).'</a>';
    825825                        }
    826826                    ?>
    827827                </div>
    828828            </div>
    829829
    830830        <?php
    831831
    832832    }
    833833
    834834}
  • woolentor-addons/trunk/includes/addons/wb_product_image.php

    r3037382 r3044764  
    11<?php
    22namespace Elementor;
    33
    44if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    55
    66class Woolentor_Wb_Product_Image_Widget extends Widget_Base {
    77
    88    public function get_name() {
    99        return 'wl-single-product-image';
    1010    }
    1111
    1212    public function get_title() {
    1313        return __( 'WL: Product Image', 'woolentor' );
    1414    }
    1515
    1616    public function get_icon() {
    1717        return 'eicon-product-images';
    1818    }
    1919
    2020    public function get_categories() {
    2121        return array( 'woolentor-addons' );
    2222    }
    2323
    2424    public function get_help_url() {
    2525        return 'https://woolentor.com/documentation/';
    2626    }
    2727
    2828    public function get_style_depends(){
    2929        return [
    3030            'woolentor-widgets',
    3131        ];
    3232    }
    3333
    3434    public function get_keywords(){
    3535        return ['image','product image','product thumbnail'];
    3636    }
    3737
    3838    protected function register_controls() {
    3939
    4040        // Product Image Style
    4141        $this->start_controls_section(
    4242            'product_image_style_section',
    4343            array(
    4444                'label' => __( 'Image', 'woolentor' ),
    4545                'tab' => Controls_Manager::TAB_STYLE,
    4646            )
    4747        );
    4848           
    4949            $this->add_group_control(
    5050                Group_Control_Border::get_type(),
    5151                [
    5252                    'name' => 'product_image_border',
    5353                    'selector' => '.woocommerce {{WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper,
    5454                    .woocommerce {{WRAPPER}} .flex-viewport',
    5555                ]
    5656            );
    5757
    5858            $this->add_responsive_control(
    5959                'product_image_border_radius',
    6060                [
    6161                    'label' => __( 'Border Radius', 'woolentor' ),
    6262                    'type' => Controls_Manager::DIMENSIONS,
    6363                    'size_units' => [ 'px', '%' ],
    6464                    'selectors' => [
    6565                        '.woocommerce {{WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper,
    6666                        .woocommerce {{WRAPPER}} .flex-viewport' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}; overflow:hidden',
    6767                    ],
    6868                ]
    6969            );
    7070
    7171            $this->add_responsive_control(
    7272                'product_margin',
    7373                [
    7474                    'label' => __( 'Margin', 'woolentor' ),
    7575                    'type' => Controls_Manager::DIMENSIONS,
    7676                    'size_units' => [ 'px', 'em' ],
    7777                    'selectors' => [
    7878                        '.woocommerce {{WRAPPER}} .flex-viewport:not(:last-child)' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
    7979                    ],
    8080                ]
    8181            );
    8282
    8383        $this->end_controls_section();
    8484
    8585        // Product Thumbnails Style
    8686        $this->start_controls_section(
    8787            'product_thumbnails_image_style_section',
    8888            array(
    8989                'label' => __( 'Thumbnails', 'woolentor' ),
    9090                'tab' => Controls_Manager::TAB_STYLE,
    9191            )
    9292        );
    9393
    9494            $this->add_group_control(
    9595                Group_Control_Border::get_type(),
    9696                [
    9797                    'name' => 'product_thumbnails_border',
    9898                    'label' => __( 'Thumbnails Border', 'woolentor' ),
    9999                    'selector' => '.woocommerce {{WRAPPER}} .flex-control-thumbs img',
    100100                ]
    101101            );
    102102
    103103            $this->add_responsive_control(
    104104                'product_thumbnails_border_radius',
    105105                [
    106106                    'label' => __( 'Border Radius', 'woolentor' ),
    107107                    'type' => Controls_Manager::DIMENSIONS,
    108108                    'size_units' => [ 'px', '%' ],
    109109                    'selectors' => [
    110110                        '.woocommerce {{WRAPPER}} .flex-control-thumbs img' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}}',
    111111                    ],
    112112                ]
    113113            );
    114114
    115115            $this->add_control(
    116116                'product_thumbnails_spacing',
    117117                [
    118118                    'label' => __( 'Spacing', 'woolentor' ),
    119119                    'type' => Controls_Manager::SLIDER,
    120120                    'size_units' => [ 'px', 'em' ],
    121121                    'selectors' => [
    122122                        '.woocommerce {{WRAPPER}} .flex-control-thumbs li' => 'padding-right: calc({{SIZE}}{{UNIT}} / 2); padding-left: calc({{SIZE}}{{UNIT}} / 2); padding-bottom: {{SIZE}}{{UNIT}}',
    123123                        '.woocommerce {{WRAPPER}} .flex-control-thumbs' => 'margin-right: calc(-{{SIZE}}{{UNIT}} / 2); margin-left: calc(-{{SIZE}}{{UNIT}} / 2)',
    124124                    ],
    125125                ]
    126126            );
    127127
    128128        $this->end_controls_section();
    129129
    130130    }
    131131
    132132
    133133    protected function render( $instance = [] ) {
    134134
    135135        $settings   = $this->get_settings_for_display();
    136136        global $product;
    137137        $product = wc_get_product();
    138138
    139139        if( woolentor_is_preview_mode() ){
    140140            echo \WooLentor_Default_Data::instance()->default( $this->get_name() );
    141141        } else{
    142142            if ( empty( $product ) ) { return; }
    143143            $current_theme = wp_get_theme();
    144144            /**
    145145             * Hook: woocommerce_before_single_product_summary.
    146146             *
    147147             * @hooked woocommerce_show_product_sale_flash - 10
    148148             * @hooked woocommerce_show_product_images - 20
    149149             */
    150150            if( $current_theme->get( 'TextDomain' ) == 'woostify' ){
    151151                do_action( 'woocommerce_before_single_product_summary' );
    152152                echo '</div></div></div>';
    153             }elseif( $current_theme->get( 'TextDomain' ) == 'blocksy' ){
     153            }elseif( $current_theme->get( 'TextDomain' ) == 'blocksy' || woolentor_current_theme_is_fse()){
    154154                woocommerce_show_product_sale_flash();
    155155                woocommerce_show_product_images();
    156156            }else{
    157157                do_action( 'woocommerce_before_single_product_summary' );
    158158            }
    159159
    160160        }
    161161
    162162    }
    163163
    164164}
  • woolentor-addons/trunk/includes/admin/include/class.template-manager.php

    r3037382 r3044764  
    11<?php 
    22if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    33require( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/include/class.template_cpt.php' );
    44require( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/include/template-library/manager.php' );
    55
    66class Woolentor_Template_Manager{
    77
    88    const CPTTYPE = 'woolentor-template';
    99    const CPT_META = 'woolentor_template_meta';
    1010    public static $language_code = '';
    1111
    1212    private static $_instance = null;
    1313    public static function instance(){
    1414        if( is_null( self::$_instance ) ){
    1515            self::$_instance = new self();
    1616        }
    1717        return self::$_instance;
    1818    }
    1919
    2020    function __construct(){
    2121        Woolentor_Template_CPT::instance();
    2222
    2323        add_action('wp_loaded', function(){
    2424            self::$language_code = apply_filters('woolentor_current_language_code', 'en');
    2525        } );
    2626
    2727        //Add Menu
    2828        add_action( 'admin_menu', [ $this, 'admin_menu' ], 225 );
    2929
    3030        // Load Scripts
    3131        add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
    3232
    3333        // Print template edit popup.
    3434        add_action( 'admin_footer', [ $this, 'print_popup' ] );
    3535
    3636        // Template type column.
    3737        add_action( 'manage_' . self::CPTTYPE . '_posts_columns', [ $this, 'manage_columns' ] );
    3838        add_action( 'manage_' . self::CPTTYPE . '_posts_custom_column', [ $this, 'columns_content' ], 10, 2 );
    3939
    4040        // Print template tabs.
    4141        add_filter( 'views_edit-' . self::CPTTYPE, [ $this, 'print_tabs' ] );
    4242
    4343        // query filter
    4444        add_filter( 'parse_query', [ $this, 'query_filter' ] );
    4545       
    4646        // Post Row Action
    4747        add_filter( 'post_row_actions', [ $this, 'row_actions' ], 10, 2 );
    4848
    4949        add_filter('theme_'.self::CPTTYPE.'_templates', [ $this, 'add_page_templates' ], 999, 4 );
    5050
    5151        // Template store ajax action
    5252        add_action( 'wp_ajax_woolentor_template_store', [ $this, 'template_store_request' ] );
    5353
    5454        // Get template data Ajax action
    5555        add_action( 'wp_ajax_woolentor_get_template', [ $this, 'get_post_By_id' ] );
    5656
    5757        // Manage Template Default Status
    5858        add_action( 'wp_ajax_woolentor_manage_default_template', [ $this, 'manage_template_status' ] );
    5959
    6060        // Template Import
    6161        add_action( 'wp_ajax_woolentor_import_template', [ $this, 'template_import' ] );
    6262       
    6363    }
    6464
    6565    /**
    6666     * [admin_menu] Add Post type Submenu
    6767     *
    6868     * @return void
    6969     */
    7070    public function admin_menu(){
    7171        $link_custom_post = 'edit.php?post_type=' . self::CPTTYPE;
    7272        add_submenu_page(
    7373            'woolentor_page',
    7474            esc_html__('Template Builder', 'woolentor'),
    7575            esc_html__('Template Builder', 'woolentor'),
    7676            'manage_options',
    7777            $link_custom_post,
    7878            NULL
    7979        );
    8080    }
    8181
    8282    /**
    8383     * Manage Post Table columns
    8484     *
    8585     * @param [array] $columns
    8686     * @return array
    8787     */
    8888    public function manage_columns( $columns ) {
    8989
    9090        $column_author  = $columns['author'];
    9191        $column_date    = $columns['date'];
    9292
    9393        unset( $columns['date'] );
    9494        unset( $columns['author'] );
    9595
    9696        $columns['type']        = esc_html__('Type', 'woolentor');
    9797        $columns['setdefault']  = esc_html__('Default', 'woolentor');
    9898        $columns['author']      = esc_html( $column_author );
    9999        $columns['date']        = esc_html( $column_date );
    100100
    101101        return $columns;
    102102    }
    103103
    104104    /**
    105105     * Manage Custom column content
    106106     *
    107107     * @param [string] $column_name
    108108     * @param [int] $post_id
    109109     * @return void
    110110     */
    111111    public function columns_content( $column_name, $post_id ) {
    112112        $tmpType = get_post_meta( $post_id, 'woolentor_template_meta_type', true );
    113113
    114114        if( !array_key_exists( $tmpType, self::get_template_type() ) ){
    115115            return;
    116116        }
    117117
    118118        // Tabs Group
    119119        if( strpos( $tmpType, 'cart' ) !== false ){
    120120            $tmpTypeGroup = 'cart';
    121121        }else if( strpos( $tmpType, 'myaccount' ) !== false ){
    122122            $tmpTypeGroup = 'myaccount';
    123123        }else if( strpos( $tmpType, 'checkout' ) !== false ){
    124124            $tmpTypeGroup = 'checkout';
    125125        }else{
    126126            $tmpTypeGroup = $tmpType;
    127127        }
    128128
    129129        if( $column_name === 'type' ){
    130130            $tabs = '';
    131131            echo isset( self::get_template_type()[$tmpType] ) ? '<a class="column-tmptype" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$tmpType.'&tabs='.$tmpTypeGroup.'">'.self::get_template_type()[$tmpType]['label'].'</a>' : '-';
    132132        }elseif( $column_name === 'setdefault' ){
    133133
    134134            $value = $this->get_template_id( self::get_template_type()[$tmpType]['optionkey'] );
    135135            $checked = checked( $value, $post_id, false );
    136136
    137137            echo '<label class="woolentor-default-tmp-status-switch" id="woolentor-default-tmp-status-'.esc_attr( $tmpType ).'-'.esc_attr( $post_id ).'"><input class="woolentor-status-'.esc_attr( $tmpType ).'" id="woolentor-default-tmp-status-'.esc_attr( $tmpType ).'-'.esc_attr( $post_id ).'" type="checkbox" value="'.esc_attr( $post_id ).'" '.$checked.'/><span><span>'.esc_html__('NO','woolentor').'</span><span>'.esc_html__('YES','woolentor').'</span></span><a>&nbsp;</a></label>';
    138138
    139139        }
    140140
    141141    }
    142142
    143143    /**
    144144     * Check WooLentor template screen
    145145     *
    146146     * @return boolean
    147147     */
    148148    private function is_current_screen() {
    149149        global $pagenow, $typenow;
    150150        return 'edit.php' === $pagenow && self::CPTTYPE === $typenow;
    151151    }
    152152
    153153    /**
    154154     * Manage Template filter by template type
    155155     *
    156156     * @param \WP_Query $query
    157157     * @return void
    158158     */
    159159    public function query_filter( \WP_Query $query ) {
    160160        if ( ! is_admin() || ! $this->is_current_screen() || ! empty( $query->query_vars['meta_key'] ) ) {
    161161            return;
    162162        }
    163163
    164164        if( isset( $_GET['template_type'] ) && $_GET['template_type'] != '' && $_GET['template_type'] != 'all') {
    165165            $type = isset( $_GET['template_type'] ) ? sanitize_key( $_GET['template_type'] ) : '';
    166166
    167167            if ( ( 'emails' === $type ) && ( 'on' == woolentor_get_option( 'enable', 'woolentor_email_customizer_settings', 'off' ) ) ) {
    168168                $emails = woolentor_wc_get_emails( 'id' );
    169169                $emails = array_map( function ( $id ) { return 'email_' . $id; }, $emails );
    170170
    171171                $meta_query = [
    172172                    'relation' => 'OR'
    173173                ];
    174174
    175175                foreach ( $emails as $email ) {
    176176                    $meta_query[] = [
    177177                        'key'     => self::CPT_META . '_type',
    178178                        'value'   => $email,
    179179                        'compare' => '=',
    180180                    ];
    181181                }
    182182                $query->query_vars['meta_query'] = $meta_query;
    183183
    184184            } else {
    185185                $query->query_vars['meta_key']     = self::CPT_META . '_type';
    186186                $query->query_vars['meta_value']   = $type;
    187187                $query->query_vars['meta_compare'] = '=';
    188188            }
    189189        } else {
    190190            // Meta query to fetch only the posts that doest not containt the meta key '_woolentor_order_bump'
    191191            $query->query_vars['meta_query'] = [
    192192                [
    193193                    'key'     => '_woolentor_order_bump',
    194194                    'compare' => 'NOT EXISTS', 
    195195                ],
    196196            ];
    197197        }
    198198    }
    199199
    200200    /**
    201201     * Manage Row Action
    202202     *
    203203     * @param [array] $actions
    204204     * @param [object] $post
    205205     * @return array
    206206     */
    207207    public function row_actions( $actions, $post ) {
    208208        if ( $post->post_type == self::CPTTYPE ) {
    209209
    210210            if( $this->edit_with_gutenberg( $post->ID ) ) {
    211211                $actions['woolentor_edit_with_gutenberg'] = '<a href="'.get_edit_post_link($post->ID).'">'.esc_html__('Edit With Gutenberg', 'woolentor').'</a>';
    212212            }
    213213
    214214        }
    215215        return $actions;
    216216    }
    217217
    218218    /**
    219219     * Add page templates.
    220220     *
    221221     * Fired by `theme_self::CPTTYPE_templates` filter.
    222222     *
    223223     * @param array $page_templates Array of page templates. Keys are filenames,
    224224     *
    225225     * @param \WP_Theme $wp_theme
    226226     * @param \WP_Post $post
    227227     *
    228228     * @return array Page templates.
    229229     */
    230230    public function add_page_templates( $page_templates, $wp_theme, $post ){
    231231        unset( $page_templates['elementor_theme'] );
    232232
    233233        $page_templates['woolentor_canvas']    = esc_html__('WooLentor Canvas', 'woolentor');
    234234        $page_templates['woolentor_fullwidth'] = esc_html__('WooLentor Full width', 'woolentor');
    235235
    236236        return $page_templates;
    237237    }
    238238
    239239    /**
    240240     * Check edit with gutenberg
    241241     *
    242242     * @param [ind] $id
    243243     * @return boolean
    244244     */
    245245    public function edit_with_gutenberg( $id ){
    246246        $editor = get_post_meta( $id, 'woolentor_template_meta_editor', true );
    247247        if( ! empty( $editor ) && $editor === 'gutenberg' ){
    248248            return true;
    249249        }else{
    250250            return false;
    251251        }
    252252    }
    253253
    254254    /**
    255255     * Get Template Menu Tabs
    256256     *
    257257     * @return array
    258258     */
    259259    public static function get_tabs(){
    260260
    261261        $tabs = [
    262262            'shop' => [
    263263                'label' =>__('Shop','woolentor')
    264264            ],
    265265            'archive' => [
    266266                'label' =>__('Archive','woolentor')
    267267            ],
    268268            'single' => [
    269269                'label' => __('Single','woolentor')
    270270            ],
    271271        ];
    272272        return apply_filters( 'woolentor_template_menu_tabs', $tabs );
    273273
    274274    }
    275275
    276276    /**
    277277     * Get Template Type
    278278     *
    279279     * @return array
    280280     */
    281281    public static function get_template_type(){
    282282
    283283        $template_type = [
    284284            'shop'  => [
    285285                'label'     =>__('Shop','woolentor'),
    286286                'optionkey' => 'productarchivepage'
    287287            ],
    288288            'archive' => [
    289289                'label'     =>__('Archive','woolentor'),
    290290                'optionkey' =>'productallarchivepage'
    291291            ],
    292292            'single' => [
    293293                'label'     => __('Single','woolentor'),
    294294                'optionkey' => 'singleproductpage'
    295295            ],
    296296        ];
    297297        return apply_filters( 'woolentor_template_types', $template_type );
    298298
    299299    }
    300300
    301301    /**
    302302     * Get sample design from library
    303303     *
    304304     * @return array
    305305     */
    306306    public function get_template_library(){
    307307
    308308        // Delete transient data
    309309        if ( get_option( 'woolentor_do_activation_library_cache', FALSE ) ) {
    310310            delete_transient( 'woolentor_template_info' );
    311311            delete_option('woolentor_do_activation_library_cache');
    312312        }
    313313
    314314        $elementor_template = Woolentor_Template_Library_Manager::get_templates_info();
    315315        $gutenberg_template = Woolentor_Template_Library_Manager::get_gutenberg_templates_info();
    316316        $get_data = (!empty( $elementor_template['templates'] ) && !empty( $gutenberg_template['templates'] )) ?  array_merge($elementor_template['templates'],$gutenberg_template['templates']) : [];
    317317        $data = [];
    318318
    319319        if( !empty( $get_data ) ){
    320320            foreach( $get_data as $template ){
    321321
    322322                if( $template['post_type'] === 'woolentor-template' ){
    323323                    $data[$template['type']][] = $template;
    324324                    if( $template['shareId'] == 'Shop' ){
    325325                        $data['archive'][] = $template;
    326326                    }
    327327                }else{
    328328                    if( $template['shareId'] == 'Shop'){
    329329                        $data['shop'][] = $template;
    330330                        $data['archive'][] = $template;
    331331                    }else if($template['shareId'] == 'Product Details'){
    332332                        $data['single'][] = $template;
    333333                    }else if($template['shareId'] == 'Cart'){
    334334                        $data['cart'][] = $template;
    335335                    }else if( $template['shareId'] == 'Checkout Page' ){
    336336                        $data['checkout'][] = $template;
    337337                    }
    338338                    else if( $template['shareId'] == 'My Account' ){
    339339                        $data['myaccount'][] = $template;
    340340                    }
    341341                }
    342342
    343343            }
    344344        }
    345345
    346346        return $data;
    347347
    348348    }
    349349
    350350    /**
    351351     * Print Template edit popup
    352352     *
    353353     * @return void
    354354     */
    355355    public function print_popup() {
    356356        if( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'woolentor-template' ){
    357357            include_once( WOOLENTOR_ADDONS_PL_PATH. 'includes/admin/templates/template_edit_popup.php' );
    358358        }
    359359    }
    360360
    361361    /**
    362362     * Print Admin Tab
    363363     *
    364364     * @param [array] $views
    365365     * @return array
    366366     */
    367367    public function print_tabs( $views ) {
    368368        $active_class = 'nav-tab-active';
    369369        $current_type = '';
    370370        if( isset( $_GET['tabs'] ) ){
    371371            $active_class = '';
    372372            $current_type = sanitize_key( $_GET['tabs'] );
    373373        }
    374374        ?>
    375375            <div id="woolentor-template-tabs-wrapper" class="nav-tab-wrapper">
    376376                <div class="woolentor-menu-area">
    377377                    <a class="nav-tab <?php echo $active_class; ?>" href="edit.php?post_type=<?php echo self::CPTTYPE; ?>"><?php echo __('All','woolentor');?></a>
    378378                    <?php
    379379                        foreach( self::get_tabs() as $tabkey => $tab ){
    380380                            $active_class = ( $current_type == $tabkey ? 'nav-tab-active' : '' );
    381381                            echo '<a class="nav-tab '.$active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$tabkey.'&tabs='.$tabkey.'">'.$tab['label'].'</a>';
    382382                        }
    383383                    ?>
    384384                </div>
    385385                <div class="woolentor-template-importer">
    386386                    <button type="button" class="button button-primary">
    387387                        <span class="dashicons dashicons-download"></span>
    388388                        <span class="woolentor-template-importer-btn-text"><?php esc_html_e('Import Previously Assigned Templates','woolentor');?></span>
    389389                    </button>
    390390                </div>
    391391            </div>
    392392            <?php
    393393                if( !empty( $current_type ) && isset( self::get_tabs()[$current_type]['submenu'] ) ){
    394394
    395395                    $sub_tab_active_class = 'woolentor-sub-tab-active';
    396396                    $current_sub_tab = '';
    397397                    if( isset( $_GET['tab'] ) ){
    398398                        $sub_tab_active_class = '';
    399399                        $current_sub_tab = sanitize_key( $_GET['tab'] );
    400400                    }
    401401
    402402                    echo '<div class="woolentor-template-subtabs"><ul>';
    403403                        echo '<li><a class="woolentor-sub-tab '.$sub_tab_active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$current_type.'&tabs='.$current_type.'">'.self::get_tabs()[$current_type]['label'].'</a></li>';
    404404
    405405                        foreach( self::get_tabs()[$current_type]['submenu'] as $subtabkey => $subtab ){
    406406                            $sub_tab_active_class = ( $current_sub_tab == $subtabkey ? 'woolentor-sub-tab-active' : '' );
    407407                            echo '<li><a class="woolentor-sub-tab '.$sub_tab_active_class.'" href="edit.php?post_type='.self::CPTTYPE.'&template_type='.$subtabkey.'&tabs='.$current_type.'&tab='.$subtabkey.'">'.$subtab['label'].'</a></li>';
    408408                        }
    409409
    410410                    echo '</ul></div>';
    411411
    412412                }
    413413            ?>
    414414        <?php
    415415        return $views;
    416416    }
    417417
    418418    /**
    419419     * Manage Scripts
    420420     *
    421421     * @param [string] $hook
    422422     * @return void
    423423     */
    424424    public function enqueue_scripts( $hook ){
    425425
    426426        if( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'woolentor-template' ){
    427427
    428428            // CSS
    429429            wp_enqueue_style( 'woolentor-template-edit-manager', WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/css/template_edit_manager.css' );
    430430            wp_enqueue_style('woolentor-sweetalert');
    431431            wp_enqueue_style('slick', WOOLENTOR_ADDONS_PL_URL . 'assets/css/slick.css' );
    432432           
    433433            // JS
    434434            wp_enqueue_script('woolentor-sweetalert');
    435435            wp_enqueue_script('slick', WOOLENTOR_ADDONS_PL_URL . 'assets/js/slick.min.js', array('jquery'), WOOLENTOR_VERSION, true );
    436436            wp_enqueue_script( 'woolentor-template-edit-manager', WOOLENTOR_ADDONS_PL_URL . 'includes/admin/assets/js/template_edit_manager.js', array('jquery', 'wp-util'), WOOLENTOR_VERSION, true );
    437437
    438438            $localize_data = [
    439439                'ajaxurl'   => admin_url( 'admin-ajax.php' ),
    440440                'prostatus' => is_admin() ? is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') : false,
    441441                'nonce'     => wp_create_nonce('woolentor_tmp_nonce'),
    442442                'templatetype' => self::get_template_type(),
    443443                'haselementor' => woolentor_is_elementor_editor() ? 'yes' : 'no',
    444444                'editor' => [
    445445                    'elementor' => __('Elementor','woolentor'),
    446446                    'gutenberg' => __('Gutenberg','woolentor')
    447447                ],
    448448                'templatelist' => $this->get_template_library(),
    449449                'adminURL'  => admin_url(),
    450450                'labels' => [
    451451                    'fields'=>[
    452452                        'name'  => [
    453453                            'title'       => __('Name','woolentor'),
    454454                            'placeholder' => __('Enter a template name','woolentor')
    455455                        ],
    456456                        'type'       => __('Type','woolentor'),
    457457                        'editor'     => __('Select Editor','woolentor'),
    458458                        'setdefault' => __('Set Default','woolentor'),
    459459                    ],
    460460                    'head' => __('Template Settings','woolentor'),
    461461                    'buttons' => [
    462462                        'elementor' => [
    463463                            'label' => __('Edit With Elementor','woolentor'),
    464464                            'link'  => '#'
    465465                        ],
    466466                        'gutenberg' => [
    467467                            'label' => __('Edit With Gutenberg','woolentor'),
    468468                            'link'  => '#'
    469469                        ],
    470470                        'save' => [
    471471                            'label'  => __('Save Settings','woolentor'),
    472472                            'saving' => __('Saving...','woolentor'),
    473473                            'saved'  => __('All Data Saved','woolentor'),
    474474                            'link'   => '#'
    475475                        ]
    476476                    ],
    477477                    'sampledata' => [
    478478                        'visibility' => __('Sample Design','woolentor'),
    479479                        'elementor'  => __('Elementor','woolentor'),
    480480                        'gutenberg'  => __('Gutenberg','woolentor'),
    481481                        'pro'        => __('Pro','woolentor'),
    482482                    ],
    483483                    'importer' =>[
    484484                        'button' => [
    485485                            'importing' => __('Assigned Template Importing..','woolentor'),
    486486                            'imported'  => __('All Assigned Template has been imported','woolentor'),
    487487                        ],
    488488                        'message' =>[
    489489                            'title'     => __( 'Are you sure?','woolentor' ),
    490490                            'message'   => __( 'It will import those templates that were created from the "Templates" menu of Elementor and assigned to corresponding WooCommerce pages.','woolentor' ) ,
    491491                            'yesbtn'    => __('Yes','woolentor'),
    492492                            'cancelbtn' => __('Cancel','woolentor')
    493493                        ]
    494494                    ]
    495495                ]
    496496            ];
    497497            wp_localize_script( 'woolentor-template-edit-manager', 'WLTMCPT', $localize_data );
    498498
    499499        }
    500500
    501501    }
    502502
    503503    /**
    504504     * Store Template
    505505     *
    506506     * @return void
    507507     */
    508508    public function template_store_request(){
    509509        if ( isset( $_POST ) ) {
    510510
     511            if( !(current_user_can('manage_options') || current_user_can('edit_others_posts')) ){
     512                $errormessage = array(
     513                    'message'  => __('You are unauthorize to adding template!','woolentor')
     514                );
     515                wp_send_json_error( $errormessage );
     516            }
     517
    511518            $nonce = $_POST['nonce'];
    512519            if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) {
    513520                $errormessage = array(
    514521                    'message'  => __('Nonce Varification Faild !','woolentor')
    515522                );
    516523                wp_send_json_error( $errormessage );
    517524            }
    518525
    519526            $title      = !empty( $_POST['title'] ) ? sanitize_text_field( $_POST['title'] ) : esc_html__( 'WooLentor template '.time(), 'woolentor' );
    520527            $tmpid      = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : '';
    521528            $tmpType    = !empty( $_POST['tmpType'] ) ? sanitize_text_field( $_POST['tmpType'] ) : 'single';
    522529            $tmpEditor  = !empty( $_POST['tmpEditor'] ) ? sanitize_text_field( $_POST['tmpEditor'] ) : 'gutenberg';
    523530            $setDefault = !empty( $_POST['setDefault'] ) ? sanitize_text_field( $_POST['setDefault'] ) : 'no';
    524531            $sampleTmpID = !empty( $_POST['sampleTmpID'] ) ? sanitize_text_field( $_POST['sampleTmpID'] ) : '';
    525532            $sampleTmpBuilder = !empty( $_POST['sampleTmpBuilder'] ) ? sanitize_text_field( $_POST['sampleTmpBuilder'] ) : '';
    526533
    527534            $data = [
    528535                'title'         => $title,
    529536                'id'            => $tmpid,
    530537                'tmptype'       => $tmpType,
    531538                'setdefaullt'   => $setDefault,
    532539                'sampletmpid'   => $sampleTmpID,
    533540                'sampletmpbuilder' => $sampleTmpBuilder
    534541            ];
    535542
    536543            if( empty( $tmpid ) ){
    537544                $data['tmpeditor'] = $tmpEditor;
    538545            }
    539546
    540547            if( $tmpid ){
    541548                $this->update( $data );
    542549            }else{
    543550                $this->insert( $data );
    544551            }
    545552
    546553        }else{
    547554            $errormessage = array(
    548555                'message'  => __('Post request dose not found','woolentor')
    549556            );
    550557            wp_send_json_error( $errormessage );
    551558        }
    552559
    553560    }
    554561
    555562    /**
    556563     * Template Insert
    557564     *
    558565     * @param [array] $data
    559566     * @return void
    560567     */
    561568    public function insert( $data ){
    562569
    563570        $args = [
    564571            'post_type'    => self::CPTTYPE,
    565572            'post_status'  => $data['tmptype'] == 'popup' ? 'draft' : 'publish',
    566573            'post_title'   => $data['title'],
    567574        ];
    568575        $new_post_id = wp_insert_post( $args );
    569576
    570577        if( $new_post_id ){
    571578            $return = array(
    572579                'message'  => __('Template has been inserted','woolentor'),
    573580                'id'       => $new_post_id,
    574581            );
    575582
    576583            // Meta data
    577584            $template_slug          = ( $data['tmpeditor'] === 'elementor' ) ? 'elementor_header_footer' : 'woolentor_fullwidth';
    578585            $default_page_template  = apply_filters( 'woolentor_default_page_template', $template_slug, $data['tmptype'] );
    579586
    580587            update_post_meta( $new_post_id, self::CPT_META . '_type', $data['tmptype'] );
    581588            update_post_meta( $new_post_id, self::CPT_META . '_editor', $data['tmpeditor'] );
    582589            update_post_meta( $new_post_id, '_wp_page_template', $default_page_template );
    583590
    584591            if( $data['tmpeditor'] === 'elementor' ){
    585592                update_post_meta( $new_post_id, '_elementor_edit_mode', 'builder');
    586593            }
    587594
    588595            // Sample data import
    589596            $this->sampleTemplateImport($data, $new_post_id);
    590597
    591598            // Update Default template if user is set default
    592599            if( $data['setdefaullt'] == 'yes' ) {
    593600                $data['id'] = $new_post_id;
    594601                $this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$data['tmptype']]['optionkey'], $new_post_id, $data );
    595602            }
    596603
    597604            wp_send_json_success( $return );
    598605
    599606        }else{
    600607            $errormessage = array(
    601608                'message'  => __('Some thing is worng !','woolentor')
    602609            );
    603610            wp_send_json_error( $errormessage );
    604611        }
    605612
    606613    }
    607614
    608615    /**
    609616     * Template Update
    610617     *
    611618     * @param [array] $data
    612619     * @return void
    613620     */
    614621    public function update( $data ){
    615622
    616623        $update_post_args = array(
    617624            'ID'         => $data['id'],
    618625            'post_title' => $data['title'],
    619626        );
    620627        wp_update_post( $update_post_args );
    621628
    622629        // Update Meta data
    623630        update_post_meta( $data['id'], self::CPT_META . '_type', $data['tmptype'] );
    624631
    625632        // Sample data import
    626633        $this->sampleTemplateImport( $data, $data['id'] );
    627634
    628635        // Update Default template if user is set default
    629636        if( $data['setdefaullt'] == 'yes' ) {
    630637            $this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$data['tmptype']]['optionkey'], $data['id'], $data );
    631638        }else{
    632639            $this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$data['tmptype']]['optionkey'], '0', $data );
    633640        }
    634641
    635642        $return = array(
    636643            'message'  => __('Template has been updated','woolentor'),
    637644            'id'       => $data['id']
    638645        );
    639646        wp_send_json_success( $return );
    640647
    641648    }
    642649
    643650    /**
    644651     * Sample Desing Importer
    645652     *
    646653     * @return void
    647654     */
    648655    public function sampleTemplateImport($data, $post_id){
    649656
    650657        if( !empty( $data['sampletmpid'] ) ){
    651658
    652659            $response_data = ($data['sampletmpbuilder'] == 'elementor') ? Woolentor_Template_Library_Manager::get_template_data('template', $data['sampletmpid']) : Woolentor_Template_Library_Manager::get_template_data('gutenberg', $data['sampletmpid']);
    653660
    654661            $this->popBuilderSettings( $response_data, $post_id );
    655662
    656663            if( $data['sampletmpbuilder'] == 'elementor' ){
    657664                $json_value     = wp_slash( wp_json_encode( $response_data['content']['content'] ) );
    658665                update_post_meta( $post_id, '_elementor_data', $json_value );
    659666            }else{
    660667                wp_update_post( ['ID' => $post_id, 'post_content'=> $response_data['content']] );
    661668            }
    662669        }
    663670       
    664671    }
    665672
    666673    /**
    667674     * Add PopupBuilder Additional Settings
    668675     *
    669676     * @param [type] $data
    670677     * @param [type] $post_id
    671678     * @return void
    672679     */
    673680    public function popBuilderSettings( $data, $post_id ){
    674681        if( !empty( $data['type'] ) && $data['type'] == 'popup' ){
    675682            update_post_meta( $post_id, '_wlpb_popup_seetings', $data['popup_settings']);
    676683        }
    677684    }
    678685
    679686    /**
    680687     * Get Template data by id
    681688     *
    682689     * @return void
    683690     */
    684691    public function get_post_By_id(){
    685692        if ( isset( $_POST ) ) {
     693
     694            if( !(current_user_can('manage_options') || current_user_can('edit_others_posts')) ){
     695                $errormessage = array(
     696                    'message'  => __('You are unauthorize to adding template!','woolentor')
     697                );
     698                wp_send_json_error( $errormessage );
     699            }
    686700
    687701            $nonce = $_POST['nonce'];
    688702            if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) {
    689703                $errormessage = array(
    690704                    'message'  => __('Nonce Varification Faild !','woolentor')
    691705                );
    692706                wp_send_json_error( $errormessage );
    693707            }
    694708
    695709            $tmpid = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : '';
    696710            $postdata = get_post( $tmpid );
    697711            $tmpType = !empty( get_post_meta( $tmpid, self::CPT_META . '_type', true ) ) ? get_post_meta( $tmpid, self::CPT_META . '_type', true ) : 'single';
    698712            $tmpEditor = !empty( get_post_meta( $tmpid, self::CPT_META . '_editor', true ) ) ? get_post_meta( $tmpid, self::CPT_META . '_editor', true ) : 'elementor';
    699713            $data = [
    700714                'tmpTitle'   => $postdata->post_title,
    701715                'tmpType'    => $tmpType,
    702716                'tmpEditor'  => $tmpEditor,
    703717                'setDefault' => isset( self::get_template_type()[$tmpType]['optionkey'] ) ? $this->get_template_id(self::get_template_type()[$tmpType]['optionkey']) : '0',
    704718            ];
    705719            wp_send_json_success( $data );
    706720
    707721        }else{
    708722            $errormessage = array(
    709723                'message'  => __('Some thing is worng !','woolentor')
    710724            );
    711725            wp_send_json_error( $errormessage );
    712726        }
    713727
    714728    }
    715729
    716730    /**
    717731     * set_default_template_type function
    718732     *
    719733     * @return void
    720734     */
    721735    public function manage_template_status(){
    722736
    723737        if ( isset( $_POST ) ) {
    724738
     739            if( !(current_user_can('manage_options') || current_user_can('edit_others_posts')) ){
     740                $errormessage = array(
     741                    'message'  => __('You are unauthorize to adding template!','woolentor')
     742                );
     743                wp_send_json_error( $errormessage );
     744            }
     745
    725746            $nonce = $_POST['nonce'];
    726747            if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) {
    727748                $errormessage = array(
    728749                    'message'  => __('Nonce Varification Faild !','woolentor')
    729750                );
    730751                wp_send_json_error( $errormessage );
    731752            }
    732753
    733754            $tmpid      = !empty( $_POST['tmpId'] ) ? sanitize_text_field( $_POST['tmpId'] ) : '0';
    734755            $tmpType    = !empty( $_POST['tmpType'] ) ? sanitize_text_field( $_POST['tmpType'] ) : 'single';
    735756
    736757            $data = [
    737758                'id'            => $tmpid,
    738759                'tmptype'       => $tmpType,
    739760                'setdefaullt'   => ( $tmpid == '0' ) ? 'no' : 'yes',
    740761            ];
    741762
    742763            $this->update_option( 'woolentor_woo_template_tabs', self::get_template_type()[$tmpType]['optionkey'], $tmpid, $data );
    743764
    744765            $return = array(
    745766                'message'  => __('Template has been updated','woolentor'),
    746767                'id'       => $tmpid
    747768            );
    748769
    749770            wp_send_json_success( $return );
    750771
    751772        }else{
    752773            $errormessage = array(
    753774                'message'  => __('Some thing is worng !','woolentor')
    754775            );
    755776            wp_send_json_error( $errormessage );
    756777        }
    757778
    758779    }
    759780
    760781    /**
    761782     * option value Manage
    762783     *
    763784     * @return string
    764785     */
    765786
    766787     public function template_id_manage( $option_value, $template_data ){
    767788        $option_value = !empty( $option_value ) ? maybe_unserialize( $option_value ) : [];
    768789
    769790        $data = [ 'lang' => [] ];
    770791
    771792        if( is_array( $option_value ) && isset( $option_value['lang'] ) && is_array( $option_value['lang'] ) && array_key_exists( self::$language_code, $option_value['lang'] ) ){
    772793            $option_value['lang'][self::$language_code]['template_id'] = $template_data['id'];
    773794            $option_value['lang'][self::$language_code]['default'] = $template_data['setdefaullt'];
    774795            $data = $option_value;
    775796        }else{
    776797            if( is_array( $option_value ) && isset( $option_value['lang'] ) ){
    777798                $data['lang'] = $option_value['lang'];
    778799            }
    779800            $data['lang'][self::$language_code] = [
    780801                'template_id' => $template_data['id'],
    781802                'default' => $template_data['setdefaullt'],
    782803            ];
    783804        }
    784805        return serialize( $data );
    785806       
    786807    }
    787808
    788809    /**
    789810     * get_template_id function
    790811     *
    791812     * @return [int]
    792813     */
    793814    public function get_template_id( $template_key, $callback = false ){
    794815        $option_value = ( $callback && is_callable( $callback ) ) ? $callback( $template_key, 'woolentor_woo_template_tabs', '0' ) : woolentor_get_option( $template_key, 'woolentor_woo_template_tabs', '0' );
    795816        $option_value = maybe_unserialize( $option_value );
    796817        $template_id = 0;
    797818        if( is_array( $option_value ) && array_key_exists( self::$language_code, $option_value['lang'] ) ){
    798819            $template_id = ( $option_value['lang'][self::$language_code]['template_id'] != '0' ) ? $option_value['lang'][self::$language_code]['template_id'] : $option_value['lang']['en']['template_id'];
    799820        }else{
    800821            if( is_array( $option_value ) ){
    801822                $template_id = isset( $option_value['lang']['en']['template_id'] ) ? $option_value['lang']['en']['template_id'] : '0';
    802823            }else{
    803824                $template_id = $option_value;
    804825            }
    805826        }
    806827        return $template_id;
    807828    }
    808829
    809830    /**
    810831     * update_option
    811832     *
    812833     * @return void
    813834     */
    814835    public function update_option( $section, $option_key, $new_value, $template_data ){
    815836        if( $new_value === Null ){ $new_value = ''; }
    816837        $options_datad = is_array( get_option( $section ) ) ? get_option( $section ) : array();
    817838        if( defined( 'WOOLENTOR_VERSION_PRO' ) && ( '2.0.6' >= WOOLENTOR_VERSION_PRO ) ){
    818839            $options_datad[$option_key] = $new_value;
    819840        }else{
    820841            $options_data_value = isset( $options_datad[$option_key] ) ? $options_datad[$option_key] : '';
    821842            $options_datad[$option_key] = $this->template_id_manage( $options_data_value, $template_data );
    822843        }
    823844        update_option( $section, $options_datad );
    824845    }
    825846
    826847    /**
    827848     * Template Importer
    828849     *
    829850     * @return void
    830851     */
    831852    public function template_import(){
    832853        if ( isset( $_POST ) ) {
     854           
     855            if( !(current_user_can('manage_options') || current_user_can('edit_others_posts')) ){
     856                $errormessage = array(
     857                    'message'  => __('You are unauthorize to adding template!','woolentor')
     858                );
     859                wp_send_json_error( $errormessage );
     860            }
    833861           
    834862            $nonce = $_POST['nonce'];
    835863            if ( ! wp_verify_nonce( $nonce, 'woolentor_tmp_nonce' ) ) {
    836864                $errormessage = array(
    837865                    'message'  => __('Nonce Varification Faild !','woolentor')
    838866                );
    839867                wp_send_json_error( $errormessage );
    840868            }
    841869
    842870            foreach( self::get_template_type() as $key => $template_type ){
    843871
    844872                $tmp_id = $this->get_template_id( $template_type['optionkey'] );
    845873
    846874                $get_args = array(
    847875                    'p'         => $tmp_id,
    848876                    'post_type' => 'elementor_library'
    849877                );
    850878                $templates_query = new \WP_Query( $get_args );
    851879                wp_reset_query();
    852880
    853881                if ( $templates_query->have_posts() ) {
    854882
    855883                    $args = array(
    856884                        'ID'        => $tmp_id,
    857885                        'post_type' => self::CPTTYPE,
    858886                    );
    859887                    $update_id = wp_update_post( $args );
    860888
    861889                    if( ! is_wp_error( $update_id ) ){
    862890                        update_post_meta( $update_id, self::CPT_META . '_type', $key );
    863891                    }
    864892
    865893                }
    866894
    867895            }
    868896
    869897            $return = array(
    870898                'message'  => __('Template has been imported','woolentor'),
    871899            );
    872900
    873901            wp_send_json_success( $return );
    874902
    875903        }else{
    876904            $errormessage = array(
    877905                'message'  => __('Some thing is worng !','woolentor')
    878906            );
    879907            wp_send_json_error( $errormessage );
    880908        }
    881909
    882910    }
    883911
    884912
    885913}
    886914
    887915Woolentor_Template_Manager::instance();
  • woolentor-addons/trunk/includes/admin/include/template-library/manager.php

    r3037382 r3044764  
    11<?php 
    22if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    33
    44class Woolentor_Template_Library_Manager{
    55
    66    // Remote URL
    77    const REST_ROUTE_URL = 'https://library.shoplentor.com/wp-json/woolentor';
    88
    99    // Transient Key
    1010    const TRANSIENT_KEYES = [
    1111        'template'  => 'woolentor_template_info',
    1212        'gutenberg' => 'woolentor_gutenberg_template_info',
    1313        'pattern'   => 'woolentor_gutenberg_patterns_info'
    1414    ];
    1515
    1616    // API Endpoint
    1717    const API_ENDPOINT = [
    1818        'template'      => 'v1/templates',
    1919        'singletemplate'=> 'v1/templates/%s',
    2020        'gutenberg'     => 'v1/gutenbergtemplates',
    2121        'pattern'       => 'v1/gutenbergpatterns'
    2222    ];
    2323
    2424    private static $_instance = null;
    2525    /**
    2626     * Class Instance
    2727     */
    2828    public static function instance(){
    2929        if( is_null( self::$_instance ) ){
    3030            self::$_instance = new self();
    3131        }
    3232        return self::$_instance;
    3333    }
    3434
    3535    /**
    3636     * Get Template Endpoint
    3737     */
    3838    public static function get_api_endpoint(){
    3939        if( is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') && function_exists('woolentor_pro_template_endpoint') ){
    4040            return woolentor_pro_template_endpoint();
    4141        }
    4242        return self::get_remote_url('template');
    4343    }
    4444
    4545    /**
    4646     * Get Template API
    4747     * @todo We will remove in Future
    4848     */
    4949    public static function get_api_templateapi(){
    5050        if( is_plugin_active('woolentor-addons-pro/woolentor_addons_pro.php') && function_exists('woolentor_pro_template_url') ){
    5151            return woolentor_pro_template_url();
    5252        }
    5353        return self::get_remote_url('singletemplate');
    5454    }
    5555
    5656    /**
    5757     * Get Remote URL
    5858     *
    5959     * @param [type] $name
    6060     */
    6161    public static function get_remote_url( $name ){
    6262        return sprintf('%s/%s', self::REST_ROUTE_URL, self::API_ENDPOINT[$name]);
    6363    }
    6464
    6565    /**
    6666     * Set data to transient
    6767     *
    6868     * @param string $url
    6969     * @param string $transient_key
    7070     * @param boolean $force_update
    7171     * @return void
    7272     */
    7373    public static function set_templates_info( $url = '', $transient_key = '', $force_update = false ) {
    7474        $transient = get_transient( $transient_key );
    7575        if ( ! $transient || $force_update ) {
    7676            $info = self::get_content_remote_request( $url );
    7777            set_transient( $transient_key, wp_json_encode( $info ), WEEK_IN_SECONDS );
    7878        }
    7979    }
    8080
    8181    /**
    8282     * Get Remote Template List
    8383     *
    8484     * @param [type] $type
    8585     * @param [type] $endpoint
    8686     * @param boolean $force_update
    8787     * @return void
    8888     */
    8989    public static function get_template_remote_data( $type, $endpoint = null, $force_update = false ){
    9090        $transient_key  = self::TRANSIENT_KEYES[$type];
    9191        $endpoint       = $endpoint !== null ? $endpoint : self::get_remote_url($type);
    9292        if ( !get_transient( $transient_key ) || $force_update ) {
    9393            self::set_templates_info( $endpoint, $transient_key, true );
    9494        }
    9595        return is_array( get_transient( $transient_key ) ) ? get_transient( $transient_key ) : json_decode( get_transient( $transient_key ), JSON_OBJECT_AS_ARRAY );
    9696    }
    9797
    9898    /**
    9999     * Get Template List
    100100     *
    101101     * @param boolean $force_update
    102102     * @return void
    103103     */
    104104    public static function get_templates_info($force_update = false) {
    105105        return self::get_template_remote_data('template', self::get_api_endpoint(), $force_update);
    106106    }
    107107
    108108    /**
    109109     * Get Gutenberg Template List
    110110     *
    111111     * @param boolean $force_update
    112112     * @return void
    113113     */
    114114    public static function get_gutenberg_templates_info($force_update = false) {
    115         return self::get_template_remote_data('gutenberg', $force_update);
     115        return self::get_template_remote_data('gutenberg', self::get_remote_url('gutenberg'), $force_update);
    116116    }
    117117
    118118    /**
    119119     * Get Gutenberg Patterns list
    120120     *
    121121     * @param boolean $force_update
    122122     * @return void
    123123     */
    124124    public static function get_gutenberg_patterns_info($force_update = false) {
    125         return self::get_template_remote_data('pattern', $force_update);
     125        return self::get_template_remote_data('pattern', self::get_remote_url('pattern'), $force_update);
    126126    }
    127127
    128128    /**
    129129     * Get Template content by Template ID
    130130     *
    131131     * @param [type] $type template | gutenberg | pattern
    132132     * @param [type] $template_id
    133133     */
    134134    public static function get_template_data( $type, $template_id ){
    135135        $templateurl    = sprintf( '%s/%s', self::get_remote_url($type), $template_id);
    136136        $response_data  = self::get_content_remote_request( $templateurl );
    137137        return $response_data;
    138138    }
    139139
    140140    /**
    141141     * Handle remote request
    142142     *
    143143     * @param [type] $request_url
    144144     */
    145145    public static function get_content_remote_request( $request_url ){
    146146        global $wp_version;
    147147
    148148        $response = wp_remote_get(
    149149            $request_url,
    150150            array(
    151151                'timeout'    => 25,
    152152                'user-agent' => 'WordPress/' . $wp_version . '; ' . home_url()
    153153            )
    154154        );
    155155
    156156        if ( is_wp_error( $response ) || 200 !== (int) wp_remote_retrieve_response_code( $response ) ) {
    157157            return [];
    158158        }
    159159
    160160        $result = json_decode( wp_remote_retrieve_body( $response ), true );
    161161        return $result;
    162162
    163163    }
    164164
    165165
    166166}
  • woolentor-addons/trunk/includes/helper-function.php

    r3037382 r3044764  
    11<?php
    22
    33// Exit if accessed directly
    44if( ! defined( 'ABSPATH' ) ) exit();
    55
    66/**
    77 * [woolentor_is_woocommerce]
    88 * @return [boolean]
    99 */
    1010function woolentor_is_woocommerce() {
    1111    return class_exists( 'WooCommerce' );
    1212}
    1313
    1414/**
    1515 * [woolentor_is_pro]
    1616 * @return [boolean]
    1717 */
    1818function woolentor_is_pro() {
    1919    return class_exists( '\WooLentorPro\Base' );
    2020}
    2121
    2222/**
    2323* Elementor Version check
    2424* @return [boolean]
    2525*/
    2626function woolentor_is_elementor_version( $operator = '<', $version = '2.6.0' ) {
    2727    return defined( 'ELEMENTOR_VERSION' ) && version_compare( ELEMENTOR_VERSION, $version, $operator );
    2828}
    2929
    3030/**
    3131 * Get elementor instance
    3232 * @return [\Elementor\Plugin]
    3333 */
    3434function woolentor_elementor() {
    3535    return \Elementor\Plugin::instance();
    3636}
    3737
    3838/**
    3939* Is Elementor check
    4040* @return [boolean]
    4141*/
    4242function woolentor_is_elementor_editor(){
    4343    return class_exists('\Elementor\Plugin') ? true : false;
    4444}
    4545
    4646/**
    4747* Elementor editor mode
    4848* @return [boolean]
    4949*/
    5050function woolentor_is_elementor_editor_mode(){
    5151    if( woolentor_is_elementor_editor() && \Elementor\Plugin::instance()->editor->is_edit_mode() ){
    5252        return true;
    5353    }else{
    5454        return false;
    5555    }
    5656}
    5757
    5858/**
    5959* Template Preview mode
    6060* @return boolean
    6161*/
    6262function woolentor_is_preview_mode(){
    6363    if( woolentor_is_elementor_editor_mode() || get_post_type() === 'woolentor-template' ){
    6464        return true;
    6565    }else{
    6666        return false;
    6767    }
    6868}
    6969/**
    7070 * Has Elementor action
    7171 *
    7272 * @return [void]
    7373 */
    7474function woolentor_is_elementor_active() {
    7575    return did_action('elementor/loaded');
    7676}
    7777
    7878/**
    7979 * Build Page Conntent
    8080 *
    8181 * @param [ind] $page_id
    8282 * @return [HTML]
    8383 */
    8484function woolentor_build_page_content( $page_id ){
    8585    return class_exists('\Elementor\Plugin') ? \Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $page_id ) : '';
     86}
     87
     88/**
     89* Checked Current theme is FSE
     90*/
     91function woolentor_current_theme_is_fse() {
     92    if ( function_exists( 'wp_is_block_theme' ) ) {
     93        return (bool) wp_is_block_theme();
     94    }
     95    if ( function_exists( 'gutenberg_is_fse_theme' ) ) {
     96        return (bool) gutenberg_is_fse_theme();
     97    }
     98
     99    return false;
    86100}
    87101
    88102/**
    89103 * [movepro_render_icon]
    90104 * @param  array  $settings
    91105 * @param  string $new_icon  new icon id
    92106 * @param  string $old_icon  Old icon id
    93107 * @param  array  $attributes icon attributes
    94108 * @return [html]  html | false
    95109 */
    96110function woolentor_render_icon( $settings = [], $new_icon = 'selected_icon', $old_icon = 'icon', $attributes = [] ){
    97111
    98112    $migrated = isset( $settings['__fa4_migrated'][$new_icon] );
    99113    $is_new = empty( $settings[$old_icon] ) && \Elementor\Icons_Manager::is_migration_allowed();
    100114
    101115    $attributes['aria-hidden'] = 'true';
    102116    $output = '';
    103117
    104118    if ( woolentor_is_elementor_version( '>=', '2.6.0' ) && ( $is_new || $migrated ) ) {
    105119
    106120        if ( empty( $settings[$new_icon]['library'] ) ) {
    107121            return false;
    108122        }
    109123
    110124        $tag = 'i';
    111125        // handler SVG Icon
    112126        if ( 'svg' === $settings[$new_icon]['library'] ) {
    113127            if ( ! isset( $settings[$new_icon]['value']['id'] ) ) {
    114128                return '';
    115129            }
    116130            $output = Elementor\Core\Files\File_Types\Svg::get_inline_svg( $settings[$new_icon]['value']['id'] );
    117131
    118132        } else {
    119133            $icon_types = \Elementor\Icons_Manager::get_icon_manager_tabs();
    120134            if ( isset( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'] ) && is_callable( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'] ) ) {
    121135                return call_user_func_array( $icon_types[ $settings[$new_icon]['library'] ]['render_callback'], [ $settings[$new_icon], $attributes, $tag ] );
    122136            }
    123137
    124138            if ( empty( $attributes['class'] ) ) {
    125139                $attributes['class'] = $settings[$new_icon]['value'];
    126140            } else {
    127141                if ( is_array( $attributes['class'] ) ) {
    128142                    $attributes['class'][] = $settings[$new_icon]['value'];
    129143                } else {
    130144                    $attributes['class'] .= ' ' . $settings[$new_icon]['value'];
    131145                }
    132146            }
    133147            $output = '<' . $tag . ' ' . \Elementor\Utils::render_html_attributes( $attributes ) . '></' . $tag . '>';
    134148        }
    135149
    136150    } else {
    137151        if ( empty( $attributes['class'] ) ) {
    138152            $attributes['class'] = $settings[ $old_icon ];
    139153        } else {
    140154            if ( is_array( $attributes['class'] ) ) {
    141155                $attributes['class'][] = $settings[ $old_icon ];
    142156            } else {
    143157                $attributes['class'] .= ' ' . $settings[ $old_icon ];
    144158            }
    145159        }
    146160        $output = sprintf( '<i %s></i>', \Elementor\Utils::render_html_attributes( $attributes ) );
    147161    }
    148162
    149163    return $output;
    150164 
    151165}
    152166
    153167/**
    154168 * [woolentor_get_cookie_name] Get Compare cookie name
    155169 * @return [string]
    156170 */
    157171function woolentor_get_cookie_name( $name ) {
    158172    $name = 'woolentor_'.$name;
    159173    if ( is_multisite() ){
    160174        $name .= '_' . get_current_blog_id();
    161175    }
    162176    return $name;
    163177}
    164178
    165179/**
    166180 * [woolentor_set_views_count]
    167181 * @param  [int] $postid
    168182 * @param  [string] $posttype
    169183 * @return [null]
    170184 */
    171185function woolentor_set_views_count( $postid, $posttype ) {
    172186
    173187    $count_key  = 'woolentor_views_count_'.$posttype;
    174188    $count      = get_post_meta( $postid, $count_key, true );
    175189
    176190    $cookie_name    = woolentor_get_cookie_name( 'already_views_count_'.$posttype );
    177191    $products_list  = isset( $_COOKIE[$cookie_name] ) ? unserialize( $_COOKIE[ $cookie_name ], ['allowed_classes' => false] ) : [];
    178192    $timestamp      = time();
    179193
    180194    if( $count == '' ){
    181195        $count = 1;
    182196        delete_post_meta( $postid, $count_key );
    183197        add_post_meta( $postid, $count_key, '1' );
    184198        $products_list[$timestamp] = $postid;
    185199    }else{
    186200        // if the post has already been stored under the cookie
    187201        if ( ( $key = array_search( $postid, $products_list ) ) == false ) {           
    188202            $count++;
    189203            update_post_meta( $postid, $count_key, $count );
    190204            $products_list[$timestamp] = $postid;
    191205        }
    192206    }
    193207    setcookie( $cookie_name, serialize( $products_list ), 0, COOKIEPATH, COOKIE_DOMAIN, false, false );
    194208
    195209}
    196210
    197211/**
    198212 * [woolentor_get_views_count]
    199213 * @param  [int] $postid
    200214 * @param  [string] $posttype
    201215 * @return [string]
    202216 */
    203217function woolentor_get_views_count( $postid, $posttype ){
    204218
    205219    $count_key = 'woolentor_views_count_'.$posttype;
    206220
    207221    $count =  get_post_meta( $postid, $count_key, true );
    208222    if( $count == '' ){
    209223        delete_post_meta( $postid, $count_key );
    210224        add_post_meta( $postid, $count_key, '0' );
    211225        return "0";
    212226    }
    213227    return $count;
    214228
    215229}
    216230
    217231/**
    218232 * Get User Track data
    219233 *
    220234 * @return array
    221235 */
    222236function woolentor_get_track_user_data(){
    223237
    224238    $user_id     = get_current_user_id();
    225239    $cookie_name = woolentor_get_cookie_name( 'viewed_products_list' );
    226240    if (! $user_id) {
    227241        $products_list = isset( $_COOKIE[$cookie_name] ) ? unserialize( $_COOKIE[ $cookie_name ], ['allowed_classes' => false] ) : [];
    228242    } else {
    229243        $get_meta_data = get_user_meta( $user_id, $cookie_name, true );
    230244        $products_list = ! empty( $get_meta_data ) ? $get_meta_data : [];
    231245    }
    232246
    233247    return $products_list;
    234248}
    235249
    236250/**
    237251 * [woolentor_product_query]
    238252 * @param  array  $query_args
    239253 * @return [array] Generate query
    240254 */
    241255function woolentor_product_query( $query_args = [] ){
    242256   
    243257    $meta_query = $tax_query = array();
    244258
    245259    $per_page = !empty( $query_args['per_page'] ) ? $query_args['per_page'] : 3;
    246260
    247261    // Tex Query
    248262    //
    249263    // Categories wise
    250264    if( isset( $query_args['categories'] ) ){
    251265        $field_name = 'slug';
    252266        $tax_query[] = array(
    253267            'taxonomy' => 'product_cat',
    254268            'terms' => $query_args['categories'],
    255269            'field' => $field_name,
    256270            'include_children' => false
    257271        );
    258272    }
    259273
    260274    // Tag wise
    261275    if( isset( $query_args['tags'] ) ){
    262276        $field_name = 'slug';
    263277        $tax_query[] = array(
    264278            'taxonomy' => 'product_tag',
    265279            'terms' => $query_args['tags'],
    266280            'field' => $field_name,
    267281            'include_children' => false
    268282        );
    269283    }
    270284
    271285    // Feature Product
    272286    if( $query_args['product_type'] == 'featured' ){
    273287        $tax_query[] = array(
    274288            'taxonomy' => 'product_visibility',
    275289            'field'    => 'name',
    276290            'terms'    => 'featured',
    277291            'operator' => 'IN',
    278292        );
    279293    }
    280294
    281295    // Hide Hidden Item
    282296    if( isset( $query_args['hidden'] ) && $query_args['hidden'] === true ){
    283297        $tax_query[] = array(
    284298            'taxonomy' => 'product_visibility',
    285299            'field'    => 'name',
    286300            'terms'    => array('exclude-from-search', 'exclude-from-catalog'),
    287301            'operator' => 'NOT IN',
    288302            'include_children' => false,
    289303        );
    290304    }
    291305
    292306    // Meta Query
    293307    /**
    294308     * [$hide_out_of_stock] Check ( WooCommerce > Settings > Products > Inventory )
    295309     */
    296310    $hide_out_of_stock = ( isset( $query_args['hide_out_of_stock'] ) && $query_args['hide_out_of_stock'] === true ) ? 'yes' : get_option( 'woocommerce_hide_out_of_stock_items', 'no' );
    297311    if( 'yes' === $hide_out_of_stock ){
    298312        $meta_query[] = array(
    299313            'key'     => '_stock_status',
    300314            'value'   => 'instock',
    301315            'compare' => '==',
    302316        );
    303317    }
    304318
    305319    $args = array(
    306320        'post_type'             => 'product',
    307321        'post_status'           => 'publish',
    308322        'ignore_sticky_posts'   => 1,
    309323        'posts_per_page'        => $per_page,
    310324        'meta_query'            => $meta_query,
    311325        'tax_query'             => $tax_query,
    312326    );
    313327
    314328    // Product Type Check
    315329    switch( $query_args['product_type'] ){
    316330
    317331        case 'sale':
    318332            $args['post__in'] = array_merge( array( 0 ), wc_get_product_ids_on_sale() );
    319333        break;
    320334
    321335        case 'best_selling':
    322336            $args['meta_key']   = 'total_sales';
    323337            $args['orderby']    = 'meta_value_num';
    324338            $args['order']      = 'desc';
    325339        break;
    326340
    327341        case 'top_rated':
    328342            $args['meta_key']   = '_wc_average_rating';
    329343            $args['orderby']    = 'meta_value_num';
    330344            $args['order']      = 'desc';         
    331345        break;
    332346
    333347        case 'mixed_order':
    334348            $args['orderby']    = 'rand';
    335349        break;
    336350
    337351        case 'show_byid':
    338352            $args['post__in'] = $query_args['product_ids'];
    339353            $args['orderby']  = $query_args['product_ids'];
    340354        break;
    341355
    342356        case 'show_byid_manually':
    343357            $args['post__in'] = $query_args['product_ids'];
    344358            $args['orderby']  = $query_args['product_ids'];
    345359        break;
    346360
    347361        default: /* Recent */
    348362            $args['orderby']    = 'date';
    349363            $args['order']      = 'desc';
    350364        break;
    351365
    352366    }
    353367
    354368    /**
    355369     * Custom Order
    356370     */
    357371    if( isset( $query_args['custom_order'] ) ){
    358372        $args['orderby'] = $query_args['custom_order']['orderby'];
    359373        $args['order'] = $query_args['custom_order']['order'];
    360374    }
    361375
    362376    return $args;
    363377
    364378}
    365379
    366380/**
    367381 * Get all menu list
    368382 * return array
    369383 */
    370384function woolentor_get_all_create_menus() {
    371385    $raw_menus = wp_get_nav_menus();
    372386    $menus     = wp_list_pluck( $raw_menus, 'name', 'term_id' );
    373387    $parent    = isset( $_GET['parent_menu'] ) ? absint( $_GET['parent_menu'] ) : 0;
    374388    if ( 0 < $parent && isset( $menus[ $parent ] ) ) {
    375389        unset( $menus[ $parent ] );
    376390    }
    377391    return $menus;
    378392}
    379393
    380394/**
    381395 *  Taxonomy List
    382396 * @return array
    383397 */
    384398function woolentor_taxonomy_list( $taxonomy = 'product_cat', $option_value = 'slug' ){
    385399    $terms = get_terms( array(
    386400        'taxonomy'   => $taxonomy,
    387401        'hide_empty' => true,
    388402    ));
    389403    $options = [];
    390404    if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){
    391405        foreach ( $terms as $term ) {
    392406            $options[ $term->$option_value ] = $term->name;
    393407        }
    394408    }
    395409    return $options;
    396410}
    397411
    398412/*
    399413 * Get Post Type
    400414 * return array
    401415 */
    402416function woolentor_get_post_types( $args = [] ) {
    403417    $post_type_args = [
    404418        'show_in_nav_menus' => true,
    405419    ];
    406420    if ( ! empty( $args['post_type'] ) ) {
    407421        $post_type_args['name'] = $args['post_type'];
    408422    }
    409423    $_post_types = get_post_types( $post_type_args , 'objects' );
    410424
    411425    $post_types  = [];
    412426    if( !empty( $args['defaultadd'] ) ){
    413427        $post_types[ strtolower($args['defaultadd']) ] = ucfirst($args['defaultadd']);
    414428    }
    415429    foreach ( $_post_types as $post_type => $object ) {
    416430        $post_types[ $post_type ] = $object->label;
    417431    }
    418432    return $post_types;
    419433}
    420434
    421435
    422436/**
    423437 * Get Post List
    424438 * return array
    425439 */
    426440function woolentor_post_name( $post_type = 'post', $args = [] ){
    427441    $options = array();
    428442    $options['0'] = __('Select','woolentor');
    429443    $perpage = !empty( $args['limit'] ) ? $args['limit'] : woolentor_get_option( 'loadproductlimit', 'woolentor_others_tabs', '20' );
    430444    $all_post = array( 'posts_per_page' => $perpage, 'post_type'=> $post_type );
    431445    $post_terms = get_posts( $all_post );
    432446    if ( ! empty( $post_terms ) && ! is_wp_error( $post_terms ) ){
    433447        foreach ( $post_terms as $term ) {
    434448            $options[ $term->ID ] = $term->post_title;
    435449        }
    436450        return $options;
    437451    }
    438452}
    439453
    440454/*
    441455 * Elementor Templates List
    442456 * return array
    443457 */
    444458function woolentor_elementor_template() {
    445459    $templates = '';
    446460    if( class_exists('\Elementor\Plugin') ){
    447461        $templates = \Elementor\Plugin::instance()->templates_manager->get_source( 'local' )->get_items();
    448462    }
    449463    $types = array();
    450464    if ( empty( $templates ) ) {
    451465        $template_lists = [ '0' => __( 'No saved templates found.', 'woolentor' ) ];
    452466    } else {
    453467        $template_lists = [ '0' => __( 'Select Template', 'woolentor' ) ];
    454468        foreach ( $templates as $template ) {
    455469            $template_lists[ $template['template_id'] ] = $template['title'] . ' (' . $template['type'] . ')';
    456470        }
    457471    }
    458472    return $template_lists;
    459473}
    460474
    461475/*
    462476 * Woolentor Templates List
    463477 * return array
    464478 */
    465479function woolentor_wltemplate_list( $type = [] ){
    466480    $template_lists = [];
    467481
    468482    $args = array(
    469483        'post_type'            => 'woolentor-template',
    470484        'post_status'          => 'publish',
    471485        'ignore_sticky_posts'  => 1,
    472486        'posts_per_page'       => -1,
    473487    );
    474488
    475489    if( is_array( $type ) && count( $type ) > 0 ){
    476490        $args['meta_key'] = 'woolentor_template_meta_type';
    477491        $args['meta_value'] = $type;
    478492        $args['meta_compare'] = 'IN';
    479493    }
    480494
    481495    $templates = new WP_Query( $args );
    482496
    483497    if( $templates->have_posts() ){
    484498        foreach ( $templates->get_posts() as $post ) {
    485499            $template_lists[ $post->ID ] = $post->post_title;
    486500        }
    487501    }
    488502    wp_reset_query();
    489503    return $template_lists;
    490504
    491505}
    492506
    493507/*
    494508 * Plugisn Options value
    495509 * return on/off
    496510 */
    497511function woolentor_get_option( $option, $section, $default = '' ){
    498512    $options = get_option( $section );
    499513    if ( isset( $options[$option] ) ) {
    500514        return $options[$option];
    501515    }
    502516    return $default;
    503517}
    504518
    505519function woolentor_get_option_label_text( $option, $section, $default = '' ){
    506520    $options = get_option( $section );
    507521    if ( isset( $options[$option] ) ) {
    508522        if( !empty($options[$option]) ){
    509523            return $options[$option];
    510524        }
    511525        return $default;
    512526    }
    513527    return $default;
    514528}
    515529
    516530/**
    517531 * [woolentor_update_option]
    518532 * @param  [string] $option
    519533 * @param  [string] $section
    520534 * @param  string $new_value
    521535 * @return [string]
    522536 */
    523537function woolentor_update_option( $section, $option_key, $new_value ){
    524538    $options_data = get_option( $section );
    525539    if( isset( $options_data[$option_key] ) ){
    526540        $options_data[$option_key] = $new_value;
    527541    }else{
    528542        $options_data = array( $option_key => $new_value );
    529543    }
    530544    update_option( $section, $options_data );
    531545}
    532546
    533547/**
    534548 * [woolentor_clean]
    535549 * @param  [JSON] $var
    536550 * @return [array]
    537551 */
    538552function woolentor_clean( $var ) {
    539553    if ( is_array( $var ) ) {
    540554        return array_map( 'woolentor_clean', $var );
    541555    } else {
    542556        return is_scalar( $var ) ? sanitize_text_field( $var ) : $var;
    543557    }
    544558}
    545559
    546560/**
    547561 * Block Template Locate
    548562 * @param  [string] $tmp_name Template name
    549563 * @return [Template path]
    550564 */
    551565function woolentor_locate_template( $tmp_name, $template_path ) {
    552566    $woo_tmp_base = WC()->template_path();
    553567
    554568    $woo_tmp_path     = $woo_tmp_base .'woolentor/'. $tmp_name; //active theme directory/woocommerce/
    555569    $theme_tmp_path   = 'woolentor/' . $tmp_name; //active theme root directory
    556570    $plugin_tmp_path  = $template_path . $tmp_name . '.php';
    557571
    558572    $located = locate_template( [ $woo_tmp_path, $theme_tmp_path ] );
    559573
    560574    if ( ! $located && file_exists( $plugin_tmp_path ) ) {
    561575        return apply_filters( 'woolentor_locate_template', $plugin_tmp_path, $tmp_name );
    562576    }
    563577
    564578    return apply_filters( 'woolentor_locate_template', $located, $tmp_name );
    565579}
    566580
    567581/**
    568582 * get Template
    569583 * @param  [string]  $tmp_name Template name
    570584 * @param  [array]  $args template argument array
    571585 * @param  boolean $echo
    572586 * @return [void]
    573587 */
    574588function woolentor_get_template( $tmp_name, $args = null, $echo = true, $template_path = WOOLENTOR_TEMPLATE ) {
    575589    $located = woolentor_locate_template( $tmp_name, $template_path );
    576590
    577591    if ( $args && is_array( $args ) ) {
    578592        extract( $args );
    579593    }
    580594
    581595    if ( $echo !== true ) { ob_start(); }
    582596
    583597    // include file located.
    584598    include( $located );
    585599
    586600    if ( $echo !== true ) { return ob_get_clean(); }
    587601
    588602}
    589603
    590604/**
    591605 * Call a shortcode function by tag name.
    592606 *
    593607 * @param string $tag     The shortcode whose function to call.
    594608 * @param array  $atts    The attributes to pass to the shortcode function. Optional.
    595609 * @param array  $content The shortcode's content. Default is null (none).
    596610 *
    597611 * @return string|bool False on failure, the result of the shortcode on success.
    598612 */
    599613function woolentor_do_shortcode( $tag, array $atts = array(), $content = null ) {
    600614    global $shortcode_tags;
    601615
    602616    if ( ! isset( $shortcode_tags[ $tag ] ) ) {
    603617        return false;
    604618    }
    605619
    606620    return call_user_func( $shortcode_tags[ $tag ], $atts, $content, $tag );
    607621}
    608622
    609623/**
    610624* Woocommerce Product last product id return
    611625*/
    612626function woolentor_get_last_product_id(){
    613627    global $wpdb;
    614628   
    615629    // Getting last Product ID (max value)
    616630    $results = $wpdb->get_col( "
    617631        SELECT MAX(ID) FROM {$wpdb->prefix}posts
    618632        WHERE post_type LIKE 'product'
    619633        AND post_status = 'publish'"
    620634    );
    621635    return reset($results);
    622636}
    623637
    624638/*
    625639 * HTML Tag list
    626640 * return array
    627641 */
    628642function woolentor_html_tag_lists() {
    629643    $html_tag_list = [
    630644        'h1'   => __( 'H1', 'woolentor' ),
    631645        'h2'   => __( 'H2', 'woolentor' ),
    632646        'h3'   => __( 'H3', 'woolentor' ),
    633647        'h4'   => __( 'H4', 'woolentor' ),
    634648        'h5'   => __( 'H5', 'woolentor' ),
    635649        'h6'   => __( 'H6', 'woolentor' ),
    636650        'p'    => __( 'p', 'woolentor' ),
    637651        'div'  => __( 'div', 'woolentor' ),
    638652        'span' => __( 'span', 'woolentor' ),
    639653    ];
    640654    return $html_tag_list;
    641655}
    642656
    643657/*
    644658 * HTML Tag Validation
    645659 * return strig
    646660 */
    647661function woolentor_validate_html_tag( $tag ) {
    648662    $allowed_html_tags = [
    649663        'article',
    650664        'aside',
    651665        'footer',
    652666        'header',
    653667        'section',
    654668        'nav',
    655669        'main',
    656670        'div',
    657671        'h1',
    658672        'h2',
    659673        'h3',
    660674        'h4',
    661675        'h5',
    662676        'h6',
    663677        'p',
    664678        'span',
    665679    ];
    666680    return in_array( strtolower( $tag ), $allowed_html_tags ) ? $tag : 'div';
    667681}
    668682
    669683/*
    670684 * All list of allowed html tags.
    671685 *
    672686 * @param string $tag_type Allowed levels are title and desc
    673687 * @return array
    674688 */
    675689function woolentor_get_html_allowed_tags($tag_type = 'title') {
    676690    $accept_html_tags = [
    677691        'span'   => [
    678692            'class' => [],
    679693            'id'    => [],
    680694            'style' => [],
    681695        ],
    682696        'strong' => [
    683697            'class' => [],
    684698            'id'    => [],
    685699            'style' => [],
    686700        ],
    687701        'br'     => [
    688702            'class' => [],
    689703            'id'    => [],
    690704            'style' => [],
    691705        ],       
    692706        'b'      => [
    693707            'class' => [],
    694708            'id'    => [],
    695709            'style' => [],
    696710        ],
    697711        'sub'    => [
    698712            'class' => [],
    699713            'id'    => [],
    700714            'style' => [],
    701715        ],
    702716        'sup'    => [
    703717            'class' => [],
    704718            'id'    => [],
    705719            'style' => [],
    706720        ],
    707721        'i'      => [
    708722            'class' => [],
    709723            'id'    => [],
    710724            'style' => [],
    711725        ],
    712726        'u'      => [
    713727            'class' => [],
    714728            'id'    => [],
    715729            'style' => [],
    716730        ],
    717731        's'      => [
    718732            'class' => [],
    719733            'id'    => [],
    720734            'style' => [],
    721735        ],
    722736        'em'     => [
    723737            'class' => [],
    724738            'id'    => [],
    725739            'style' => [],
    726740        ],
    727741        'del'    => [
    728742            'class' => [],
    729743            'id'    => [],
    730744            'style' => [],
    731745        ],
    732746        'ins'    => [
    733747            'class' => [],
    734748            'id'    => [],
    735749            'style' => [],
    736750        ],
    737751
    738752        'code'   => [
    739753            'class' => [],
    740754            'id'    => [],
    741755            'style' => [],
    742756        ],
    743757        'mark'   => [
    744758            'class' => [],
    745759            'id'    => [],
    746760            'style' => [],
    747761        ],
    748762        'small'  => [
    749763            'class' => [],
    750764            'id'    => [],
    751765            'style' => [],
    752766        ],
    753767        'strike' => [
    754768            'class' => [],
    755769            'id'    => [],
    756770            'style' => [],
    757771        ],
    758772        'abbr'   => [
    759773            'title' => [],
    760774            'class' => [],
    761775            'id'    => [],
    762776            'style' => [],
    763777        ],
    764778    ];
    765779
    766780    if ('desc' === $tag_type) {
    767781        $desc_tags = [
    768782            'h1' => [
    769783                'class' => [],
    770784                'id'    => [],
    771785                'style' => [],
    772786            ],
    773787            'h2' => [
    774788                'class' => [],
    775789                'id'    => [],
    776790                'style' => [],
    777791            ],
    778792            'h3' => [
    779793                'class' => [],
    780794                'id'    => [],
    781795                'style' => [],
    782796            ],
    783797            'h4' => [
    784798                'class' => [],
    785799                'id'    => [],
    786800                'style' => [],
    787801            ],
    788802            'h5' => [
    789803                'class' => [],
    790804                'id'    => [],
    791805                'style' => [],
    792806            ],
    793807            'h6' => [
    794808                'class' => [],
    795809                'id'    => [],
    796810                'style' => [],
    797811            ],
    798812            'p' => [
    799813                'class' => [],
    800814                'id'    => [],
    801815                'style' => [],
    802816            ],
    803817            'a'       => [
    804818                'href'  => [],
    805819                'title' => [],
    806820                'class' => [],
    807821                'id'    => [],
    808822                'style' => [],
    809823            ],
    810824            'q'       => [
    811825                'cite'  => [],
    812826                'class' => [],
    813827                'id'    => [],
    814828                'style' => [],
    815829            ],
    816830            'img'     => [
    817831                'src'    => [],
    818832                'alt'    => [],
    819833                'height' => [],
    820834                'width'  => [],
    821835                'class'  => [],
    822836                'id'     => [],
    823837                'title'  => [],
    824838                'style'  => [],
    825839            ],
    826840            'dfn'     => [
    827841                'title' => [],
    828842                'class' => [],
    829843                'id'    => [],
    830844                'style' => [],
    831845            ],
    832846            'time'    => [
    833847                'datetime' => [],
    834848                'class'    => [],
    835849                'id'       => [],
    836850                'style'    => [],
    837851            ],
    838852            'cite'    => [
    839853                'title' => [],
    840854                'class' => [],
    841855                'id'    => [],
    842856                'style' => [],
    843857            ],
    844858            'acronym' => [
    845859                'title' => [],
    846860                'class' => [],
    847861                'id'    => [],
    848862                'style' => [],
    849863            ],
    850864            'hr'      => [
    851865                'class' => [],
    852866                'id'    => [],
    853867                'style' => [],
    854868            ],
    855869            'div' => [
    856870                'class' => [],
    857871                'id'    => [],
    858872                'style' => []
    859873            ],
    860874           
    861875            'button' => [
    862876                'class' => [],
    863877                'id'    => [],
    864878                'style' => [],
    865879            ],
    866880
    867881        ];
    868882
    869883        $accept_html_tags = array_merge($accept_html_tags, $desc_tags);
    870884    }
    871885
    872886    return $accept_html_tags;
    873887}
    874888
    875889/*
    876890* Category list
    877891* return first one
    878892*/
    879893function woolentor_get_product_category_list( $id = null, $taxonomy = 'product_cat', $limit = 1 ) {
    880894    $terms = get_the_terms( $id, $taxonomy );
    881895    $i = 0;
    882896    if ( is_wp_error( $terms ) )
    883897        return $terms;
    884898
    885899    if ( empty( $terms ) )
    886900        return false;
    887901
    888902    foreach ( $terms as $term ) {
    889903        $i++;
    890904        $link = get_term_link( $term, $taxonomy );
    891905        if ( is_wp_error( $link ) ) {
    892906            return $link;
    893907        }
    894908        echo '<a href="' . esc_url( $link ) . '">' . $term->name . '</a>';
    895909        if( $i == $limit ){
    896910            break;
    897911        }else{ continue; }
    898912    }
    899913   
    900914}
    901915
    902916/**
    903917 * Get archive title data
    904918 *
    905919 * @return array
    906920 */
    907921function woolentor_get_archive_data() {
    908922
    909923    $data = [
    910924        'title'     => '',
    911925        'desc'      => '',
    912926        'image_url' => ''
    913927    ];
    914928   
    915929    if ( is_archive() ) {
    916930        if ( is_product_category() ) {
    917931            $get_obj        = get_queried_object();
    918932            $attachment_id  = get_term_meta( $get_obj->term_id, 'thumbnail_id', true );
    919933            $data['title']      = $get_obj->name;
    920934            $data['desc']       = $get_obj->description;
    921935            $data['image_url']  = $attachment_id ? wp_get_attachment_url( $attachment_id ) : '';
    922936        } else if ( is_product_tag() || is_tag() ) {
    923937            $get_obj       = get_queried_object();
    924938            $data['title']  = $get_obj->name;
    925939            $data['desc']   = $get_obj->description;
    926940        } else if ( is_date() ) {
    927941            $date = '';
    928942            if ( is_year() ) {
    929943                $date = get_the_date('Y');
    930944            } else if ( is_month() ) {
    931945                $date = get_the_date('F Y');
    932946            } else if ( is_day() ) {
    933947                $date = get_the_date('F j, Y');
    934948            }
    935949            $data['title']  = $date;
    936950
    937951        } else if ( is_author() ) {
    938952            $data['title'] = get_the_author_meta( 'display_name' );
    939953            $data['image'] = get_avatar_url( get_the_author_meta( 'ID' ) );
    940954            $data['desc']  = get_the_author_meta( 'user_email' );
    941955        } else if ( is_tax() ) {
    942956            $get_obj        = get_queried_object();
    943957            $attachment_id  = get_term_meta( $get_obj->term_id, 'thumbnail_id', true );
    944958            $data['title']      = $get_obj->name;
    945959            $data['desc']       = $get_obj->description;
    946960            $data['image_url']  = $attachment_id ? wp_get_attachment_url( $attachment_id ) : '';
    947961        }else{
    948962            $data['title'] = woocommerce_page_title( false );
    949963        }
    950964    } else if ( is_search() ) {
    951965        $data['title'] = get_search_query();
    952966    } else if ( is_page() || is_singular() ) {
    953967        $data['title']  = single_post_title( '', false );
    954968    }
    955969
    956970    return $data;
    957971
    958972}
    959973
    960974/*
    961975* If Active WooCommerce
    962976*/
    963977if( class_exists('WooCommerce') ){
    964978
    965979    /* Custom product badge */
    966980    function woolentor_custom_product_badge( $show = 'yes' ){
    967981        global $product;
    968982        $custom_saleflash_text = get_post_meta( get_the_ID(), '_saleflash_text', true );
    969983        if( $show == 'yes' && is_a( $product, 'WC_Product' ) ){
    970984            if( !empty( $custom_saleflash_text ) && $product->is_in_stock() ){
    971985                if( $product->is_featured() ){
    972986                    echo '<span class="ht-product-label ht-product-label-left hot">' . esc_html( $custom_saleflash_text ) . '</span>';
    973987                }else{
    974988                    echo '<span class="ht-product-label ht-product-label-left">' . esc_html( $custom_saleflash_text ) . '</span>';
    975989                }
    976990            }
    977991        }
    978992    }
    979993
    980994    /* Sale Flash for Single Product page */
    981995    function woolentor_show_product_sale_flash( $echo = true ){
    982996        global $post, $product;
    983997        if( is_a( $product, 'WC_Product' ) ){
    984998
    985999            if( $echo == false ){ ob_start(); }
    9861000
    9871001            if( $product->is_on_sale() && $product->is_in_stock() ){
    9881002                echo apply_filters( 'woocommerce_sale_flash', '<span class="onsale">' . esc_html__( 'Sale!', 'woolentor' ) . '</span>', $post, $product );
    9891003            }else{
    9901004                $out_of_stock = get_post_meta( get_the_ID(), '_stock_status', true );
    9911005                $out_of_stock_text = apply_filters( 'woolentor_shop_out_of_stock_text', __( 'Out of stock', 'woolentor' ) );
    9921006                if ( 'outofstock' === $out_of_stock ) {
    9931007                    echo '<span class="outofstock onsale">'.esc_html( $out_of_stock_text ).'</span>';
    9941008                }
    9951009            }
    9961010
    9971011            if( $echo == false ){ return ob_get_clean(); }
    9981012
    9991013        }
    10001014    }
    10011015
    10021016    /* Sale badge */
    10031017    function woolentor_sale_flash( $offertype = 'default', $echo = true, $outofstocktxt = '' ){
    10041018        global $product;
    10051019        if( $echo == false ){ ob_start(); }
    10061020        if( $product->is_on_sale() && $product->is_in_stock() ){
    10071021            if( $offertype !='default' && $product->get_regular_price() > 0 ){
    10081022                $_off_percent = (1 - round($product->get_price() / $product->get_regular_price(), 2))*100;
    10091023                $_off_price = round($product->get_regular_price() - $product->get_price(), 0);
    10101024                $_price_symbol = get_woocommerce_currency_symbol();
    10111025                $symbol_pos = get_option('woocommerce_currency_pos', 'left');
    10121026                $price_display = '';
    10131027                switch( $symbol_pos ){
    10141028                    case 'left':
    10151029                        $price_display = '-'.$_price_symbol.$_off_price;
    10161030                    break;
    10171031                    case 'right':
    10181032                        $price_display = '-'.$_off_price.$_price_symbol;
    10191033                    break;
    10201034                    case 'left_space':
    10211035                        $price_display = '-'.$_price_symbol.' '.$_off_price;
    10221036                    break;
    10231037                    default: /* right_space */
    10241038                        $price_display = '-'.$_off_price.' '.$_price_symbol;
    10251039                    break;
    10261040                }
    10271041                if( $offertype == 'number' ){
    10281042                    echo '<span class="ht-product-label ht-product-label-right">'.$price_display.'</span>';
    10291043                }elseif( $offertype == 'percent'){
    10301044                    echo '<span class="ht-product-label ht-product-label-right">'.$_off_percent.'%</span>';
    10311045                }else{ echo ' '; }
    10321046
    10331047            }else{
    10341048                $sale_badge_text = apply_filters( 'woolentor_sale_badge_text', __( 'Sale!', 'woolentor' ) );
    10351049                echo '<span class="ht-product-label ht-product-label-right">'.esc_html( $sale_badge_text ).'</span>';
    10361050            }
    10371051        }else{
    10381052            $out_of_stock = get_post_meta( get_the_ID(), '_stock_status', true );
    10391053            $out_of_stock_text = !empty( $outofstocktxt ) ? esc_html( $outofstocktxt ) : apply_filters( 'woolentor_shop_out_of_stock_text', __( 'Out of stock', 'woolentor' ) );
    10401054            if ( 'outofstock' === $out_of_stock ) {
    10411055                echo '<span class="ht-stockout ht-product-label ht-product-label-right">'.esc_html( $out_of_stock_text ).'</span>';
    10421056            }
    10431057        }
    10441058        if( $echo == false ){ return ob_get_clean(); }
    10451059
    10461060    }
    10471061
    10481062    // Shop page header result count
    10491063    function woolentor_product_result_count( $total, $perpage, $paged ){
    10501064        wc_set_loop_prop( 'total', $total );
    10511065        wc_set_loop_prop( 'per_page', $perpage );
    10521066        wc_set_loop_prop( 'current_page', $paged );
    10531067        $geargs = array(
    10541068            'total'    => wc_get_loop_prop( 'total' ),
    10551069            'per_page' => wc_get_loop_prop( 'per_page' ),
    10561070            'current'  => wc_get_loop_prop( 'current_page' ),
    10571071        );
    10581072        wc_get_template( 'loop/result-count.php', $geargs );
    10591073    }
    10601074
    10611075    // product shorting
    10621076    function woolentor_product_shorting( $getorderby ){
    10631077        ?>
    10641078            <form class="woocommerce-ordering" method="get">
    10651079                <select name="orderby" class="orderby">
    10661080                    <?php
    10671081                        $catalog_orderby = apply_filters( 'woocommerce_catalog_orderby', array(
    10681082                            'menu_order' => __( 'Default sorting', 'woolentor' ),
    10691083                            'popularity' => __( 'Sort by popularity', 'woolentor' ),
    10701084                            'rating'     => __( 'Sort by average rating', 'woolentor' ),
    10711085                            'date'       => __( 'Sort by latest', 'woolentor' ),
    10721086                            'price'      => __( 'Sort by price: low to high', 'woolentor' ),
    10731087                            'price-desc' => __( 'Sort by price: high to low', 'woolentor' ),
    10741088                        ) );
    10751089                        foreach ( $catalog_orderby as $id => $name ){
    10761090                            echo '<option value="' . esc_attr( $id ) . '" ' . selected( $getorderby, $id, false ) . '>' . esc_attr( $name ) . '</option>';
    10771091                        }
    10781092                    ?>
    10791093                </select>
    10801094                <?php
    10811095                    // Keep query string vars intact
    10821096                    foreach ( $_GET as $key => $val ) {
    10831097                        if ( 'orderby' === $key || 'submit' === $key )
    10841098                            continue;
    10851099                        if ( is_array( $val ) ) {
    10861100                            foreach( $val as $innerVal ) {
    10871101                                echo '<input type="hidden" name="' . esc_attr( $key ) . '[]" value="' . esc_attr( $innerVal ) . '" />';
    10881102                            }
    10891103                        } else {
    10901104                            echo '<input type="hidden" name="' . esc_attr( $key ) . '" value="' . esc_attr( $val ) . '" />';
    10911105                        }
    10921106                    }
    10931107                ?>
    10941108            </form>
    10951109        <?php
    10961110    }
    10971111
    10981112    // Custom page pagination
    10991113    function woolentor_custom_pagination( $totalpage ){
    11001114        echo '<div class="ht-row woocommerce"><div class="ht-col-xs-12"><nav class="woocommerce-pagination">';
    11011115            echo paginate_links( apply_filters(
    11021116                    'woocommerce_pagination_args', array(
    11031117                        'base'=> esc_url( str_replace( 999999999, '%#%', remove_query_arg( 'add-to-cart', get_pagenum_link( 999999999, false ) ) ) ),
    11041118                        'format'    => '',
    11051119                        'current'   => max( 1, get_query_var( 'paged' ) ),
    11061120                        'total'     => $totalpage,
    11071121                        'prev_text' => '&larr;',
    11081122                        'next_text' => '&rarr;',
    11091123                        'type'      => 'list',
    11101124                        'end_size'  => 3,
    11111125                        'mid_size'  => 3
    11121126                    )
    11131127                )       
    11141128            );
    11151129        echo '</div></div></div>';
    11161130    }
    11171131
    11181132    // Change Product Per page
    11191133    if( woolentor_get_option( 'enablecustomlayout', 'woolentor_woo_template_tabs', 'on' ) == 'on' ){
    11201134        function woolentor_custom_number_of_posts() {
    11211135            $limit = woolentor_get_option( 'shoppageproductlimit', 'woolentor_woo_template_tabs', 2 );
    11221136            $postsperpage = apply_filters( 'product_custom_limit', $limit );
    11231137            return $postsperpage;
    11241138        }
    11251139        add_filter( 'loop_shop_per_page', 'woolentor_custom_number_of_posts' );
    11261140    }
    11271141
    11281142    // Customize rating html
    11291143    if( !function_exists('woolentor_wc_get_rating_html') ){
    11301144        function woolentor_wc_get_rating_html( $block = '' ){
    11311145            if ( get_option( 'woocommerce_enable_review_rating' ) === 'no' ) { return; }
    11321146            global $product;
    11331147            $rating_count = $product->get_rating_count();
    11341148            $average      = $product->get_average_rating();
    11351149            $rating_whole = floor($average);
    11361150            $rating_fraction = $average - $rating_whole;
    11371151            $flug = 0;
    11381152
    11391153            $icon_svg = get_option('elementor_experiment-e_font_icon_svg','default');
    11401154            $icon_prefix = ( $icon_svg == 'active' || $block == 'yes' ) ? 'fa' : 'fas';
    11411155           
    11421156            if ( $rating_count > 0 ) {
    11431157                $wrapper_class = is_single() ? 'rating-number' : 'top-rated-rating';
    11441158                ob_start();
    11451159            ?>
    11461160                <div class="<?php echo esc_attr( $wrapper_class ); ?>">
    11471161                    <span class="ht-product-ratting">
    11481162                        <span class="ht-product-user-ratting">
    11491163                            <?php for($i = 1; $i <= 5; $i++){
    11501164                                if( $i <= $rating_whole ){
    11511165                                    echo '<i class="'.$icon_prefix.' fa-star"></i>';
    11521166                                } else {
    11531167                                    if( $rating_fraction > 0 && $flug == 0 ){
    11541168                                        if( $icon_svg == 'active' || $block == 'yes' ){
    11551169                                            echo '<i class="fa fa-star-half-o"></i>';
    11561170                                        }else{
    11571171                                            echo '<i class="fas fa-star-half-alt"></i>';
    11581172                                        }
    11591173                                        $flug = 1;
    11601174                                    } else {
    11611175                                        if( $icon_svg == 'active' || $block == 'yes' ){
    11621176                                            echo '<i class="fa fa-star-o"></i>';
    11631177                                        }else{
    11641178                                            echo '<i class="far fa-star empty"></i>';
    11651179                                        }
    11661180                                    }
    11671181                                }
    11681182                            } ?>
    11691183                        </span>
    11701184                    </span>
    11711185                </div>
    11721186                 <?php
    11731187                    $html = ob_get_clean();
    11741188                } else {
    11751189                    $html  = '';
    11761190                }
    11771191
    11781192                return $html;
    11791193        }
    11801194    }
    11811195
    11821196    // HTML Markup Render in footer
    11831197    function woolentor_html_render_infooter(){
    11841198        if ( true === apply_filters( 'woolentor_footer_content_visibility', true ) ) {
    11851199            do_action( 'woolentor_footer_render_content' );
    11861200        }
    11871201    }
    11881202    add_action( 'wp_footer', 'woolentor_html_render_infooter' );
    11891203
    11901204    /**
    11911205     * [woolentor_stock_status]
    11921206     */
    11931207    function woolentor_stock_status( $order_text, $available_text, $product_id ){
    11941208
    11951209        if ( get_post_meta( $product_id, '_manage_stock', true ) == 'yes' ) {
    11961210
    11971211            $total_stock = get_post_meta( $product_id, 'woolentor_total_stock_quantity', true );
    11981212
    11991213            if ( ! $total_stock ) { echo '<div class="stock-management-progressbar">'.__( 'Set the initial stock amount from', 'woolentor' ).' <a href="'.get_edit_post_link( $product_id ).'" target="_blank">'.__( 'here', 'woolentor' ).'</a></div>'; return; }
    12001214
    12011215            $current_stock = round( get_post_meta( $product_id, '_stock', true ) );
    12021216
    12031217            $total_sold = $total_stock > $current_stock ? $total_stock - $current_stock : 0;
    12041218            $percentage = $total_sold > 0 ? round( $total_sold / $total_stock * 100 ) : 0;
    12051219
    12061220            if ( $current_stock > 0 ) {
    12071221                echo '<div class="woolentor-stock-progress-bar">';
    12081222                    echo '<div class="wlstock-info">';
    12091223                        echo '<div class="wltotal-sold">' . __( $order_text, 'woolentor' ) . '<span>' . esc_html( $total_sold ) . '</span></div>';
    12101224                        echo '<div class="wlcurrent-stock">' . __( $available_text, 'woolentor' ) . '<span>' . esc_html( $current_stock ) . '</span></div>';
    12111225                    echo '</div>';
    12121226                    echo '<div class="wlprogress-area" title="' . __( 'Sold', 'woolentor' ) . ' ' . esc_attr( $percentage ) . '%">';
    12131227                        echo '<div class="wlprogress-bar"style="width:' . esc_attr( $percentage ) . '%;"></div>';
    12141228                    echo '</div>';
    12151229                echo '</div>';
    12161230            }else{
    12171231                echo '<div class="stock-management-progressbar">'.__( 'Set the initial stock amount from', 'woolentor' ).' <a href="'.get_edit_post_link( $product_id ).'" target="_blank">'.__( 'here', 'woolentor' ).'</a></div>';
    12181232            }
    12191233
    12201234        }
    12211235
    12221236    }
    12231237
    12241238    /**
    12251239     * [woolentor_minmax_price_limit]
    12261240     * @return [array] Price Limit
    12271241     */
    12281242    function woolentor_minmax_price_limit() {
    12291243        global $wpdb;
    12301244        $min_query = "SELECT MIN( CAST( meta_value as UNSIGNED ) ) FROM {$wpdb->postmeta} WHERE meta_key = '_price'";
    12311245        $max_query = "SELECT MAX( CAST( meta_value as UNSIGNED ) ) FROM {$wpdb->postmeta} WHERE meta_key = '_price'";
    12321246        $value_min = $wpdb->get_var( $min_query );
    12331247        $value_max = $wpdb->get_var( $max_query );
    12341248        return [
    12351249            'min' => (int)$value_min,
    12361250            'max' => (int)$value_max,
    12371251        ];
    12381252    }
    12391253
    12401254}
    12411255
    12421256/**
    12431257 * [woolentor_pro_get_taxonomies]
    12441258 * @return [array] product texonomies
    12451259 */
    12461260function woolentor_get_taxonomies( $object = 'product', $skip_terms = false ) {
    12471261    $all_taxonomies = get_object_taxonomies( $object );
    12481262    $taxonomies_list = [];
    12491263    foreach ( $all_taxonomies as $taxonomy_data ) {
    12501264        $taxonomy = get_taxonomy( $taxonomy_data );
    12511265        if( $skip_terms === true ){
    12521266            if( ( $taxonomy->show_ui ) && ( 'pa_' !== substr( $taxonomy_data, 0, 3 ) ) ) {
    12531267                $taxonomies_list[ $taxonomy_data ] = $taxonomy->label;
    12541268            }
    12551269        }else{
    12561270            if( $taxonomy->show_ui ) {
    12571271                $taxonomies_list[ $taxonomy_data ] = $taxonomy->label;
    12581272            }
    12591273        }
    12601274    }
    12611275    return $taxonomies_list;
    12621276}
    12631277
    12641278/**
    12651279 * [woolentor_order_by_opts]
    12661280 * @return [array] [description]
    12671281 */
    12681282function woolentor_order_by_opts() {
    12691283    $options = [
    12701284        'none'                  => esc_html__( 'None', 'woolentor' ),
    12711285        'ID'                    => esc_html__( 'ID', 'woolentor' ),
    12721286        'date'                  => esc_html__( 'Date', 'woolentor' ),
    12731287        'name'                  => esc_html__( 'Name', 'woolentor' ),
    12741288        'title'                 => esc_html__( 'Title', 'woolentor' ),
    12751289        'comment_count'         => esc_html__( 'Comment count', 'woolentor' ),
    12761290        'rand'                  => esc_html__( 'Random', 'woolentor' ),
    12771291        'featured'              => esc_html__( 'Featured', 'woolentor' ),
    12781292        '_price'                => esc_html__( 'Product Price', 'woolentor' ),
    12791293        'total_sales'           => esc_html__( 'Top Seller', 'woolentor' ),
    12801294        '_wc_average_rating'    => esc_html__( 'Top Rated', 'woolentor' ),
    12811295    ];
    12821296    return apply_filters( 'woolentor_order_by_opts', $options );
    12831297
    12841298}
    12851299
    12861300/**
    12871301 * [woolentor_exist_compare_plugin]
    12881302 * @return [bool]
    12891303 */
    12901304function woolentor_exist_compare_plugin(){
    12911305    if( class_exists('Ever_Compare') || class_exists('Woolentor_Ever_Compare') ){
    12921306        return true;
    12931307    }elseif( class_exists('YITH_Woocompare') ){
    12941308        return true;
    12951309    }else{
    12961310        return false;
    12971311    }
    12981312}
    12991313
    13001314/**
    13011315* Usages: Compare button shortcode [yith_compare_button] From "YITH WooCommerce Compare" plugins.
    13021316* Plugins URL: https://wordpress.org/plugins/yith-woocommerce-compare/
    13031317* File Path: yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php
    13041318* The Function "woolentor_compare_button" Depends on YITH WooCommerce Compare plugins. If YITH WooCommerce Compare is installed and actived, then it will work.
    13051319*/
    13061320function woolentor_compare_button( $button_arg = array() ){
    13071321
    13081322    global $product;
    13091323
    13101324    if( $product === null ){
    13111325        $product = function_exists('wc_get_product') ? wc_get_product( woolentor_get_last_product_id() ) : null;
    13121326    }
    13131327
    13141328    $product_id = $product->get_id();
    13151329
    13161330    $button_style       = !empty( $button_arg['style'] ) ? $button_arg['style'] : 1;
    13171331   
    13181332    $button_title       = !empty( $button_arg['title'] ) ? $button_arg['title'] : esc_html__('Add to Compare','woolentor');
    13191333    $button_text        = !empty( $button_arg['btn_text'] ) ? $button_arg['btn_text'] : esc_html__('Add to Compare','woolentor');
    13201334    $button_added_text  = !empty( $button_arg['btn_added_txt'] ) ? $button_arg['btn_added_txt'] : esc_html__( 'Product Added','woolentor' );
    13211335
    13221336    if( class_exists('Ever_Compare') || class_exists('Woolentor_Ever_Compare') ){
    13231337
    13241338        if( !empty( $button_arg['btn_text_type'] ) && $button_arg['btn_text_type'] === 'text'){
    13251339            $button_text        = woolentor_get_option( 'button_text','ever_compare_settings_tabs', 'Compare' );
    13261340            $button_added_text  = woolentor_get_option( 'added_button_text','ever_compare_settings_tabs', 'Added' );
    13271341            $button_title       = $button_text;
    13281342        }
    13291343
    13301344        $comp_link = \EverCompare\Frontend\Manage_Compare::instance()->get_compare_page_url();
    13311345        echo '<a title="'.esc_attr( $button_title ).'" href="'.esc_url( $comp_link ).'" class="htcompare-btn woolentor-compare" data-added-text="'.esc_attr( $button_added_text ).'" data-product_id="'.esc_attr( $product_id ).'" aria-label="'.esc_attr__('Compare','woolentor-pro').'" rel="nofollow">'.$button_text.'</a>';
    13321346
    13331347    }elseif( class_exists('YITH_Woocompare') ){
    13341348        $comp_link = home_url() . '?action=yith-woocompare-add-product';
    13351349        $comp_link = add_query_arg('id', $product_id, $comp_link);
    13361350
    13371351        if( $button_style == 1 ){
    13381352            if( class_exists('YITH_Woocompare_Frontend') ){
    13391353                echo do_shortcode('[yith_compare_button]');
    13401354            }
    13411355        }else{
    13421356            echo '<a title="'. esc_attr__('Add to Compare', 'woolentor') .'" href="'. esc_url( $comp_link ) .'" class="woolentor-compare compare" data-product_id="'. esc_attr( $product_id ) .'" aria-label="'.esc_attr__('Compare','woolentor-pro').'" rel="nofollow">'.esc_html__( 'Compare', 'woolentor' ).'</a>';
    13431357        }
    13441358    }else{
    13451359        return 0;
    13461360    }
    13471361
    13481362}
    13491363
    13501364
    13511365
    13521366/**
    13531367 * [woolentor_has_wishlist_plugin]
    13541368 * @return [bool]
    13551369 */
    13561370function woolentor_has_wishlist_plugin(){
    13571371    if( class_exists('WishSuite_Base') || class_exists('Woolentor_WishSuite_Base') ){
    13581372        return true;
    13591373    }elseif( class_exists('YITH_WCWL') ){
    13601374        return true;
    13611375    }elseif( class_exists('TInvWL_Public_AddToWishlist') ){
    13621376        return true;
    13631377    }else{
    13641378        return apply_filters('woolentor_has_wishlist_plugin', false);
    13651379    }
    13661380}
    13671381
    13681382/**
    13691383* Usages: "woolentor_add_to_wishlist_button()" function is used  to modify the wishlist button from "YITH WooCommerce Wishlist" plugins.
    13701384* Plugins URL: https://wordpress.org/plugins/yith-woocommerce-wishlist/
    13711385* File Path: yith-woocommerce-wishlist/templates/add-to-wishlist.php
    13721386* The below Function depends on YITH WooCommerce Wishlist plugins. If YITH WooCommerce Wishlist is installed and actived, then it will work.
    13731387*/
    13741388
    13751389function woolentor_add_to_wishlist_button( $normalicon = '<i class="fa fa-heart-o"></i>', $addedicon = '<i class="fa fa-heart"></i>', $tooltip = 'no' ) {
    13761390    global $product;
    13771391
    13781392    if( $product === null ){
    13791393        $product = function_exists('wc_get_product') ? wc_get_product( woolentor_get_last_product_id() ) : null;
    13801394    }
    13811395
    13821396    $output = '';
    13831397
    13841398    if( class_exists('WishSuite_Base') || class_exists('Woolentor_WishSuite_Base') ){
    13851399
    13861400        $button_class = ' wishlist'.( $tooltip == 'yes' ? '' : ' wltooltip_no' );
    13871401
    13881402        $button_args = [
    13891403            'btn_class' => $button_class
    13901404        ];
    13911405       
    13921406        add_filter( 'wishsuite_button_arg', function( $button_arg ) use ( $button_args ) {
    13931407            if( strpos( $button_arg['button_class'], 'wishlist' ) == false ){
    13941408                $button_arg['button_class'] .= $button_args['btn_class'];
    13951409            }
    13961410            return $button_arg;
    13971411        }, 90, 1 );
    13981412
    13991413        $output .= do_shortcode('[wishsuite_button]');
    14001414        return $output;
    14011415
    14021416    }elseif( class_exists('TInvWL_Public_AddToWishlist') ){
    14031417        ob_start();
    14041418        TInvWL_Public_AddToWishlist::instance()->htmloutput();
    14051419        $output .= ob_get_clean();
    14061420        return $output;
    14071421
    14081422    }elseif( class_exists( 'YITH_WCWL' ) ){
    14091423
    14101424        if( !empty( get_option( 'yith_wcwl_wishlist_page_id' ) ) ){
    14111425            global $yith_wcwl;
    14121426            $url          = YITH_WCWL()->get_wishlist_url();
    14131427            $product_type = $product->get_type();
    14141428            $exists       = $yith_wcwl->is_product_in_wishlist( $product->get_id() );
    14151429            $classes      = 'class="add_to_wishlist"';
    14161430            $add          = get_option( 'yith_wcwl_add_to_wishlist_text' );
    14171431            $browse       = get_option( 'yith_wcwl_browse_wishlist_text' );
    14181432            $added        = get_option( 'yith_wcwl_product_added_text' );
    14191433
    14201434            $output  .= '<div class="'.( $tooltip == 'yes' ? '' : 'tooltip_no' ).' wishlist button-default yith-wcwl-add-to-wishlist add-to-wishlist-' . esc_attr( $product->get_id() ) . '">';
    14211435                $output .= '<div class="yith-wcwl-add-button';
    14221436                    $output .= $exists ? ' hide" style="display:none;"' : ' show"';
    14231437                    $output .= '><a href="' . esc_url( htmlspecialchars( YITH_WCWL()->get_wishlist_url() ) ) . '" data-product-id="' . esc_attr( $product->get_id() ) . '" data-product-type="' . esc_attr( $product_type ) . '" ' . $classes . ' aria-label="'.esc_attr__('Wishlist','woolentor-pro').'" rel="nofollow">'.$normalicon.'<span class="ht-product-action-tooltip">'.esc_html( $add ).'</span></a>';
    14241438                    $output .= '<i class="fa fa-spinner fa-pulse ajax-loading" style="visibility:hidden"></i>';
    14251439                $output .= '</div>';
    14261440
    14271441                $output .= '<div class="yith-wcwl-wishlistaddedbrowse hide" style="display:none;"><a class="" href="' . esc_url( $url ) . '" aria-label="'.esc_attr__('Wishlist','woolentor-pro').'" rel="nofollow">'.$addedicon.'<span class="ht-product-action-tooltip">'.esc_html( $browse ).'</span></a></div>';
    14281442                $output .= '<div class="yith-wcwl-wishlistexistsbrowse ' . ( $exists ? 'show' : 'hide' ) . '" style="display:' . ( $exists ? 'block' : 'none' ) . '"><a href="' . esc_url( $url ) . '" class="" aria-label="'.esc_attr__('Wishlist','woolentor-pro').'" rel="nofollow">'.$addedicon.'<span class="ht-product-action-tooltip">'.esc_html( $added ).'</span></a></div>';
    14291443            $output .= '</div>';
    14301444
    14311445            return $output;
    14321446        }
    14331447
    14341448    }else{
    14351449        return apply_filters('woolentor_add_to_wishlist_output', 0 ,$normalicon , $addedicon , $tooltip);
    14361450    }
    14371451
    14381452
    14391453}
    14401454
    14411455/*
    14421456* Ajax login Action
    14431457*/
    14441458global $user;
    14451459if ( empty( $user->ID ) ) {
    14461460    add_action('init', 'woolentor_ajax_login_init' );
    14471461}
    14481462
    14491463function woolentor_ajax_login_init() {
    14501464    add_action( 'wp_ajax_nopriv_woolentor_ajax_login', 'woolentor_ajax_login' );
    14511465}
    14521466
    14531467/*
    14541468 * ajax login
    14551469 */
    14561470function woolentor_ajax_login(){
    14571471   
    14581472    // $message = WC_Form_Handler::process_login();
    14591473
    14601474    $all_notices = wc_print_notices( true );
    14611475
    14621476    wp_send_json_success(
    14631477        array(
    14641478            'notices' => $all_notices,
    14651479        )
    14661480    );
    14671481
    14681482    wp_die();
    14691483
    14701484}
    14711485
    14721486/**
    14731487 * Get Image Sizes
    14741488 */
    14751489function woolentor_get_image_size() {
    14761490    $sizes = get_intermediate_image_sizes();
    14771491    $filter = array('full' => 'Full');
    14781492    foreach ( $sizes as $value ) {
    14791493        $filter[$value] = ucwords( str_replace( array('_', '-'), array(' ', ' '), $value ) );
    14801494    }
    14811495    return $filter;
    14821496}
    14831497
    14841498/**
    14851499 * Get Themes
    14861500 *
    14871501 * @return boolean
    14881502 */
    14891503function woolentor_get_theme_byname( $name ){
    14901504    $current_theme = wp_get_theme( $name );
    14911505    return $current_theme->exists();
    14921506}
    14931507/**
    14941508 * Get the directory name of the current theme regardless of the child theme.
    14951509 *
    14961510 * @return The directory name of the theme's "stylesheet" files, inside the theme root.
    14971511 */
    14981512function woolentor_get_current_theme_directory(){
    14991513    $current_theme_dir  = '';
    15001514    $current_theme      = wp_get_theme();
    15011515    if( $current_theme->exists() && $current_theme->parent() ){
    15021516        $parent_theme = $current_theme->parent();
    15031517
    15041518        if( $parent_theme->exists() ){
    15051519            $current_theme_dir = $parent_theme->get_stylesheet();
    15061520        }
    15071521    } elseif( $current_theme->exists() ) {
    15081522        $current_theme_dir = $current_theme->get_stylesheet();
    15091523    }
    15101524
    15111525    return $current_theme_dir;
    15121526}
    15131527
    15141528/*
    15151529 * Products not found content.
    15161530 */
    15171531function woolentor_products_not_found_content(){
    15181532    return '<div class="products-not-found"><p class="woocommerce-info">' . esc_html__( 'No products were found matching your selection.','woolentor' ) . '</p></div>';
    15191533}
    15201534
    15211535/**
    15221536 * Get countries
    15231537 */
    15241538if( !function_exists('woolentor_get_countries') ){
    15251539    function woolentor_get_countries(){
    15261540        $output = array();
    15271541
    15281542        if( class_exists('WC_Countries') ){
    15291543            $countries = new WC_Countries();
    15301544
    15311545            if ( is_object( $countries ) && ! empty( $countries ) ) {
    15321546                $countries = $countries->get_countries();
    15331547
    15341548                if ( is_array( $countries ) && ! empty( $countries ) ) {
    15351549                    $output = $countries;
    15361550                }
    15371551            }
    15381552        }
    15391553
    15401554        return $output;
    15411555    }
    15421556}
    15431557
    15441558/**
    15451559 * Get users
    15461560 */
    15471561if( !function_exists('woolentor_get_users') ){
    15481562    function woolentor_get_users(){
    15491563        $options = array();
    15501564
    15511565        $query = new WP_User_Query( array( 'fields' => array( 'display_name', 'ID' ) ) );
    15521566        if ( ! is_wp_error( $query ) && ! empty( $query->get_results() ) ) {
    15531567            foreach ( $query->get_results() as $item ) {
    15541568                $options[$item->ID] = $item->display_name;
    15551569            }
    15561570            }
    15571571
    15581572        return $options;
    15591573    }
    15601574}
    15611575
    15621576/**
    15631577 * Get user roles
    15641578 */
    15651579if( !function_exists('woolentor_get_user_roles') ){
    15661580    function woolentor_get_user_roles(){
    15671581        global $wp_roles;
    15681582        $options = array();
    15691583
    15701584        if ( ! empty( $wp_roles ) ) {
    15711585            if ( ! empty( $wp_roles->roles ) ) {
    15721586                foreach ( $wp_roles->roles as $role_key => $role_value ) {
    15731587                    $options[$role_key] = $role_value['name'];
    15741588                }
    15751589            }
    15761590        }
    15771591
    15781592        return $options;
    15791593    }
    15801594}
  • woolentor-addons/trunk/includes/modules/compare/assets/js/frontend.js

    r3037382 r3044764  
    11(function ($) {
    22  "use strict";
    33
    44  var $body = $("body"),
    55    $popup = $(".htcompare-popup");
    66
    77  // Add product in compare table
    88  $body.on("click", "a.htcompare-btn", function (e) {
    99    var $this = $(this),
    1010      id = $this.data("product_id"),
    1111      addedText = $this.data("added-text");
    1212
    1313    if (evercompare.popup === "yes") {
    1414      e.preventDefault();
    1515      if ($this.hasClass("added")) {
    1616        $body.find(".htcompare-popup").addClass("open");
    1717        return true;
    1818      }
    1919    } else {
    2020      if ($this.hasClass("added")) return true;
    2121    }
    2222
    2323    e.preventDefault();
    2424
    2525    $this.addClass("loading");
    2626
    2727    $.ajax({
    2828      url: evercompare.ajaxurl,
    2929      data: {
    3030        action: "ever_compare_add_to_compare",
    3131        id: id,
    3232      },
    3333      dataType: "json",
    3434      method: "GET",
    3535      success: function (response) {
    3636        if (response.table) {
    3737          updateCompareData(response);
    3838          if (evercompare.popup === "yes") {
    3939            $popup.addClass("open");
    4040          } else {
    4141            window.location.replace(evercompare.tableurl);
    4242          }
    4343        } else {
    4444          console.log("Something wrong loading compare data");
    4545        }
    4646      },
    4747      error: function (data) {
    4848        console.log("Something wrong with AJAX response.");
    4949      },
    5050      complete: function () {
    5151        $this.removeClass("loading").addClass("added");
    5252        $this.html('<span class="htcompare-btn-text">' + addedText + "</span>");
    5353      },
    5454    });
    5555  });
    5656
    5757  // Remove data from compare table
    5858  $body.on("click", "a.htcompare-remove", function (e) {
    5959    var $table = $(".htcompare-table");
    6060
    6161    e.preventDefault();
    6262    var $this = $(this),
    6363      id = $this.data("product_id");
    6464
    6565    $table.addClass("loading");
    6666    $this.addClass("loading");
    6767
    6868    jQuery.ajax({
    6969      url: evercompare.ajaxurl,
    7070      data: {
    7171        action: "ever_compare_remove_from_compare",
    7272        id: id,
    7373      },
    7474      dataType: "json",
    7575      method: "GET",
    7676      success: function (response) {
    7777        if (response.table) {
    7878          updateCompareData(response);
    7979        } else {
    8080          console.log("Something wrong loading compare data");
    8181        }
    8282      },
    8383      error: function (data) {
    8484        console.log("Something wrong with AJAX response.");
    8585      },
    8686      complete: function () {
    8787        $table.removeClass("loading");
    8888        $this.addClass("loading");
    8989      },
    9090    });
    9191  });
    9292
    9393  // Update table HTML
    9494  function updateCompareData(data) {
    9595    if ($(".htcompare-table").length > 0) {
    9696      $(".htcompare-table").replaceWith(data.table);
    9797      $(".evercompare-copy-link").on("click", function (e) {
    9898        evercompareCopyToClipboard(
    9999          $(this)
    100100            .closest(".ever-compare-shareable-link")
    101101            .find(".evercompare-share-link"),
    102102          this
    103103        );
    104104      });
    105105    }
    106106  }
    107107
    108108  // Close popup
    109109  $body.on("click", ".htcompare-popup-close", function (e) {
     110    $(this).parents(".htcompare-popup.open").removeClass("open");
    110111    $popup.removeClass("open");
    111112  });
    112113
    113114  // Copy Shareable link
    114115  $(".evercompare-copy-link").on("click", function (e) {
    115116    evercompareCopyToClipboard(
    116117      $(this)
    117118        .closest(".ever-compare-shareable-link")
    118119        .find(".evercompare-share-link"),
    119120      this
    120121    );
    121122  });
    122123  function evercompareCopyToClipboard(element, button) {
    123124    var $tempdata = $("<input>");
    124125    $("body").append($tempdata);
    125126    $tempdata.val($(element).text()).select();
    126127    document.execCommand("copy");
    127128    $tempdata.remove();
    128129    $(button).text($(button).data("copytext"));
    129130    setTimeout(function () {
    130131      $(button).text($(button).data("btntext"));
    131132    }, 1000);
    132133  }
    133134})(jQuery);
  • woolentor-addons/trunk/includes/modules/compare/assets/js/frontend.min.js

    r3037382 r3044764  
    1 !function(e){"use strict";var a=e("body"),o=e(".htcompare-popup");function t(a){e(".htcompare-table").length>0&&(e(".htcompare-table").replaceWith(a.table),e(".evercompare-copy-link").on("click",(function(a){n(e(this).closest(".ever-compare-shareable-link").find(".evercompare-share-link"),this)})))}function n(a,o){var t=e("<input>");e("body").append(t),t.val(e(a).text()).select(),document.execCommand("copy"),t.remove(),e(o).text(e(o).data("copytext")),setTimeout((function(){e(o).text(e(o).data("btntext"))}),1e3)}a.on("click","a.htcompare-btn",(function(n){var r=e(this),c=r.data("product_id"),l=r.data("added-text");if("yes"===evercompare.popup){if(n.preventDefault(),r.hasClass("added"))return a.find(".htcompare-popup").addClass("open"),!0}else if(r.hasClass("added"))return!0;n.preventDefault(),r.addClass("loading"),e.ajax({url:evercompare.ajaxurl,data:{action:"ever_compare_add_to_compare",id:c},dataType:"json",method:"GET",success:function(e){e.table?(t(e),"yes"===evercompare.popup?o.addClass("open"):window.location.replace(evercompare.tableurl)):console.log("Something wrong loading compare data")},error:function(e){console.log("Something wrong with AJAX response.")},complete:function(){r.removeClass("loading").addClass("added"),r.html('<span class="htcompare-btn-text">'+l+"</span>")}})})),a.on("click","a.htcompare-remove",(function(a){var o=e(".htcompare-table");a.preventDefault();var n=e(this),r=n.data("product_id");o.addClass("loading"),n.addClass("loading"),jQuery.ajax({url:evercompare.ajaxurl,data:{action:"ever_compare_remove_from_compare",id:r},dataType:"json",method:"GET",success:function(e){e.table?t(e):console.log("Something wrong loading compare data")},error:function(e){console.log("Something wrong with AJAX response.")},complete:function(){o.removeClass("loading"),n.addClass("loading")}})})),a.on("click",".htcompare-popup-close",(function(e){o.removeClass("open")})),e(".evercompare-copy-link").on("click",(function(a){n(e(this).closest(".ever-compare-shareable-link").find(".evercompare-share-link"),this)}))}(jQuery);
     1!function(e){"use strict";var a=e("body"),o=e(".htcompare-popup");function t(a){e(".htcompare-table").length>0&&(e(".htcompare-table").replaceWith(a.table),e(".evercompare-copy-link").on("click",(function(a){n(e(this).closest(".ever-compare-shareable-link").find(".evercompare-share-link"),this)})))}function n(a,o){var t=e("<input>");e("body").append(t),t.val(e(a).text()).select(),document.execCommand("copy"),t.remove(),e(o).text(e(o).data("copytext")),setTimeout((function(){e(o).text(e(o).data("btntext"))}),1e3)}a.on("click","a.htcompare-btn",(function(n){var r=e(this),c=r.data("product_id"),p=r.data("added-text");if("yes"===evercompare.popup){if(n.preventDefault(),r.hasClass("added"))return a.find(".htcompare-popup").addClass("open"),!0}else if(r.hasClass("added"))return!0;n.preventDefault(),r.addClass("loading"),e.ajax({url:evercompare.ajaxurl,data:{action:"ever_compare_add_to_compare",id:c},dataType:"json",method:"GET",success:function(e){e.table?(t(e),"yes"===evercompare.popup?o.addClass("open"):window.location.replace(evercompare.tableurl)):console.log("Something wrong loading compare data")},error:function(e){console.log("Something wrong with AJAX response.")},complete:function(){r.removeClass("loading").addClass("added"),r.html('<span class="htcompare-btn-text">'+p+"</span>")}})})),a.on("click","a.htcompare-remove",(function(a){var o=e(".htcompare-table");a.preventDefault();var n=e(this),r=n.data("product_id");o.addClass("loading"),n.addClass("loading"),jQuery.ajax({url:evercompare.ajaxurl,data:{action:"ever_compare_remove_from_compare",id:r},dataType:"json",method:"GET",success:function(e){e.table?t(e):console.log("Something wrong loading compare data")},error:function(e){console.log("Something wrong with AJAX response.")},complete:function(){o.removeClass("loading"),n.addClass("loading")}})})),a.on("click",".htcompare-popup-close",(function(a){e(this).parents(".htcompare-popup.open").removeClass("open"),o.removeClass("open")})),e(".evercompare-copy-link").on("click",(function(a){n(e(this).closest(".ever-compare-shareable-link").find(".evercompare-share-link"),this)}))}(jQuery);
  • woolentor-addons/trunk/includes/modules/compare/includes/classes/Frontend/Shortcode.php

    r3037382 r3044764  
    11<?php
    22namespace EverCompare\Frontend;
    33/**
    44 * Shortcode handler class
    55 */
    66class Shortcode {
    77
    88    /**
    99     * [$_instance]
    1010     * @var null
    1111     */
    1212    private static $_instance = null;
    1313
    1414    /**
    1515     * [instance] Initializes a singleton instance
    1616     * @return [Base]
    1717     */
    1818    public static function instance() {
    1919        if ( is_null( self::$_instance ) ) {
    2020            self::$_instance = new self();
    2121        }
    2222        return self::$_instance;
    2323    }
    2424
    2525    /**
    2626     * Initializes the class
    2727     */
    2828    function __construct() {
    2929        add_shortcode( 'evercompare_button', [ $this, 'button_shortcode' ] );
    3030        add_shortcode( 'evercompare_table', [ $this, 'table_shortcode' ] );
    3131    }
    3232
    3333    /**
    3434     * [button_shortcode] Compare Button Shortcode callable function
    3535     * @param  [type] $atts
    3636     * @param  string $content
    3737     * @return [HTML]
    3838     */
    3939    public function button_shortcode( $atts, $content = '' ){
    4040
    4141        wp_enqueue_style( 'evercompare-frontend' );
    4242        wp_enqueue_script( 'evercompare-frontend' );
    4343
    4444        global $product;
     45        $product_id = is_a( $product, 'WC_Product' ) ? $product->get_id() : get_the_ID();
    4546
    4647        // Fetch option data
    4748        $button_text        = woolentor_get_option( 'button_text','ever_compare_settings_tabs', 'Compare' );
    4849        $button_added_text  = woolentor_get_option( 'added_button_text','ever_compare_settings_tabs', 'Added' );
    4950
    5051        $shop_page_btn_position     = woolentor_get_option( 'shop_btn_position', 'ever_compare_settings_tabs', 'after_cart_btn' );
    5152        $product_page_btn_position  = woolentor_get_option( 'product_btn_position', 'ever_compare_settings_tabs', 'after_cart_btn' );
    5253        $button_style               = woolentor_get_option( 'button_style', 'ever_compare_style_tabs', 'theme' );
    5354
    5455        $button_class = array(
    5556            'htcompare-btn',
    5657            'htcompare-btn-style-'.$button_style,
    5758            'htcompare-shop-'.$shop_page_btn_position,
    5859            'htcompare-product-'.$product_page_btn_position,
    5960        );
    6061
    6162        if( $button_style === 'theme' ){
    6263            $button_class[] = 'button';
    6364        }
    6465
    6566        $button_icon        = $this->get_icon();
    6667        $added_button_icon  = $this->get_icon('added_');
    6768       
    6869        if( !empty( $button_text ) ){
    6970            $button_text = '<span class="evercompare-btn-text">'.$button_text.'</span>';
    7071        }
    7172
    7273        if( !empty( $button_added_text ) ){
    7374            $button_added_text = '<span class="evercompare-btn-text">'.$button_added_text.'</span>';
    7475        }
    7576
    7677        // Shortcode atts
    7778        $default_atts = array(
    78             'product_id'        => $product->get_id(),
     79            'product_id'        => $product_id,
    7980            'button_url'        => Manage_Compare::instance()->get_compare_page_url(),
    8081            'button_class'      => implode(' ', $button_class ),
    8182            'button_text'       => $button_icon.$button_text,
    8283            'button_added_text' => $added_button_icon.$button_added_text,
    8384            'template_name'     => 'add',
    8485        );
    8586
    8687        $atts = shortcode_atts( $default_atts, $atts, $content );
    8788        return Manage_Compare::instance()->button_html( $atts );
    8889
    8990    }
    9091
    9192    /**
    9293     * [table_shortcode] Compare table shortcode callable function
    9394     * @param  [type] $atts
    9495     * @param  string $content
    9596     * @return [HTML]
    9697     */
    9798    public function table_shortcode( $atts, $content = '' ){
    9899       
    99100        wp_enqueue_style( 'evercompare-frontend' );
    100101        wp_enqueue_script( 'evercompare-frontend' );
    101102
    102103        /* Fetch From option data */
    103104        $empty_compare_text = woolentor_get_option('empty_table_text','ever_compare_table_settings_tabs');
    104105        $return_shop_button = woolentor_get_option('shop_button_text','ever_compare_table_settings_tabs','Return to shop');
    105106
    106107        /* Product and Field */
    107108        $products   = Manage_Compare::instance()->get_compared_products_data();
    108109        $fields     = Manage_Compare::instance()->get_compare_fields();
    109110
    110111        $custom_heading = !empty( woolentor_get_option( 'table_heading', 'ever_compare_table_settings_tabs' ) ) ? woolentor_get_option( 'table_heading', 'ever_compare_table_settings_tabs' ) : array();
    111112
    112113        $default_atts = array(
    113114            'evercompare'  => Manage_Compare::instance(),
    114115            'products'     => $products,
    115116            'fields'       => $fields,
    116117            'return_shop_button'=> $return_shop_button,
    117118            'heading_txt'       => $custom_heading,
    118119            'empty_compare_text'=> $empty_compare_text,
    119120        );
    120121
    121122        $atts = shortcode_atts( $default_atts, $atts, $content );
    122123        return Manage_Compare::instance()->table_html( $atts );
    123124
    124125    }
    125126
    126127    /**
    127128     * [get_icon]
    128129     * @param  string $type
    129130     * @return [HTML]
    130131     */
    131132    public function get_icon( $type = '' ){
    132133
    133134        $default_icon   = ever_compare_icon_list('default');
    134135        $default_loader = '<span class="ever-compare-loader">'.ever_compare_icon_list('loading').'</span>';
    135136       
    136137        $button_text = ( $type === 'added' ) ? woolentor_get_option( 'added_button_text','ever_compare_settings_tabs', 'Added' ) : woolentor_get_option( 'button_text','ever_compare_settings_tabs', 'Compare' );
    137138
    138139        $button_icon_type   = woolentor_get_option( $type.'button_icon_type', 'ever_compare_settings_tabs', 'default' );
    139140
    140141        if( $button_icon_type === 'custom' ){
    141142            $button_icon = woolentor_get_option( $type.'button_custom_icon','ever_compare_settings_tabs', '' );
    142143        }elseif( $button_icon_type === 'default' ){
    143144            return $default_icon;
    144145        }else{
    145146            $button_icon = '';
    146147        }
    147148
    148149        if( !empty( $button_icon ) ){
    149150            $button_icon = '<span class="ever-compare-btn-image"><img src="'.esc_url( $button_icon ).'" alt="'.esc_attr( $button_text ).'"></span>';
    150151        }
    151152
    152153        return $default_loader.$button_icon;
    153154       
    154155    }
    155156
    156157
    157158}
  • woolentor-addons/trunk/includes/modules/compare/includes/templates/evercompare-button-add.php

    r3037382 r3044764  
    1 <span class="htcompare-button-area"><a href="<?php echo esc_url( $button_url ); ?>" class="<?php echo $button_class; ?>" data-added-text="<?php echo esc_attr__( $button_added_text, 'ever-compare'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo $button_text; ?></a></span>
     1<span class="htcompare-button-area"><a href="<?php echo esc_url( $button_url ); ?>" class="<?php echo esc_attr__($button_class); ?>" data-added-text="<?php echo esc_attr__( $button_added_text, 'ever-compare'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo __($button_text); ?></a></span>
  • woolentor-addons/trunk/includes/modules/wishlist/includes/templates/wishsuite-button-add.php

    r3037382 r3044764  
    1 <a href="<?php echo esc_url( $button_url ); ?>" class="<?php echo $button_class; ?>" data-added-text="<?php echo esc_attr__( $button_added_text, 'wishsuite'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo $button_text; ?></a>
     1<a href="<?php echo esc_url( $button_url ); ?>" class="<?php echo esc_attr( $button_class ); ?>" data-added-text="<?php echo esc_attr__( $button_added_text, 'wishsuite'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo __($button_text); ?></a>
  • woolentor-addons/trunk/includes/modules/wishlist/includes/templates/wishsuite-button-exist.php

    r3037382 r3044764  
    1 <a href="<?php echo esc_url( $button_url ); ?>" class="wishsuite-btn-exist <?php echo $button_class; ?>" data-added-text="<?php echo esc_attr__( $button_exist_text, 'wishsuite'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo $button_exist_text; ?></a>
     1<a href="<?php echo esc_url( $button_url ); ?>" class="wishsuite-btn-exist <?php echo esc_attr($button_class); ?>" data-added-text="<?php echo esc_attr__( $button_exist_text, 'wishsuite'); ?>" data-product_id="<?php echo esc_attr( $product_id ); ?>"><?php echo __($button_exist_text); ?></a>
  • woolentor-addons/trunk/languages/woolentor.pot

    r3037382 r3044764  
    11#, fuzzy
    22msgid ""
    33msgstr ""
    44"Project-Id-Version: ShopLentor – WooCommerce Builder for Elementor & "
    55"Gutenberg\n"
    66"Report-Msgid-Bugs-To: \n"
    7 "POT-Creation-Date: 2024-02-18 06:07+0000\n"
     7"POT-Creation-Date: 2024-03-03 05:31+0000\n"
    88"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    99"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    1010"Language-Team: \n"
    1111"Language: \n"
    1212"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    1313"MIME-Version: 1.0\n"
    1414"Content-Type: text/plain; charset=UTF-8\n"
    1515"Content-Transfer-Encoding: 8bit\n"
    1616"X-Generator: Loco https://localise.biz/\n"
    1717"X-Loco-Version: 2.6.6; wp-6.4.3\n"
    1818"X-Domain: woolentor"
    1919
    2020#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:392
    2121msgid " Starts With"
    2222msgstr ""
    2323
    2424#. %s: Product title
    2525#: includes/modules/variation-swatch/includes/ajax-actions.php:88
    2626#, php-format
    2727msgid "\"%1$s\" has been added to your cart. %2$s"
    2828msgstr ""
    2929
    3030#. 1: Plugin name 2: PHP 3: Required PHP version
    3131#: includes/base.php:174
    3232#, php-format
    3333msgid "\"%1$s\" requires \"%2$s\" version %3$s or greater."
    3434msgstr ""
    3535
    3636#: includes/addons/product_flash_sale.php:626
    3737msgid "\"Out of stock\" BG Color"
    3838msgstr ""
    3939
    4040#: includes/addons/product_flash_sale.php:614
    4141msgid "\"Out of stock\" Text Color"
    4242msgstr ""
    4343
    4444#: includes/addons/wl_onepage_slider.php:476
    4545#: includes/addons/wl_onepage_slider.php:481
    4646#: includes/addons/wl_onepage_slider.php:486
    4747msgid "#"
    4848msgstr ""
    4949
    5050#: includes/base.php:149
    5151#, php-format
    5252msgid ""
    5353"%1$sShopLentor Addons for Elementor%2$s requires %1$s\"WooCommerce\"%2$s "
    5454"plugin to be active. Please activate WooCommerce to continue."
    5555msgstr ""
    5656
    5757#: includes/base.php:153
    5858#, php-format
    5959msgid ""
    6060"%1$sShopLentor Addons for Elementor%2$s requires %1$s\"WooCommerce\"%2$s "
    6161"plugin to be installed and activated. Please install WooCommerce to continue."
    6262msgstr ""
    6363
    6464#: classes/class.default_data.php:310
    6565#, php-format
    6666msgid "%s customer review"
    6767msgid_plural "%s customer reviews"
    6868msgstr[0] ""
    6969msgstr[1] ""
    7070
    7171#: woolentor-blocks/src/blocks/product-reviews/index.php:26
    7272#: woolentor-blocks/src/blocks/product-reviews/index.php:47
    7373#: woolentor-blocks/production/src/blocks/product-reviews/index.php:26
    7474#: woolentor-blocks/production/src/blocks/product-reviews/index.php:47
    7575msgid "*"
    7676msgstr ""
    7777
    7878#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:186
    7979msgid "+ Add Condition"
    8080msgstr ""
    8181
    8282#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:188
    8383#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:203
    8484#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:217
    8585msgid "-------"
    8686msgstr ""
    8787
    8888#: includes/admin/templates/dashboard-sidebar.php:25
    8989msgid ". Which will motivate us a lot."
    9090msgstr ""
    9191
    9292#: includes/addons/product_flash_sale.php:105
    9393#: includes/addons/product_curvy.php:82 includes/addons/product_curvy.php:100
    9494#: includes/addons/product_tabs.php:96
    9595#: woolentor-blocks/src/blocks/product-reviews/index.php:29
    9696#: woolentor-blocks/production/src/blocks/product-reviews/index.php:29
    9797msgid "1"
    9898msgstr ""
    9999
    100100#: includes/admin/templates/dashboard-sidebar.php:13
    101101msgid "10+ Custom Shop Page Templates"
    102102msgstr ""
    103103
    104104#: includes/admin/templates/dashboard-sidebar.php:11
    105105msgid "100+ Elementor Elements"
    106106msgstr ""
    107107
    108108#: includes/addons/wb_product_call_for_price.php:63
    109109#: includes/addons/wb_product_call_for_price.php:64
    110110msgid "123-456-7890"
    111111msgstr ""
    112112
    113113#: includes/admin/templates/dashboard-sidebar.php:12
    114114msgid "15+ Product Custom Templates"
    115115msgstr ""
    116116
    117117#: includes/addons/product_flash_sale.php:106
    118118#: includes/addons/product_curvy.php:83 includes/addons/product_curvy.php:101
    119119#: includes/addons/product_tabs.php:97
    120120#: woolentor-blocks/src/blocks/product-reviews/index.php:30
    121121#: woolentor-blocks/production/src/blocks/product-reviews/index.php:30
    122122msgid "2"
    123123msgstr ""
    124124
    125125#: includes/addons/product_flash_sale.php:107
    126126#: includes/addons/product_curvy.php:84 includes/addons/product_tabs.php:98
    127127#: woolentor-blocks/src/blocks/product-reviews/index.php:31
    128128#: woolentor-blocks/production/src/blocks/product-reviews/index.php:31
    129129msgid "3"
    130130msgstr ""
    131131
    132132#: includes/addons/product_flash_sale.php:108
    133133#: includes/addons/product_curvy.php:85 includes/addons/product_tabs.php:99
    134134#: woolentor-blocks/src/blocks/product-reviews/index.php:32
    135135#: woolentor-blocks/production/src/blocks/product-reviews/index.php:32
    136136msgid "4"
    137137msgstr ""
    138138
    139139#: includes/modules/popup-builder/includes/class-repeater-helper.php:179
    140140msgid "404 Page"
    141141msgstr ""
    142142
    143143#: includes/addons/product_flash_sale.php:109
    144144#: includes/addons/product_tabs.php:100
    145145#: woolentor-blocks/src/blocks/product-reviews/index.php:33
    146146#: woolentor-blocks/production/src/blocks/product-reviews/index.php:33
    147147msgid "5"
    148148msgstr ""
    149149
    150150#: includes/addons/special_day_offer.php:115
    151151msgid "50%"
    152152msgstr ""
    153153
    154154#: includes/addons/product_flash_sale.php:110
    155155#: includes/addons/product_tabs.php:101
    156156msgid "6"
    157157msgstr ""
    158158
    159159#: includes/addons/product_tabs.php:1501 includes/addons/product_tabs.php:1631
    160160#: woolentor-blocks/src/blocks/product-tab/loop-item.php:39
    161161#: woolentor-blocks/production/src/blocks/product-tab/loop-item.php:39
    162162msgid ":"
    163163msgstr ""
    164164
    165165#: woolentor-blocks/src/blocks/product-curvy/index.php:98
    166166#: woolentor-blocks/production/src/blocks/product-curvy/index.php:98
    167167msgid "<i class=\"fa fa-shopping-cart\"></i>"
    168168msgstr ""
    169169
    170170#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:79
    171171msgid "Action"
    172172msgstr ""
    173173
    174174#: includes/addons/product_tabs.php:1125
    175175msgid "Action Button"
    176176msgstr ""
    177177
    178178#: includes/addons/product_flash_sale.php:642
    179179#: includes/addons/product_image_accordion.php:522
    180180#: includes/addons/product_accordion.php:601
    181181#: includes/addons/product_curvy.php:726
    182182msgid "Action Button Style"
    183183msgstr ""
    184184
    185185#: includes/admin/include/template-library.php:190
    186186#: includes/admin/include/template-library.php:243
    187187#: includes/admin/include/class.extension-manager.php:159
    188188#: includes/admin/include/class.extension-manager.php:226
    189189msgid "Activate"
    190190msgstr ""
    191191
    192192#: includes/base.php:148
    193193msgid "Activate WooCommerce"
    194194msgstr ""
    195195
    196196#: includes/admin/include/template-library.php:202
    197197#: includes/admin/include/template-library.php:254
    198198#: includes/admin/include/class.extension-manager.php:170
    199199#: includes/admin/include/class.extension-manager.php:237
    200200msgid "Activated"
    201201msgstr ""
    202202
    203203#: classes/class.assest_management.php:372
    204204msgid "Activating.."
    205205msgstr ""
    206206
    207207#: classes/class.assest_management.php:373 includes/addons/wl_faq.php:464
    208208#: includes/addons/wl_faq.php:760 includes/addons/wb_product_data_tab.php:187
    209209#: includes/addons/wb_archive_product.php:758
    210210msgid "Active"
    211211msgstr ""
    212212
    213213#: includes/addons/wl_product_filter.php:582
    214214msgid "Active Slider Background"
    215215msgstr ""
    216216
    217217#: includes/addons/product_image_accordion.php:73
    218218#: includes/addons/product_accordion.php:94
    219219#: includes/addons/product_curvy.php:129
    220220msgid "Add ID Manually"
    221221msgstr ""
    222222
    223223#: includes/admin/include/admin_field-manager.php:451
    224224msgid "Add Item"
    225225msgstr ""
    226226
    227227#: includes/admin/include/class.template_cpt.php:54
    228228msgid "Add New"
    229229msgstr ""
    230230
    231231#: includes/admin/include/class.template_cpt.php:53
    232232msgid "Add New Template"
    233233msgstr ""
    234234
    235235#: includes/addons/wl_recently_viewed_products.php:406
    236236#: includes/addons/wb_wishsuite_table.php:347
    237 #: woolentor-blocks/includes/classes/Api/Api.php:191
    238 #: woolentor-blocks/production/includes/classes/Api/Api.php:191
     237#: woolentor-blocks/includes/classes/Api/Api.php:223
     238#: woolentor-blocks/production/includes/classes/Api/Api.php:223
    239239msgid "Add To Cart"
    240240msgstr ""
    241241
    242242#: includes/addons/wb_product_add_to_cart.php:1020
    243243#: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:1025
    244244msgid "Add to Cart"
    245245msgstr ""
    246246
    247247#: includes/addons/wb_archive_product.php:542
    248248msgid "Add To Cart Button"
    249249msgstr ""
    250250
    251251#: includes/addons/product_image_accordion.php:200
    252252#: includes/addons/product_accordion.php:221
    253253#: includes/addons/product_curvy.php:244
    254254msgid "Add to Cart Button Icon"
    255255msgstr ""
    256256
    257257#: includes/addons/product_image_accordion.php:189
    258258#: includes/addons/product_accordion.php:209
    259259msgid "Add to Cart Button Text"
    260260msgstr ""
    261261
    262 #: includes/helper-function.php:1318 includes/helper-function.php:1319
    263 #: includes/helper-function.php:1342
     262#: includes/helper-function.php:1332 includes/helper-function.php:1333
     263#: includes/helper-function.php:1356
    264264#: woolentor-blocks/includes/helper-functions.php:593
    265265#: woolentor-blocks/includes/helper-functions.php:594
    266266#: woolentor-blocks/includes/helper-functions.php:610
    267267#: woolentor-blocks/production/includes/helper-functions.php:593
    268268#: woolentor-blocks/production/includes/helper-functions.php:594
    269269#: woolentor-blocks/production/includes/helper-functions.php:610
    270270msgid "Add to Compare"
    271271msgstr ""
    272272
    273273#: includes/class.product_video_gallery.php:30
    274274msgid "Add Youtube / Vimeo URL"
    275275msgstr ""
    276276
    277277#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:330
    278278msgid "add_to_cart"
    279279msgstr ""
    280280
    281281#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:205
    282282#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:206
    283283msgid "Added"
    284284msgstr ""
    285285
    286286#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:249
    287287msgid "Added button custom icon"
    288288msgstr ""
    289289
    290290#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:236
    291291msgid "Added button icon type"
    292292msgstr ""
    293293
    294294#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:202
    295295msgid "Added button text"
    296296msgstr ""
    297297
    298298#: includes/modules/shopify-like-checkout/templates/form-shipping.php:44
    299299msgid "Additional information"
    300300msgstr ""
    301301
    302302#: includes/addons/wl_faq.php:183
    303303#: includes/addons/wl_product_horizontal_filter.php:242
    304304#: includes/addons/wl_product_filter.php:87
    305305msgid "Additional Options"
    306306msgstr ""
    307307
    308308#: classes/class.widgets_control.php:228
    309309msgid "Adds Banner"
    310310msgstr ""
    311311
    312312#: includes/addons/wb_product_suggest_price.php:87
    313313#: includes/addons/wb_product_suggest_price.php:88
    314314msgid "admin@domain.com"
    315315msgstr ""
    316316
    317317#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:111
    318318msgid "Advanced"
    319319msgstr ""
    320320
    321321#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:123
    322322msgid "After"
    323323msgstr ""
    324324
    325325#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:96
    326326#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:143
    327327msgid "After Add To Cart"
    328328msgstr ""
    329329
    330330#: includes/addons/wb_product_add_to_cart.php:503
    331331msgid "After Add to Cart"
    332332msgstr ""
    333333
    334334#: includes/addons/wl_category_grid.php:649
    335335msgid "After Border Color"
    336336msgstr ""
    337337
    338338#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:144
    339339msgid "After Image"
    340340msgstr ""
    341341
    342342#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:286
    343343msgid "After Inactivity"
    344344msgstr ""
    345345
    346346#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:145
    347347msgid "After Summary"
    348348msgstr ""
    349349
    350350#: includes/addons/wl_faq.php:246
    351351msgid "After Title"
    352352msgstr ""
    353353
    354354#: includes/admin/templates/dashboard-freevspro.php:71
    355355msgid "Ajax Add to Cart (In Product Detail Page)"
    356356msgstr ""
    357357
    358358#: includes/admin/templates/dashboard-freevspro.php:109
    359359msgid "Ajax Search Widget"
    360360msgstr ""
    361361
    362362#: includes/addons/wl_faq.php:350 includes/addons/wl_faq.php:573
    363363#: includes/addons/wb_product_short_description.php:53
    364364#: includes/addons/wl_breadcrumbs.php:74
    365365#: includes/addons/wb_wishsuite_counter.php:65
    366366#: includes/addons/wl_product_horizontal_filter.php:790
    367367#: includes/addons/wl_onepage_slider.php:169
    368368#: includes/addons/special_day_offer.php:269
    369369#: includes/addons/wl_store_features.php:139
    370370#: includes/addons/wb_product_data_tab.php:156
    371371#: includes/addons/wb_archive_product.php:233
    372372#: includes/addons/wl_archive_title.php:108
    373373#: includes/addons/wb_product_qr_code.php:87
    374374#: includes/addons/wb_product_related.php:165
    375375#: includes/addons/wb_archive_result_count.php:79
    376376#: includes/addons/wb_product_description.php:51
    377377#: includes/addons/wl_category.php:309 includes/addons/wl_brand.php:294
    378378#: includes/addons/wb_product_categories.php:60
    379379#: includes/addons/wb_product_rating.php:96
    380380#: includes/addons/wb_product_title.php:103
    381381#: includes/addons/wb_product_sku.php:60
    382382#: includes/addons/wb_customer_review.php:286
    383383#: includes/addons/wl_recently_viewed_products.php:246
    384384#: includes/addons/product_tabs.php:241 includes/addons/product_tabs.php:962
    385385#: includes/addons/product_tabs.php:1041
    386386#: includes/addons/wl_category_grid.php:730
    387387#: includes/addons/wb_product_tags.php:60
    388388#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:55
    389389msgid "Alignment"
    390390msgstr ""
    391391
    392392#: includes/admin/include/template-library/templates_list.php:29
    393393msgid "ALL"
    394394msgstr ""
    395395
    396396#: includes/addons/wb_wc_multicurrency.php:58
    397397#: includes/admin/include/class.template-manager.php:377
    398398#: includes/modules/popup-builder/includes/class-repeater-helper.php:99
    399399msgid "All"
    400400msgstr ""
    401401
    402402#: includes/modules/popup-builder/includes/class-repeater-helper.php:156
    403403msgid "All Archives"
    404404msgstr ""
    405405
    406406#: includes/admin/include/class.template-manager.php:486
    407407msgid "All Assigned Template has been imported"
    408408msgstr ""
    409409
    410410#: includes/admin/include/template-library/templates_list.php:18
    411411msgid "All Builders"
    412412msgstr ""
    413413
    414414#: includes/addons/wl_category_grid.php:75
    415415#: includes/modules/ajax-search/base.php:133
    416416msgid "All Categories"
    417417msgstr ""
    418418
    419419#: includes/addons/wl_category.php:97 includes/addons/wl_category_grid.php:76
    420420msgid "All Categories (Parent Only)"
    421421msgstr ""
    422422
    423423#: includes/admin/include/class.template-manager.php:473
    424424msgid "All Data Saved"
    425425msgstr ""
    426426
    427427#: includes/admin/templates/dashboard-freevspro.php:226
    428428#: includes/admin/templates/dashboard-freevspro.php:273
    429429msgid "All Features"
    430430msgstr ""
    431431
    432432#: classes/class.assest_management.php:361
    433433msgid "All Items have been Loaded"
    434434msgstr ""
    435435
    436436#: includes/modules/popup-builder/includes/class-repeater-helper.php:173
    437437msgid "All Singular"
    438438msgstr ""
    439439
    440440#: includes/addons/wb_archive_product.php:99
    441441msgid "Allow Order"
    442442msgstr ""
    443443
    444444#: includes/addons/wb_product_add_to_cart.php:1279
    445445#: woolentor-blocks/src/blocks/product-addtocart/manager.php:116
    446446#: woolentor-blocks/production/src/blocks/product-addtocart/manager.php:116
    447447msgid "Already Compared"
    448448msgstr ""
    449449
    450450#: includes/modules/shopify-like-checkout/templates/form-checkout.php:59
    451451msgid "Already have an account?"
    452452msgstr ""
    453453
    454454#. Description of the plugin
    455455msgid ""
    456456"An all-in-one WooCommerce solution to create a beautiful WooCommerce store."
    457457msgstr ""
    458458
    459459#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:269
    460460msgid "Animation"
    461461msgstr ""
    462462
    463463#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:389
    464464msgid "Animation Duration (sec)"
    465465msgstr ""
    466466
    467467#: includes/addons/wl_testimonial.php:84 includes/addons/wl_testimonial.php:145
    468468msgid "Anna Miller"
    469469msgstr ""
    470470
    471471#: includes/modules/shopify-like-checkout/templates/form-coupon.php:21
    472472msgid "Apply"
    473473msgstr ""
    474474
    475475#: includes/modules/shopify-like-checkout/templates/form-coupon.php:21
    476476msgid "Apply coupon"
    477477msgstr ""
    478478
    479479#: includes/admin/include/class.template-manager.php:266
    480480#: includes/admin/include/class.template-manager.php:289
    481481msgid "Archive"
    482482msgstr ""
    483483
    484484#: classes/class.widgets_control.php:408
    485485msgid "Archive Catalog Ordering"
    486486msgstr ""
    487487
    488488#: includes/addons/wl_archive_title.php:226
    489489msgid "Archive Description"
    490490msgstr ""
    491491
    492492#: classes/class.widgets_control.php:400
    493493#: woolentor-blocks/includes/classes/Blocks_List.php:230
    494494#: woolentor-blocks/production/includes/classes/Blocks_List.php:230
    495495msgid "Archive Layout Default"
    496496msgstr ""
    497497
    498498#: includes/addons/wb_archive_product.php:43
    499499msgid "Archive Product"
    500500msgstr ""
    501501
    502502#: classes/class.widgets_control.php:404
    503503msgid "Archive Result Count"
    504504msgstr ""
    505505
    506506#: classes/class.widgets_control.php:268
    507507#: includes/addons/wl_archive_title.php:43
    508508#: includes/addons/wl_archive_title.php:224
    509509#: woolentor-blocks/includes/classes/Blocks_List.php:89
    510510#: woolentor-blocks/production/includes/classes/Blocks_List.php:89
    511511msgid "Archive Title"
    512512msgstr ""
    513513
    514514#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:139
    515515msgid "Archives"
    516516msgstr ""
    517517
    518518#: includes/modules/popup-builder/includes/class-repeater-helper.php:24
    519519#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:151
    520520msgid "Archives (Pro)"
    521521msgstr ""
    522522
    523523#: includes/admin/include/template-library.php:87
    524524#: includes/admin/include/class.notice.php:42
    525525msgid "Are you cheating?"
    526526msgstr ""
    527527
    528528#: classes/class.assest_management.php:337
    529529#: includes/admin/include/class.template-manager.php:489
    530530msgid "Are you sure?"
    531531msgstr ""
    532532
    533533#: includes/addons/wl_product_horizontal_filter.php:347
    534534#: includes/addons/wl_onepage_slider.php:160
    535535#: includes/addons/wl_store_features.php:131
    536536#: includes/addons/wb_customer_review.php:278
    537537#: includes/addons/wl_category_grid.php:500
    538538msgid "Area"
    539539msgstr ""
    540540
    541541#: includes/addons/wl_onepage_slider.php:202
    542542msgid "Area Background Type"
    543543msgstr ""
    544544
    545545#: includes/addons/wl_store_features.php:206
    546546msgid "Area Margin"
    547547msgstr ""
    548548
    549549#: includes/addons/wl_store_features.php:193
    550550msgid "Area Padding"
    551551msgstr ""
    552552
    553553#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:254
    554554msgid "Arrow Color"
    555555msgstr ""
    556556
    557557#: includes/addons/wl_product_horizontal_filter.php:92
    558558#: includes/addons/wb_product_upsell.php:84
    559559#: includes/addons/wb_archive_product.php:148
    560560#: includes/addons/wb_product_related.php:99
    561561#: includes/addons/wl_product_filter.php:118
    562562msgid "ASC"
    563563msgstr ""
    564564
    565565#: includes/addons/product_flash_sale.php:154
    566566#: includes/addons/product_image_accordion.php:167
    567567#: includes/addons/product_accordion.php:188
    568568#: includes/addons/wl_category.php:137 includes/addons/product_curvy.php:223
    569569#: includes/addons/wl_recently_viewed_products.php:64
    570570#: includes/addons/product_tabs.php:182
    571571#: includes/addons/wl_category_grid.php:129
    572572msgid "Ascending"
    573573msgstr ""
    574574
    575575#: includes/addons/wl_product_horizontal_filter.php:89
    576576#: includes/addons/wl_product_filter.php:115
    577577msgid "Ascending order label"
    578578msgstr ""
    579579
    580580#: includes/admin/include/class.template-manager.php:485
    581581msgid "Assigned Template Importing.."
    582582msgstr ""
    583583
    584584#: includes/admin/include/diagnostic-data.php:490
    585585#, php-format
    586586msgid ""
    587587"At %2$s%1$s%3$s, we prioritize continuous improvement and compatibility. To "
    588588"achieve this, we gather non-sensitive diagnostic information and details "
    589589"about plugin usage. This includes your site's URL, the versions of WordPress "
    590590"and PHP you're using, and a list of your installed plugins and themes. We "
    591591"also require your email address to provide you with exclusive discount "
    592592"coupons and updates. This data collection is crucial for ensuring that "
    593593"%2$s%1$s%3$s remains up-to-date and compatible with the most widely-used "
    594594"plugins and themes. Rest assured, your privacy is our priority – no spam, "
    595595"guaranteed. %4$sPrivacy Policy%5$s"
    596596msgstr ""
    597597
    598598#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:110
    599599#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:115
    600600msgid "Auto convert Dropdown to Image Swatch"
    601601msgstr ""
    602602
    603603#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:104
    604604msgid "Auto convert Dropdowns to Label Swatch"
    605605msgstr ""
    606606
    607607#: includes/addons/wl_testimonial.php:367 includes/addons/product_tabs.php:515
    608608#: includes/addons/wl_category_grid.php:392
    609609msgid "Autoplay animation speed"
    610610msgstr ""
    611611
    612612#: includes/addons/wl_testimonial.php:354 includes/addons/product_tabs.php:502
    613613#: includes/addons/wl_category_grid.php:380
    614614msgid "Autoplay speed"
    615615msgstr ""
    616616
    617617#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:332
    618618msgid "availability"
    619619msgstr ""
    620620
    621621#: includes/addons/product_flash_sale.php:363
    622622msgid "Available Custom Text"
    623623msgstr ""
    624624
    625625#: includes/addons/product_flash_sale.php:931
    626626msgid "Available Number Color"
    627627msgstr ""
    628628
    629629#: includes/addons/product_flash_sale.php:365
    630630#: includes/addons/product_flash_sale.php:1038
    631631msgid "Available:"
    632632msgstr ""
    633633
    634634#: woolentor-blocks/src/blocks/product-reviews/index.php:40
    635635#: woolentor-blocks/production/src/blocks/product-reviews/index.php:40
    636636msgid "Average"
    637637msgstr ""
    638638
    639639#: includes/addons/wl_category_grid.php:1171
    640640msgid "Awaiting category image"
    641641msgstr ""
    642642
    643643#: classes/class.default_data.php:343
    644644msgid "Awaiting product image"
    645645msgstr ""
    646646
    647647#: includes/admin/include/template-library/templates_list.php:49
    648648msgid "Back to Library"
    649649msgstr ""
    650650
    651651#: includes/addons/wl_faq.php:308 includes/addons/wl_faq.php:386
    652652#: includes/addons/wl_faq.php:471 includes/addons/wl_faq.php:649
    653653#: includes/addons/wl_faq.php:784 includes/addons/product_flash_sale.php:911
    654654#: includes/addons/wl_product_horizontal_filter.php:401
    655655#: includes/addons/wl_product_horizontal_filter.php:588
    656656#: includes/addons/wl_product_horizontal_filter.php:775
    657657#: includes/addons/wl_product_horizontal_filter.php:862
    658658#: includes/addons/wl_product_horizontal_filter.php:893
    659659#: includes/addons/wl_onepage_slider.php:196
    660660#: includes/addons/wl_onepage_slider.php:347
    661661#: includes/addons/wl_onepage_slider.php:553
    662662#: includes/addons/wl_onepage_slider.php:569
    663663#: includes/addons/special_day_offer.php:681
    664664#: includes/addons/special_day_offer.php:760
    665665#: includes/addons/wl_testimonial.php:989
    666666#: includes/addons/wl_store_features.php:219
    667667#: includes/addons/wl_store_features.php:321
    668668#: includes/addons/wl_store_features.php:385
    669669#: includes/addons/product_image_accordion.php:293
    670670#: includes/addons/product_image_accordion.php:564
    671671#: includes/addons/product_image_accordion.php:623
    672672#: includes/addons/product_accordion.php:358
    673673#: includes/addons/product_accordion.php:371
    674674#: includes/addons/product_accordion.php:635
    675675#: includes/addons/product_accordion.php:682
    676676#: includes/addons/product_curvy.php:384 includes/addons/product_curvy.php:397
    677677#: includes/addons/product_curvy.php:735 includes/addons/product_curvy.php:767
    678678#: includes/addons/product_curvy.php:811 includes/addons/wb_just_table.php:123
    679679#: includes/addons/wb_product_suggest_price.php:236
    680680#: includes/addons/wb_product_suggest_price.php:335
    681681#: includes/addons/wb_product_suggest_price.php:433
    682682#: includes/addons/wb_product_suggest_price.php:510
    683683#: includes/addons/wl_product_filter.php:279
    684684#: includes/addons/wl_product_filter.php:349
    685685#: includes/addons/wl_product_filter.php:399
    686686#: includes/addons/wl_product_filter.php:566
    687687#: includes/addons/wl_product_filter.php:577
    688688#: includes/addons/wl_product_filter.php:626
    689689#: includes/addons/wl_product_filter.php:719
    690690#: includes/addons/wl_product_filter.php:783
    691691#: includes/addons/wb_image_marker.php:51
    692692#: includes/addons/wb_image_marker.php:207
    693693#: includes/addons/wb_image_marker.php:260
    694694#: includes/addons/wb_customer_review.php:327
    695695#: includes/addons/wb_wishsuite_table.php:398
    696696#: includes/addons/wb_wishsuite_table.php:430
    697697#: includes/addons/product_tabs.php:785
    698698#: includes/addons/wl_category_grid.php:530
    699699#: includes/addons/wl_category_grid.php:998
    700700#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:174
    701701msgid "Background"
    702702msgstr ""
    703703
    704704#: includes/addons/wl_testimonial.php:855
    705705#: includes/addons/wl_testimonial.php:929
    706706#: includes/addons/wl_testimonial.php:1029
    707707#: includes/addons/wb_product_data_tab.php:113
    708708#: includes/addons/wb_product_data_tab.php:205
    709709#: includes/addons/wb_archive_product.php:571
    710710#: includes/addons/wb_archive_product.php:660
    711711#: includes/addons/wb_archive_product.php:744
    712712#: includes/addons/wb_archive_product.php:777
    713713#: includes/addons/wb_archive_product.php:837
    714714#: includes/addons/wb_archive_catalog_ordering.php:72
    715715#: includes/addons/wb_product_call_for_price.php:156
    716716#: includes/addons/wb_product_call_for_price.php:188
    717717#: includes/addons/product_accordion.php:65
    718718#: includes/addons/wb_product_suggest_price.php:629
    719719#: includes/addons/wb_product_suggest_price.php:661
    720720#: includes/addons/wb_product_suggest_price.php:772
    721721#: includes/addons/wb_product_suggest_price.php:804
    722722#: includes/addons/wl_recently_viewed_products.php:458
    723723#: includes/addons/wl_recently_viewed_products.php:510
    724724#: includes/addons/wl_recently_viewed_products.php:614
    725725#: includes/addons/wl_recently_viewed_products.php:689
    726726#: includes/addons/wb_wishsuite_table.php:231
    727727#: includes/addons/product_tabs.php:670 includes/addons/product_tabs.php:722
    728728#: includes/addons/product_tabs.php:826 includes/addons/product_tabs.php:1155
    729729#: includes/addons/product_tabs.php:1215
    730730#: includes/addons/wb_product_add_to_cart.php:1117
    731731#: includes/addons/wb_product_add_to_cart.php:1151
    732732#: includes/addons/wl_category_grid.php:634
    733733#: includes/addons/wl_category_grid.php:864
    734734#: includes/addons/wl_category_grid.php:938
    735735#: includes/addons/wl_category_grid.php:1038
    736736#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:221
    737737#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:455
    738738msgid "Background Color"
    739739msgstr ""
    740740
    741741#: includes/addons/wl_onepage_slider.php:353
    742742#: includes/addons/wl_onepage_slider.php:559
    743743#: includes/addons/product_accordion.php:61
    744744msgid "Background Type"
    745745msgstr ""
    746746
    747747#: includes/admin/templates/dashboard-freevspro.php:125
    748748msgid "Backorder"
    749749msgstr ""
    750750
    751751#: includes/modules/backorder/class.backorder.php:509
    752752msgid "Backorder Availability"
    753753msgstr ""
    754754
    755755#: includes/modules/backorder/class.backorder.php:496
    756756msgid "Backorder Limit"
    757757msgstr ""
    758758
    759759#: includes/modules/backorder/class.backorder.php:500
    760760msgid ""
    761761"Backorder limit. If this is a variable product this value will be used to "
    762762"control backorder limit for all variations, unless you define backorder "
    763763"limit at variation level."
    764764msgstr ""
    765765
    766766#: includes/modules/backorder/class.backorder.php:104
    767767msgid "Backordered"
    768768msgstr ""
    769769
    770770#: includes/addons/wl_recently_viewed_products.php:547
    771771msgid "Badge"
    772772msgstr ""
    773773
    774774#: includes/addons/special_day_offer.php:165
    775775msgid "Badge Image"
    776776msgstr ""
    777777
    778778#: includes/addons/special_day_offer.php:43 includes/addons/add_banner.php:43
    779779msgid "Banner"
    780780msgstr ""
    781781
    782782#: includes/addons/special_day_offer.php:155
    783783msgid "Banner Badge"
    784784msgstr ""
    785785
    786786#: includes/addons/special_day_offer.php:106
    787787msgid "Banner Description"
    788788msgstr ""
    789789
    790790#: includes/addons/add_banner.php:77
    791791msgid "Banner image"
    792792msgstr ""
    793793
    794794#: includes/addons/special_day_offer.php:131
    795795msgid "Banner Link"
    796796msgstr ""
    797797
    798798#: includes/addons/special_day_offer.php:97 includes/addons/add_banner.php:105
    799799msgid "Banner Sub Title"
    800800msgstr ""
    801801
    802802#: includes/addons/special_day_offer.php:88 includes/addons/add_banner.php:97
    803803msgid "Banner Title"
    804804msgstr ""
    805805
    806806#: includes/addons/wb_product_add_to_cart.php:502
    807807msgid "Befor Add to Cart"
    808808msgstr ""
    809809
    810810#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:119
    811811msgid "Before"
    812812msgstr ""
    813813
    814814#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:95
    815815#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:142
    816816msgid "Before Add To Cart"
    817817msgstr ""
    818818
    819819#: includes/addons/wl_category_grid.php:778
    820820msgid "Before Border Color"
    821821msgstr ""
    822822
    823823#: includes/addons/wl_faq.php:245
    824824msgid "Before Title"
    825825msgstr ""
    826826
    827827#: includes/addons/product_image_accordion.php:68
    828828#: includes/addons/product_accordion.php:89
    829829#: includes/addons/product_curvy.php:124 includes/addons/product_tabs.php:81
    830830msgid "Best Selling Products"
    831831msgstr ""
    832832
    833833#: includes/modules/shopify-like-checkout/templates/form-billing.php:26
    834834msgid "Billing &amp; Shipping"
    835835msgstr ""
    836836
    837837#: includes/modules/shopify-like-checkout/templates/form-billing.php:28
    838838msgid "Billing address"
    839839msgstr ""
    840840
    841841#: includes/admin/templates/dashboard-gutenberg.php:14
    842842msgid "Blocks"
    843843msgstr ""
    844844
    845845#: includes/admin/templates/dashboard-widget.php:88
    846846msgid "Blog"
    847847msgstr ""
    848848
    849849#: includes/addons/wl_onepage_slider.php:473
    850850msgid "Boho Dreams"
    851851msgstr ""
    852852
    853853#: includes/addons/wl_faq.php:288 includes/addons/wl_faq.php:409
    854854#: includes/addons/wl_faq.php:493 includes/addons/wl_faq.php:678
    855855#: includes/addons/wl_faq.php:813
    856856#: includes/addons/wl_product_horizontal_filter.php:356
    857857#: includes/addons/wl_product_horizontal_filter.php:454
    858858#: includes/addons/wl_product_horizontal_filter.php:521
    859859#: includes/addons/wl_product_horizontal_filter.php:607
    860860#: includes/addons/wl_product_horizontal_filter.php:730
    861861#: includes/addons/wl_onepage_slider.php:532
    862862#: includes/addons/special_day_offer.php:661
    863863#: includes/addons/special_day_offer.php:740
    864864#: includes/addons/wl_testimonial.php:484
    865865#: includes/addons/wl_testimonial.php:540
    866866#: includes/addons/wl_testimonial.php:867
    867867#: includes/addons/wl_testimonial.php:941
    868868#: includes/addons/wl_testimonial.php:1001
    869869#: includes/addons/wl_testimonial.php:1042
    870870#: includes/addons/wl_store_features.php:171
    871871#: includes/addons/wl_store_features.php:331
    872872#: includes/addons/wl_store_features.php:395
    873873#: includes/addons/wl_store_features.php:419
    874874#: includes/addons/wb_product_data_tab.php:53
    875875#: includes/addons/wb_archive_product.php:180
    876876#: includes/addons/wb_archive_product.php:275
    877877#: includes/addons/wb_archive_product.php:584
    878878#: includes/addons/wb_archive_product.php:673
    879879#: includes/addons/wb_archive_catalog_ordering.php:99
    880880#: includes/addons/wb_product_call_for_price.php:137
    881881#: includes/addons/wl_category.php:301 includes/addons/wl_brand.php:250
    882882#: includes/addons/wl_brand.php:331
    883883#: includes/addons/wb_product_suggest_price.php:271
    884884#: includes/addons/wb_product_suggest_price.php:370
    885885#: includes/addons/wb_product_suggest_price.php:468
    886886#: includes/addons/wb_product_suggest_price.php:520
    887887#: includes/addons/wb_product_suggest_price.php:610
    888888#: includes/addons/wb_product_suggest_price.php:753
    889889#: includes/addons/wl_product_filter.php:212
    890890#: includes/addons/wl_product_filter.php:298
    891891#: includes/addons/wl_product_filter.php:370
    892892#: includes/addons/wl_product_filter.php:409
    893893#: includes/addons/wl_product_filter.php:492
    894894#: includes/addons/wl_product_filter.php:637
    895895#: includes/addons/wl_product_filter.php:730
    896896#: includes/addons/wl_product_filter.php:794
    897897#: includes/addons/wb_image_marker.php:217
    898898#: includes/addons/wb_image_marker.php:270
    899899#: includes/addons/wb_image_marker.php:331
    900900#: includes/addons/wb_customer_review.php:337
    901901#: includes/addons/wb_customer_review.php:370
    902902#: includes/addons/wl_recently_viewed_products.php:216
    903903#: includes/addons/wl_recently_viewed_products.php:286
    904904#: includes/addons/wl_recently_viewed_products.php:470
    905905#: includes/addons/wl_recently_viewed_products.php:522
    906906#: includes/addons/wl_recently_viewed_products.php:626
    907907#: includes/addons/wb_wishsuite_table.php:99
    908908#: includes/addons/wb_wishsuite_table.php:127
    909909#: includes/addons/product_tabs.php:317 includes/addons/product_tabs.php:398
    910910#: includes/addons/product_tabs.php:683 includes/addons/product_tabs.php:735
    911911#: includes/addons/product_tabs.php:798 includes/addons/product_tabs.php:840
    912912#: includes/addons/product_tabs.php:887
    913913#: includes/addons/wb_product_add_to_cart.php:612
    914914#: includes/addons/wb_product_add_to_cart.php:706
    915915#: includes/addons/wb_product_add_to_cart.php:1097
    916916#: includes/addons/wl_category_grid.php:577
    917917#: includes/addons/wl_category_grid.php:876
    918918#: includes/addons/wl_category_grid.php:950
    919919#: includes/addons/wl_category_grid.php:1010
    920920#: includes/addons/wl_category_grid.php:1051
    921921#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:207
    922922#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:324
    923923#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:157
    924924#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:246
    925925msgid "Border"
    926926msgstr ""
    927927
    928928#: includes/addons/wb_product_data_tab.php:124
    929929#: includes/addons/wb_product_data_tab.php:216
    930930#: includes/addons/wb_archive_product.php:709
    931931#: includes/addons/product_image_accordion.php:551
    932932#: includes/addons/product_image_accordion.php:608
    933933#: includes/addons/wb_product_call_for_price.php:199
    934934#: includes/addons/product_accordion.php:395
    935935#: includes/addons/product_curvy.php:352 includes/addons/product_curvy.php:368
    936936#: includes/addons/wb_product_suggest_price.php:672
    937937#: includes/addons/wb_product_suggest_price.php:815
    938938#: includes/addons/wb_wishsuite_table.php:241
    939939#: includes/addons/wb_product_add_to_cart.php:1163
    940940#: includes/addons/wb_ever_compare_table.php:187
    941941#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:512
    942942msgid "Border Color"
    943943msgstr ""
    944944
    945945#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:542
    946946msgid "Border color"
    947947msgstr ""
    948948
    949949#: includes/addons/wl_faq.php:296 includes/addons/wl_faq.php:417
    950950#: includes/addons/wl_faq.php:501 includes/addons/wl_faq.php:689
    951951#: includes/addons/wl_faq.php:824 includes/addons/product_flash_sale.php:707
    952952#: includes/addons/product_flash_sale.php:970
    953953#: includes/addons/wl_product_horizontal_filter.php:364
    954954#: includes/addons/wl_product_horizontal_filter.php:615
    955955#: includes/addons/wl_product_horizontal_filter.php:738
    956956#: includes/addons/wl_onepage_slider.php:540
    957957#: includes/addons/special_day_offer.php:669
    958958#: includes/addons/special_day_offer.php:748
    959959#: includes/addons/wl_testimonial.php:492
    960960#: includes/addons/wl_testimonial.php:548
    961961#: includes/addons/wl_testimonial.php:875
    962962#: includes/addons/wl_testimonial.php:949
    963963#: includes/addons/wl_testimonial.php:1009
    964964#: includes/addons/wl_testimonial.php:1050
    965965#: includes/addons/wl_store_features.php:339
    966966#: includes/addons/wb_product_data_tab.php:145
    967967#: includes/addons/wb_product_data_tab.php:237
    968968#: includes/addons/wb_archive_product.php:188
    969969#: includes/addons/wb_archive_product.php:283
    970970#: includes/addons/wb_archive_product.php:592
    971971#: includes/addons/wb_archive_product.php:879
    972972#: includes/addons/product_image_accordion.php:573
    973973#: includes/addons/wb_product_image.php:61
    974974#: includes/addons/wb_product_image.php:106
    975975#: includes/addons/wb_product_call_for_price.php:145
    976976#: includes/addons/product_accordion.php:644
    977977#: includes/addons/product_curvy.php:776
    978978#: includes/addons/wl_product_video_gallery.php:134
    979979#: includes/addons/wl_product_video_gallery.php:180
    980980#: includes/addons/wl_brand.php:258 includes/addons/wl_brand.php:339
    981981#: includes/addons/wb_product_suggest_price.php:280
    982982#: includes/addons/wb_product_suggest_price.php:379
    983983#: includes/addons/wb_product_suggest_price.php:477
    984984#: includes/addons/wb_product_suggest_price.php:529
    985985#: includes/addons/wb_product_suggest_price.php:618
    986986#: includes/addons/wb_product_suggest_price.php:761
    987987#: includes/addons/wl_product_filter.php:645
    988988#: includes/addons/wl_product_filter.php:738
    989989#: includes/addons/wb_image_marker.php:225
    990990#: includes/addons/wb_image_marker.php:278
    991991#: includes/addons/wb_image_marker.php:339
    992992#: includes/addons/wb_customer_review.php:345
    993993#: includes/addons/wb_customer_review.php:378
    994994#: includes/addons/wl_recently_viewed_products.php:224
    995995#: includes/addons/wl_recently_viewed_products.php:294
    996996#: includes/addons/wl_recently_viewed_products.php:478
    997997#: includes/addons/wl_recently_viewed_products.php:530
    998998#: includes/addons/wl_recently_viewed_products.php:634
    999999#: includes/addons/product_tabs.php:325 includes/addons/product_tabs.php:406
    10001000#: includes/addons/product_tabs.php:691 includes/addons/product_tabs.php:743
    10011001#: includes/addons/product_tabs.php:806 includes/addons/product_tabs.php:848
    10021002#: includes/addons/product_tabs.php:895
    10031003#: includes/addons/wb_product_add_to_cart.php:380
    10041004#: includes/addons/wb_product_add_to_cart.php:620
    10051005#: includes/addons/wb_product_add_to_cart.php:714
    10061006#: includes/addons/wb_product_add_to_cart.php:1105
    10071007#: includes/addons/wl_category_grid.php:585
    10081008#: includes/addons/wl_category_grid.php:884
    10091009#: includes/addons/wl_category_grid.php:958
    10101010#: includes/addons/wl_category_grid.php:1018
    10111011#: includes/addons/wl_category_grid.php:1059
    10121012#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:216
    10131013#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:333
    10141014#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:520
    10151015msgid "Border Radius"
    10161016msgstr ""
    10171017
    10181018#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:499
    10191019msgid "Border width"
    10201020msgstr ""
    10211021
    10221022#: includes/addons/wb_product_add_to_cart.php:504
    10231023msgid "Both Side of Add to Cart"
    10241024msgstr ""
    10251025
    10261026#: includes/addons/special_day_offer.php:56
    10271027#: includes/addons/wl_product_video_gallery.php:73
    10281028#: includes/addons/add_banner.php:69
    10291029#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:413
    10301030#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:476
    10311031#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:490
    10321032#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:504
    10331033#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:525
    10341034#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:555
    10351035msgid "Bottom"
    10361036msgstr ""
    10371037
    10381038#: includes/addons/wl_testimonial.php:257
    10391039#: includes/addons/wb_customer_review.php:245
    10401040msgid "Bottom Space"
    10411041msgstr ""
    10421042
    10431043#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:284
    10441044#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:341
    10451045msgid "bounce"
    10461046msgstr ""
    10471047
    10481048#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:294
    10491049msgid "bounceIn"
    10501050msgstr ""
    10511051
    10521052#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:295
    10531053msgid "bounceInDown"
    10541054msgstr ""
    10551055
    10561056#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:296
    10571057msgid "bounceInLeft"
    10581058msgstr ""
    10591059
    10601060#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:297
    10611061msgid "bounceInRight"
    10621062msgstr ""
    10631063
    10641064#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:298
    10651065msgid "bounceInUp"
    10661066msgstr ""
    10671067
    10681068#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:351
    10691069msgid "bounceOut"
    10701070msgstr ""
    10711071
    10721072#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:352
    10731073msgid "bounceOutDown"
    10741074msgstr ""
    10751075
    10761076#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:353
    10771077msgid "bounceOutLeft"
    10781078msgstr ""
    10791079
    10801080#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:354
    10811081msgid "bounceOutRight"
    10821082msgstr ""
    10831083
    10841084#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:355
    10851085msgid "bounceOutUp"
    10861086msgstr ""
    10871087
    10881088#: includes/addons/wl_category_grid.php:550
    10891089msgid "Box Color"
    10901090msgstr ""
    10911091
    10921092#: includes/addons/wl_faq.php:318 includes/addons/wl_faq.php:430
    10931093#: includes/addons/wl_faq.php:527 includes/addons/wl_faq.php:705
    10941094#: includes/addons/wl_faq.php:840
    10951095#: includes/addons/wl_product_horizontal_filter.php:411
    10961096#: includes/addons/wl_store_features.php:229
    10971097#: includes/addons/wb_archive_product.php:225
    10981098#: includes/addons/wl_recently_viewed_products.php:701
    10991099#: includes/addons/wl_category_grid.php:521
    11001100msgid "Box Shadow"
    11011101msgstr ""
    11021102
    11031103#: classes/class.widgets_control.php:284 includes/addons/wl_brand.php:241
    11041104msgid "Brand"
    11051105msgstr ""
    11061106
    11071107#: includes/addons/wl_brand.php:322
    11081108msgid "Brand Image"
    11091109msgstr ""
    11101110
    11111111#: includes/addons/wl_brand.php:95
    11121112msgid "Brand Link"
    11131113msgstr ""
    11141114
    11151115#: includes/addons/wl_brand.php:51
    11161116#: woolentor-blocks/includes/classes/Blocks_List.php:24
    11171117#: woolentor-blocks/production/includes/classes/Blocks_List.php:24
    11181118#: woolentor-blocks/src/blocks/brand-logo/index.php:19
    11191119#: woolentor-blocks/production/src/blocks/brand-logo/index.php:19
    11201120msgid "Brand Logo"
    11211121msgstr ""
    11221122
    11231123#: includes/addons/wl_brand.php:138
    11241124msgid "Brand Option"
    11251125msgstr ""
    11261126
    11271127#: includes/addons/wl_brand.php:74 includes/addons/wl_brand.php:114
    11281128msgid "Brand Title"
    11291129msgstr ""
    11301130
    11311131#: classes/class.widgets_control.php:272 includes/addons/wl_breadcrumbs.php:43
    11321132#: woolentor-blocks/includes/classes/Blocks_List.php:96
    11331133#: woolentor-blocks/production/includes/classes/Blocks_List.php:96
    11341134msgid "Breadcrumbs"
    11351135msgstr ""
    11361136
    11371137#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:614
    11381138msgid "Browsers"
    11391139msgstr ""
    11401140
    11411141#: includes/addons/wl_onepage_slider.php:294
    11421142#: includes/addons/special_day_offer.php:620 includes/addons/wb_whols.php:48
    11431143#: includes/addons/wb_product_call_for_price.php:74
    11441144#: includes/addons/wl_product_filter.php:688
    11451145#: includes/addons/wb_product_add_to_cart.php:462
    11461146#: includes/addons/wb_product_add_to_cart.php:870
    11471147#: includes/addons/add_banner.php:230
    11481148msgid "Button"
    11491149msgstr ""
    11501150
    11511151#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:164
    11521152msgid "Button Area"
    11531153msgstr ""
    11541154
    11551155#: includes/addons/product_flash_sale.php:660
    11561156#: includes/addons/product_flash_sale.php:669
    11571157msgid "Button Background"
    11581158msgstr ""
    11591159
    11601160#: includes/addons/product_flash_sale.php:699
    11611161msgid "Button Border"
    11621162msgstr ""
    11631163
    11641164#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:224
    11651165msgid "Button custom icon"
    11661166msgstr ""
    11671167
    11681168#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:431
    11691169msgid "Button custom style"
    11701170msgstr ""
    11711171
    11721172#: includes/addons/product_flash_sale.php:744
    11731173msgid "Button Hover Background Color"
    11741174msgstr ""
    11751175
    11761176#: includes/addons/product_flash_sale.php:730
    11771177msgid "Button Hover Icon Color"
    11781178msgstr ""
    11791179
    11801180#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:106
    11811181#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:270
    11821182msgid "Button Icon"
    11831183msgstr ""
    11841184
    11851185#: includes/addons/product_flash_sale.php:678
    11861186#: includes/addons/product_flash_sale.php:686
    11871187msgid "Button Icon Color"
    11881188msgstr ""
    11891189
    11901190#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:211
    11911191msgid "Button icon type"
    11921192msgstr ""
    11931193
    11941194#: includes/addons/wl_onepage_slider.php:103 includes/addons/add_banner.php:121
    11951195msgid "Button Link"
    11961196msgstr ""
    11971197
    11981198#: includes/addons/wb_product_call_for_price.php:61
    11991199msgid "Button Phone Number"
    12001200msgstr ""
    12011201
    12021202#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:49
    12031203msgid "Button Settings"
    12041204msgstr ""
    12051205
    12061206#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:406
    12071207msgid "Button style"
    12081208msgstr ""
    12091209
    12101210#: includes/addons/wl_onepage_slider.php:93
    12111211#: includes/addons/special_day_offer.php:146
    12121212#: includes/addons/special_day_offer.php:148
    12131213#: includes/addons/wb_product_call_for_price.php:50
    12141214#: includes/addons/wb_product_suggest_price.php:51
    12151215#: includes/addons/add_banner.php:113
    12161216#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:46
    12171217msgid "Button Text"
    12181218msgstr ""
    12191219
    12201220#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:193
    12211221msgid "Button text"
    12221222msgstr ""
    12231223
    12241224#: includes/addons/product_image_accordion.php:191
    12251225#: includes/addons/product_accordion.php:212
    12261226msgid "Buy"
    12271227msgstr ""
    12281228
    12291229#: classes/class.assest_management.php:369
    12301230#: includes/admin/include/template-library.php:210
    12311231#: includes/admin/include/template-library.php:262
    12321232#: includes/admin/include/class.extension-manager.php:190
    12331233#: includes/admin/templates/dashboard-popup.php:14
    12341234msgid "Buy Now"
    12351235msgstr ""
    12361236
    12371237#: includes/admin/templates/dashboard-popup.php:12
    12381238msgid "BUY PRO"
    12391239msgstr ""
    12401240
    12411241#: includes/modules/sales-notification/class.sale_notification.php:238
    12421242msgid "By"
    12431243msgstr ""
    12441244
    12451245#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:87
    12461246msgid "By checking this will enable you to set multiple color."
    12471247msgstr ""
    12481248
    12491249#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:64
    12501250#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:310
    12511251msgid ""
    12521252"By default, the \"Attribute Name\" will be shown as the tooltip. If you want "
    12531253"custom tooltip text, put it here."
    12541254msgstr ""
    12551255
    12561256#: includes/addons/wb_product_call_for_price.php:43
    12571257#: includes/addons/wb_product_call_for_price.php:52
    12581258#: includes/addons/wb_product_call_for_price.php:53
    12591259msgid "Call For Price"
    12601260msgstr ""
    12611261
    12621262#: classes/class.assest_management.php:336
    12631263#: includes/admin/include/class.template-manager.php:492
    12641264msgid "Cancel"
    12651265msgstr ""
    12661266
    12671267#: includes/addons/wb_customer_review.php:82
    12681268#: includes/addons/wb_customer_review.php:143
    12691269msgid "Carolina Monntoya"
    12701270msgstr ""
    12711271
    12721272#: includes/modules/shopify-like-checkout/templates/form-checkout.php:52
    12731273msgid "Cart"
    12741274msgstr ""
    12751275
    12761276#: includes/addons/wb_ever_compare_table.php:172
    12771277#: includes/addons/wb_ever_compare_table.php:178
    12781278msgid "Cart Button Background"
    12791279msgstr ""
    12801280
    12811281#: includes/addons/wb_ever_compare_table.php:160
    12821282msgid "Cart Button Color"
    12831283msgstr ""
    12841284
    12851285#: includes/admin/templates/dashboard-sidebar.php:14
    12861286msgid ""
    12871287"Cart Page, Checkout, My Account, Registration and Thank you page custom "
    12881288"layout template"
    12891289msgstr ""
    12901290
    12911291#: includes/addons/wb_product_categories.php:43
    12921292msgid "Categories"
    12931293msgstr ""
    12941294
    12951295#: classes/class.widgets_control.php:280
    12961296msgid "Category"
    12971297msgstr ""
    12981298
    12991299#: includes/addons/wl_category_grid.php:77
    13001300msgid "Category > Subcategories (Shop Page Only)"
    13011301msgstr ""
    13021302
    13031303#: includes/addons/product_image_accordion.php:321
    13041304msgid "Category Color"
    13051305msgstr ""
    13061306
    13071307#: includes/addons/wl_category_grid.php:69
    13081308msgid "Category Display Type"
    13091309msgstr ""
    13101310
    13111311#: classes/class.widgets_control.php:248
    13121312#: includes/addons/wl_category_grid.php:44
    13131313#: woolentor-blocks/includes/classes/Blocks_List.php:31
    13141314#: woolentor-blocks/production/includes/classes/Blocks_List.php:31
    13151315msgid "Category Grid"
    13161316msgstr ""
    13171317
    13181318#: includes/addons/product_image_accordion.php:332
    13191319msgid "Category Hover Color"
    13201320msgstr ""
    13211321
    13221322#: includes/addons/wl_category.php:43
    13231323msgid "Category List"
    13241324msgstr ""
    13251325
    13261326#: classes/class.default_data.php:378 classes/class.default_data.php:426
    13271327#: includes/addons/wb_product_categories.php:179
    13281328msgid "Category:"
    13291329msgid_plural "Categories:"
    13301330msgstr[0] ""
    13311331msgstr[1] ""
    13321332
    13331333#: includes/addons/wl_faq.php:358 includes/addons/wl_faq.php:581
    13341334#: includes/addons/wb_product_short_description.php:61
    13351335#: includes/addons/wl_breadcrumbs.php:82
    13361336#: includes/addons/wb_wishsuite_counter.php:73
    13371337#: includes/addons/wl_product_horizontal_filter.php:798
    13381338#: includes/addons/wl_onepage_slider.php:177
    13391339#: includes/addons/special_day_offer.php:55
    13401340#: includes/addons/special_day_offer.php:277
    13411341#: includes/addons/wl_store_features.php:147
    13421342#: includes/addons/wb_product_data_tab.php:164
    13431343#: includes/addons/wb_archive_product.php:241
    13441344#: includes/addons/wl_archive_title.php:116
    13451345#: includes/addons/wb_product_qr_code.php:95
    13461346#: includes/addons/wb_product_related.php:173
    13471347#: includes/addons/wb_archive_result_count.php:87
    13481348#: includes/addons/wb_product_description.php:59
    13491349#: includes/addons/wl_category.php:317 includes/addons/wl_brand.php:302
    13501350#: includes/addons/wb_product_categories.php:68
    13511351#: includes/addons/wb_product_rating.php:104
    13521352#: includes/addons/wb_product_title.php:111
    13531353#: includes/addons/wb_product_sku.php:68
    13541354#: includes/addons/wb_customer_review.php:294
    13551355#: includes/addons/wl_recently_viewed_products.php:254
    13561356#: includes/addons/product_tabs.php:249 includes/addons/product_tabs.php:970
    13571357#: includes/addons/product_tabs.php:1049
    13581358#: includes/addons/wl_category_grid.php:738
    13591359#: includes/addons/wb_product_tags.php:68
    13601360#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:412
    13611361#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:425
    13621362#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:63
    13631363#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:286
    13641364msgid "Center"
    13651365msgstr ""
    13661366
    13671367#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:38
    13681368msgid "Change address"
    13691369msgstr ""
    13701370
    13711371#: includes/admin/include/settings_field_manager_default.php:304
    13721372msgid "Check All"
    13731373msgstr ""
    13741374
    13751375#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:296
    13761376msgid "Checking this will allow you to set multiple colors."
    13771377msgstr ""
    13781378
    13791379#: includes/admin/templates/dashboard-freevspro.php:189
    13801380msgid "Checkout Fields Manager"
    13811381msgstr ""
    13821382
    13831383#: includes/modules/shopify-like-checkout/templates/form-checkout.php:63
    13841384msgid "Choose a Payment Gateway"
    13851385msgstr ""
    13861386
    13871387#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:407
    13881388msgid "Choose a style for the compare button from here."
    13891389msgstr ""
    13901390
    13911391#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:420
    13921392msgid "Choose a table style from here."
    13931393msgstr ""
    13941394
    13951395#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:237
    13961396msgid "Choose an icon for the compare button from here."
    13971397msgstr ""
    13981398
    13991399#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:212
    14001400msgid "Choose an icon type for the compare button from here."
    14011401msgstr ""
    14021402
    14031403#: includes/modules/variation-swatch/includes/Admin.php:51
    14041404msgid "Choose an image"
    14051405msgstr ""
    14061406
    14071407#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:336
    14081408msgid "Choose close/exit animation."
    14091409msgstr ""
    14101410
    14111411#: includes/addons/wl_brand.php:84
    14121412#: includes/admin/include/admin_field-manager.php:291
    14131413msgid "Choose Image"
    14141414msgstr ""
    14151415
    14161416#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:279
    14171417msgid "Choose open/entrance animation."
    14181418msgstr ""
    14191419
    14201420#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:323
    14211421msgid ""
    14221422"Choose which fields should be presented on the product compare page with "
    14231423"table."
    14241424msgstr ""
    14251425
    14261426#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:618
    14271427msgid "Chrome"
    14281428msgstr ""
    14291429
    14301430#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:453
    14311431msgid "Chrome "
    14321432msgstr ""
    14331433
    14341434#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:191
    14351435#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:76
    14361436#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:105
    14371437msgid "Circle"
    14381438msgstr ""
    14391439
    14401440#: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:860
    14411441#: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:948
    14421442msgid "Clear"
    14431443msgstr ""
    14441444
    14451445#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:256
    14461446msgid "Click Count"
    14471447msgstr ""
    14481448
    14491449#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:157
    14501450msgid "Click Element"
    14511451msgstr ""
    14521452
    14531453#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:166
    14541454msgid "Click Element Selector"
    14551455msgstr ""
    14561456
    14571457#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:148
    14581458msgid "Clicks Count"
    14591459msgstr ""
    14601460
    14611461#: includes/addons/wl_testimonial.php:100
    14621462#: includes/addons/wb_customer_review.php:98
    14631463msgid "Client Rating"
    14641464msgstr ""
    14651465
    14661466#: includes/addons/wl_testimonial.php:128
    14671467#: includes/addons/wb_customer_review.php:126
    14681468msgid "Client Say"
    14691469msgstr ""
    14701470
    14711471#: includes/addons/wl_testimonial.php:689
    14721472#: includes/addons/wb_customer_review.php:505
    14731473msgid "Client say"
    14741474msgstr ""
    14751475
    14761476#: includes/addons/wb_product_suggest_price.php:74
    14771477#: includes/addons/wb_product_suggest_price.php:75
    14781478#: woolentor-blocks/src/blocks/popup-close-trigger-button/index.php:18
    14791479#: includes/modules/popup-builder/includes/class-shortcodes.php:33
    14801480#: woolentor-blocks/production/src/blocks/popup-close-trigger-button/index.php:18
    14811481#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:48
    14821482msgid "Close"
    14831483msgstr ""
    14841484
    14851485#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:241
    14861486msgid "Close After Page Scroll"
    14871487msgstr ""
    14881488
    14891489#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:84
    14901490msgid "Close and Back To Previous Page"
    14911491msgstr ""
    14921492
    14931493#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:335
    14941494msgid "Close Animation"
    14951495msgstr ""
    14961496
    14971497#: includes/addons/wb_product_suggest_price.php:690
    14981498#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:475
    14991499msgid "Close Button"
    15001500msgstr ""
    15011501
    15021502#: includes/addons/wb_product_suggest_price.php:72
    15031503msgid "Close Button Text"
    15041504msgstr ""
    15051505
    15061506#: includes/addons/wl_faq.php:136 includes/addons/wl_faq.php:228
    15071507msgid "Close Icon"
    15081508msgstr ""
    15091509
    15101510#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:83
    15111511msgid "Close Popup"
    15121512msgstr ""
    15131513
    15141514#: includes/addons/product_accordion.php:437
    15151515msgid "Collapse Background"
    15161516msgstr ""
    15171517
    15181518#: includes/addons/product_accordion.php:426
    15191519msgid "Collapse Icon Color"
    15201520msgstr ""
    15211521
    15221522#: includes/addons/wl_faq.php:439 includes/addons/wl_faq.php:480
    15231523#: includes/addons/wl_faq.php:552 includes/addons/wl_faq.php:632
    15241524#: includes/addons/wl_faq.php:661 includes/addons/wl_faq.php:767
    15251525#: includes/addons/wl_faq.php:796 includes/addons/product_flash_sale.php:789
    15261526#: includes/addons/product_flash_sale.php:898
    15271527#: includes/addons/wl_product_horizontal_filter.php:433
    15281528#: includes/addons/wl_product_horizontal_filter.php:500
    15291529#: includes/addons/wl_product_horizontal_filter.php:576
    15301530#: includes/addons/wl_product_horizontal_filter.php:658
    15311531#: includes/addons/wl_product_horizontal_filter.php:689
    15321532#: includes/addons/wl_product_horizontal_filter.php:751
    15331533#: includes/addons/wl_product_horizontal_filter.php:839
    15341534#: includes/addons/wl_product_horizontal_filter.php:881
    15351535#: includes/addons/wl_onepage_slider.php:220
    15361536#: includes/addons/wl_onepage_slider.php:262
    15371537#: includes/addons/wl_onepage_slider.php:315
    15381538#: includes/addons/wl_onepage_slider.php:390
    15391539#: includes/addons/wb_product_upsell.php:117
    15401540#: includes/addons/special_day_offer.php:336
    15411541#: includes/addons/special_day_offer.php:395
    15421542#: includes/addons/special_day_offer.php:454
    15431543#: includes/addons/special_day_offer.php:513
    15441544#: includes/addons/special_day_offer.php:572
    15451545#: includes/addons/special_day_offer.php:639
    15461546#: includes/addons/special_day_offer.php:727
    15471547#: includes/addons/wl_testimonial.php:584
    15481548#: includes/addons/wl_testimonial.php:641
    15491549#: includes/addons/wl_testimonial.php:697
    15501550#: includes/addons/wl_testimonial.php:753
    15511551#: includes/addons/wl_testimonial.php:844
    15521552#: includes/addons/wl_testimonial.php:978
    15531553#: includes/addons/wl_store_features.php:466
    15541554#: includes/addons/wl_store_features.php:512
    15551555#: includes/addons/wb_archive_product.php:326
    15561556#: includes/addons/wb_archive_product.php:385
    15571557#: includes/addons/wb_archive_product.php:421
    15581558#: includes/addons/wb_archive_product.php:456
    15591559#: includes/addons/wb_archive_product.php:558
    15601560#: includes/addons/wb_archive_product.php:648
    15611561#: includes/addons/wb_archive_product.php:733
    15621562#: includes/addons/wb_archive_product.php:765
    15631563#: includes/addons/product_image_accordion.php:540
    15641564#: includes/addons/product_image_accordion.php:595
    15651565#: includes/addons/wb_whols.php:56
    15661566#: includes/addons/wb_archive_catalog_ordering.php:61
    15671567#: includes/addons/wb_product_related.php:132
    15681568#: includes/addons/product_accordion.php:619
    15691569#: includes/addons/product_accordion.php:666
    15701570#: includes/addons/wl_category.php:348 includes/addons/product_curvy.php:754
    15711571#: includes/addons/product_curvy.php:798
    15721572#: includes/addons/wb_product_suggest_price.php:412
    15731573#: includes/addons/wb_product_suggest_price.php:498
    15741574#: includes/addons/wl_product_filter.php:191
    15751575#: includes/addons/wl_product_filter.php:267
    15761576#: includes/addons/wl_product_filter.php:337
    15771577#: includes/addons/wl_product_filter.php:387
    15781578#: includes/addons/wl_product_filter.php:443
    15791579#: includes/addons/wl_product_filter.php:509
    15801580#: includes/addons/wl_product_filter.php:539
    15811581#: includes/addons/wl_product_filter.php:707
    15821582#: includes/addons/wl_product_filter.php:771
    15831583#: includes/addons/wb_image_marker.php:194
    15841584#: includes/addons/wb_image_marker.php:311
    15851585#: includes/addons/wb_image_marker.php:372
    15861586#: includes/addons/wb_customer_review.php:400
    15871587#: includes/addons/wb_customer_review.php:457
    15881588#: includes/addons/wb_customer_review.php:513
    15891589#: includes/addons/wb_customer_review.php:568
    15901590#: includes/addons/wl_recently_viewed_products.php:326
    15911591#: includes/addons/wl_recently_viewed_products.php:381
    15921592#: includes/addons/wl_recently_viewed_products.php:447
    15931593#: includes/addons/wl_recently_viewed_products.php:499
    15941594#: includes/addons/wl_recently_viewed_products.php:592
    15951595#: includes/addons/wl_recently_viewed_products.php:678
    15961596#: includes/addons/wb_wishsuite_table.php:153
    15971597#: includes/addons/wb_wishsuite_table.php:193
    15981598#: includes/addons/wb_wishsuite_table.php:213
    15991599#: includes/addons/wb_wishsuite_table.php:261
    16001600#: includes/addons/wb_wishsuite_table.php:386
    16011601#: includes/addons/wb_wishsuite_table.php:418
    16021602#: includes/addons/product_tabs.php:292 includes/addons/product_tabs.php:371
    16031603#: includes/addons/product_tabs.php:658 includes/addons/product_tabs.php:773
    16041604#: includes/addons/product_tabs.php:1143 includes/addons/product_tabs.php:1203
    16051605#: includes/addons/wb_product_add_to_cart.php:917
    16061606#: includes/addons/wb_product_add_to_cart.php:939
    16071607#: includes/addons/wb_product_additional_information.php:76
    16081608#: includes/addons/wb_product_additional_information.php:124
    16091609#: includes/addons/add_banner.php:155 includes/addons/add_banner.php:197
    16101610#: includes/addons/add_banner.php:239 includes/addons/wl_category_grid.php:610
    16111611#: includes/addons/wl_category_grid.php:698
    16121612#: includes/addons/wl_category_grid.php:767
    16131613#: includes/addons/wl_category_grid.php:853
    16141614#: includes/addons/wl_category_grid.php:987
    16151615#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:136
    16161616#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:209
    16171617#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:439
    16181618msgid "Color"
    16191619msgstr ""
    16201620
    16211621#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:564
    16221622msgid "Column background color (Event)"
    16231623msgstr ""
    16241624
    16251625#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:572
    16261626msgid "Column background color (Odd)"
    16271627msgstr ""
    16281628
    16291629#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:550
    16301630msgid "Column Padding"
    16311631msgstr ""
    16321632
    16331633#: includes/addons/product_flash_sale.php:101
    16341634#: includes/addons/wb_product_upsell.php:50
    16351635#: includes/addons/wl_testimonial.php:182
    16361636#: includes/addons/wl_testimonial.php:192
    16371637#: includes/addons/wb_archive_product.php:50
    16381638#: includes/addons/wb_product_related.php:65
    16391639#: includes/addons/product_curvy.php:75 includes/addons/product_curvy.php:93
    16401640#: includes/addons/wb_customer_review.php:180
    16411641#: includes/addons/wl_recently_viewed_products.php:72
    16421642#: includes/addons/product_tabs.php:92 includes/addons/wl_category_grid.php:238
    16431643#: includes/addons/wl_category_grid.php:248
    16441644msgid "Columns"
    16451645msgstr ""
    16461646
    1647 #: includes/helper-function.php:1275 includes/addons/product_flash_sale.php:137
     1647#: includes/helper-function.php:1289 includes/addons/product_flash_sale.php:137
    16481648#: includes/addons/product_image_accordion.php:150
    16491649#: includes/addons/product_accordion.php:171
    16501650#: includes/addons/product_curvy.php:206 includes/addons/product_tabs.php:165
    16511651msgid "Comment count"
    16521652msgstr ""
    16531653
    1654 #: includes/helper-function.php:1342
     1654#: includes/helper-function.php:1356
    16551655#: woolentor-blocks/includes/helper-functions.php:610
    16561656#: includes/addons/wb_product_add_to_cart.php:1278
    16571657#: woolentor-blocks/production/includes/helper-functions.php:610
    16581658#: woolentor-blocks/src/blocks/product-addtocart/manager.php:115
    16591659#: woolentor-blocks/production/src/blocks/product-addtocart/manager.php:115
    16601660#: includes/modules/compare/includes/classes/Admin/Dashboard.php:59
    16611661#: includes/modules/compare/includes/classes/Admin/Dashboard.php:60
    16621662#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:196
    16631663#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:197
    16641664msgid "Compare"
    16651665msgstr ""
    16661666
    16671667#: includes/addons/wb_product_add_to_cart.php:596
    16681668#: includes/addons/wb_product_add_to_cart.php:690
    16691669msgid "Compare Background Color"
    16701670msgstr ""
    16711671
    16721672#: includes/addons/wb_product_add_to_cart.php:581
    16731673#: includes/addons/wb_product_add_to_cart.php:675
    16741674msgid "Compare Icon Color"
    16751675msgstr ""
    16761676
    16771677#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:264
    16781678msgid "Compare page"
    16791679msgstr ""
    16801680
    16811681#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:635
    16821682msgid "Compare Settings"
    16831683msgstr ""
    16841684
    16851685#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:108
    16861686msgid "Conditions"
    16871687msgstr ""
    16881688
    16891689#: includes/modules/shopify-like-checkout/templates/form-checkout.php:58
    16901690msgid "Contact information"
    16911691msgstr ""
    16921692
    16931693#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:391
    16941694msgid "Contains"
    16951695msgstr ""
    16961696
    16971697#: includes/addons/wl_faq.php:45 includes/addons/wl_faq.php:82
    16981698#: includes/addons/wl_faq.php:544 includes/addons/wl_onepage_slider.php:66
    16991699#: includes/addons/wb_product_data_tab.php:255
    17001700#: includes/addons/wb_image_marker.php:251
    17011701#: includes/addons/wb_ever_compare_table.php:131
    17021702#: includes/addons/wb_product_additional_information.php:117
    17031703msgid "Content"
    17041704msgstr ""
    17051705
    17061706#: includes/addons/add_banner.php:63
    17071707msgid "Content Alignment"
    17081708msgstr ""
    17091709
    17101710#: includes/addons/wl_store_features.php:410
    17111711#: includes/addons/product_accordion.php:450
    17121712#: includes/addons/wl_recently_viewed_products.php:238
    17131713msgid "Content Area"
    17141714msgstr ""
    17151715
    17161716#: includes/addons/product_flash_sale.php:210
    17171717msgid "Content Bottom"
    17181718msgstr ""
    17191719
    17201720#: includes/addons/product_accordion.php:466
    17211721#: includes/addons/product_curvy.php:600 includes/addons/product_curvy.php:614
    17221722#: includes/addons/wb_ever_compare_table.php:138
    17231723msgid "Content Color"
    17241724msgstr ""
    17251725
    17261726#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:596
    17271727msgid "Content color (Event)"
    17281728msgstr ""
    17291729
    17301730#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:604
    17311731msgid "Content color (Odd)"
    17321732msgstr ""
    17331733
    17341734#: includes/addons/product_image_accordion.php:213
    17351735#: includes/addons/product_accordion.php:267
    17361736#: includes/addons/product_curvy.php:258
    17371737msgid "Content Display"
    17381738msgstr ""
    17391739
    17401740#: includes/addons/product_accordion.php:287
    17411741#: includes/addons/product_curvy.php:301
    17421742msgid "Content Limit"
    17431743msgstr ""
    17441744
    17451745#: includes/addons/wb_ever_compare_table.php:149
    17461746msgid "Content Link Color"
    17471747msgstr ""
    17481748
    17491749#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:612
    17501750msgid "Content link color"
    17511751msgstr ""
    17521752
    17531753#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:620
    17541754msgid "Content link hover color"
    17551755msgstr ""
    17561756
    17571757#: includes/addons/special_day_offer.php:50
    17581758msgid "Content Position"
    17591759msgstr ""
    17601760
    17611761#: includes/addons/product_image_accordion.php:181
    17621762#: includes/addons/product_accordion.php:202
    17631763#: includes/addons/product_curvy.php:237
    17641764#: includes/addons/wl_recently_viewed_products.php:132
    17651765msgid "Content Settings"
    17661766msgstr ""
    17671767
    17681768#: includes/addons/product_flash_sale.php:206
    17691769msgid "Content Top"
    17701770msgstr ""
    17711771
    17721772#: includes/modules/shopify-like-checkout/templates/form-checkout.php:66
    17731773msgid "Continue to payment"
    17741774msgstr ""
    17751775
    17761776#: includes/modules/shopify-like-checkout/templates/form-checkout.php:57
    17771777msgid "Continue to shipping"
    17781778msgstr ""
    17791779
    17801780#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:303
    17811781msgid "Copied"
    17821782msgstr ""
    17831783
    17841784#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:295
    17851785msgid "Copy shareable link"
    17861786msgstr ""
    17871787
    17881788#: includes/addons/wl_category_grid.php:759
    17891789msgid "Count"
    17901790msgstr ""
    17911791
    17921792#: includes/admin/include/diagnostic-data.php:494
    17931793msgid "Count Me In"
    17941794msgstr ""
    17951795
    17961796#: includes/addons/product_flash_sale.php:168
    17971797msgid "Countdown"
    17981798msgstr ""
    17991799
    18001800#: includes/addons/product_flash_sale.php:186
    18011801msgid "Countdown Style"
    18021802msgstr ""
    18031803
    18041804#: includes/addons/product_flash_sale.php:238
    18051805msgid "Countdown Title"
    18061806msgstr ""
    18071807
    18081808#: includes/addons/wb_wishsuite_counter.php:92
    18091809msgid "Counter"
    18101810msgstr ""
    18111811
    18121812#: includes/addons/product_flash_sale.php:845
    18131813#: includes/addons/wb_wishsuite_counter.php:112
    18141814msgid "Counter Background"
    18151815msgstr ""
    18161816
    18171817#: includes/addons/wb_wishsuite_counter.php:100
    18181818msgid "Counter Color"
    18191819msgstr ""
    18201820
    18211821#: includes/addons/wb_wishsuite_counter.php:122
    18221822msgid "Counter Icon"
    18231823msgstr ""
    18241824
    18251825#: includes/addons/wb_wishsuite_counter.php:131
    18261826msgid "Counter Icon Color"
    18271827msgstr ""
    18281828
    18291829#: includes/addons/product_flash_sale.php:814
    18301830msgid "Counter Item"
    18311831msgstr ""
    18321832
    18331833#: includes/addons/product_flash_sale.php:855
    18341834msgid "Counter Label"
    18351835msgstr ""
    18361836
    18371837#: includes/addons/product_flash_sale.php:761
    18381838msgid "Counter Style"
    18391839msgstr ""
    18401840
    18411841#: includes/addons/wb_wishsuite_counter.php:153
    18421842msgid "Counter Text Color"
    18431843msgstr ""
    18441844
    18451845#: includes/modules/shopify-like-checkout/templates/form-coupon.php:17
    18461846#: includes/modules/shopify-like-checkout/templates/form-coupon.php:18
    18471847msgid "Coupon code"
    18481848msgstr ""
    18491849
    18501850#: includes/admin/include/template-library/popup-template.php:32
    18511851msgid "Create a new page from this template"
    18521852msgstr ""
    18531853
    18541854#: includes/modules/shopify-like-checkout/templates/form-billing.php:55
    18551855msgid "Create an account?"
    18561856msgstr ""
    18571857
    18581858#: includes/addons/wl_product_filter.php:528
    18591859msgid "Cross Icon"
    18601860msgstr ""
    18611861
    18621862#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:128
    18631863msgid "Currency"
    18641864msgstr ""
    18651865
    18661866#: includes/modules/currency-switcher/includes/classes/Widgets_And_Blocks.php:46
    18671867#: includes/modules/currency-switcher/includes/classes/Widgets_And_Blocks.php:59
    18681868#: includes/modules/currency-switcher/includes/classes/Admin/Fields.php:40
    18691869msgid "Currency Switcher"
    18701870msgstr ""
    18711871
    18721872#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:201
    18731873msgid "Current Currency"
    18741874msgstr ""
    18751875
    18761876#: includes/addons/wl_faq.php:58 includes/addons/wl_testimonial.php:71
    18771877#: includes/addons/wb_customer_review.php:69
    18781878#: woolentor-blocks/includes/classes/Scripts.php:127
    18791879#: woolentor-blocks/production/includes/classes/Scripts.php:127
    18801880#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:218
    18811881#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:243
    18821882#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:413
    18831883#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:425
    18841884msgid "Custom"
    18851885msgstr ""
    18861886
    18871887#: includes/admin/templates/dashboard-freevspro.php:23
    18881888msgid "Custom cart Page Builder"
    18891889msgstr ""
    18901890
    18911891#: includes/admin/templates/dashboard-freevspro.php:27
    18921892msgid "Custom checkout Page Builder"
    18931893msgstr ""
    18941894
    18951895#: includes/modules/currency-switcher/includes/classes/Admin/Fields.php:134
    18961896msgid "Custom Currency Symbol"
    18971897msgstr ""
    18981898
    18991899#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:341
    19001900msgid "Custom heading"
    19011901msgstr ""
    19021902
    19031903#: includes/addons/wl_faq.php:203
    19041904msgid "Custom Icon"
    19051905msgstr ""
    19061906
    19071907#: includes/addons/product_flash_sale.php:253
    19081908msgid "Custom Label"
    19091909msgstr ""
    19101910
    19111911#: includes/admin/templates/dashboard-freevspro.php:39
    19121912msgid "Custom My Account Login and Register page Builder"
    19131913msgstr ""
    19141914
    19151915#: includes/admin/templates/dashboard-freevspro.php:35
    19161916msgid "Custom my account Page Builder"
    19171917msgstr ""
    19181918
    19191919#: includes/addons/product_flash_sale.php:118
    19201920#: includes/addons/product_tabs.php:146
    19211921msgid "Custom Order"
    19221922msgstr ""
    19231923
    19241924#: includes/addons/product_image_accordion.php:131
    19251925#: includes/addons/product_accordion.php:152
    19261926#: includes/addons/product_curvy.php:187
    19271927msgid "Custom order"
    19281928msgstr ""
    19291929
    19301930#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:99
    19311931#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:147
    19321932msgid "Custom Position"
    19331933msgstr ""
    19341934
    19351935#: includes/custom-metabox.php:72
    19361936msgid "Custom Product Badge Text"
    19371937msgstr ""
    19381938
    19391939#: includes/admin/templates/dashboard-freevspro.php:31
    19401940msgid "Custom thank You Page Builder"
    19411941msgstr ""
    19421942
    19431943#: includes/addons/wl_testimonial.php:158
    19441944msgid "Customer"
    19451945msgstr ""
    19461946
    19471947#: classes/class.widgets_control.php:288
    19481948msgid "Customer Review"
    19491949msgstr ""
    19501950
    19511951#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:112
    19521952msgid "Customize"
    19531953msgstr ""
    19541954
    19551955#: woolentor-blocks/includes/classes/Manage_Styles.php:205
    19561956#: woolentor-blocks/production/includes/classes/Manage_Styles.php:205
    19571957msgid "Data fetch"
    19581958msgstr ""
    19591959
    19601960#: includes/admin/admin-init.php:451
    19611961msgid "Data Fetch successfully!"
    19621962msgstr ""
    19631963
    19641964#: woolentor-blocks/includes/classes/Manage_Styles.php:212
    19651965#: woolentor-blocks/production/includes/classes/Manage_Styles.php:212
    19661966msgid "Data not found."
    19671967msgstr ""
    19681968
    19691969#: includes/admin/admin-init.php:389
    19701970msgid "Data Saved successfully!"
    19711971msgstr ""
    19721972
    1973 #: includes/helper-function.php:1272 includes/addons/product_flash_sale.php:134
     1973#: includes/helper-function.php:1286 includes/addons/product_flash_sale.php:134
    19741974#: includes/addons/wb_product_upsell.php:66
    19751975#: includes/addons/wb_archive_product.php:127
    19761976#: includes/addons/product_image_accordion.php:147
    19771977#: includes/addons/wb_product_related.php:81
    19781978#: includes/addons/product_accordion.php:168
    19791979#: includes/addons/product_curvy.php:203 includes/addons/product_tabs.php:162
    19801980msgid "Date"
    19811981msgstr ""
    19821982
    19831983#: includes/addons/product_flash_sale.php:265
    19841984#: includes/addons/product_flash_sale.php:267
    19851985#: includes/addons/product_flash_sale.php:1029
    19861986#: includes/modules/flash-sale/class.flash-sale.php:447
    19871987msgid "Days"
    19881988msgstr ""
    19891989
    19901990#: includes/addons/wl_brand.php:62
    19911991#: includes/addons/wb_product_add_to_cart.php:59
    19921992#: includes/admin/include/class.template-manager.php:97
    19931993#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:283
    19941994#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:340
    19951995#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:217
    19961996#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:242
    19971997#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:411
    19981998#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:424
    19991999msgid "Default"
    20002000msgstr ""
    20012001
    20022002#: includes/modules/currency-switcher/includes/classes/Admin/Fields.php:157
    20032003msgid "Default Currency"
    20042004msgstr ""
    20052005
    2006 #: includes/helper-function.php:1068
     2006#: includes/helper-function.php:1082
    20072007msgid "Default sorting"
    20082008msgstr ""
    20092009
    20102010#: includes/addons/wl_brand.php:76
    20112011msgid "Default title"
    20122012msgstr ""
    20132013
    20142014#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:130
    20152015#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:178
    20162016msgid "Default: 10"
    20172017msgstr ""
    20182018
    20192019#: includes/addons/wl_product_horizontal_filter.php:104
    20202020#: includes/addons/wb_product_upsell.php:85
    20212021#: includes/addons/wb_archive_product.php:149
    20222022#: includes/addons/wb_product_related.php:100
    20232023#: includes/addons/wl_product_filter.php:130
    20242024msgid "DESC"
    20252025msgstr ""
    20262026
    20272027#: includes/addons/product_flash_sale.php:153
    20282028#: includes/addons/product_image_accordion.php:166
    20292029#: includes/addons/product_accordion.php:187
    20302030#: includes/addons/wl_category.php:138 includes/addons/product_curvy.php:222
    20312031#: includes/addons/wl_recently_viewed_products.php:63
    20322032#: includes/addons/product_tabs.php:181
    20332033#: includes/addons/wl_category_grid.php:130
    20342034msgid "Descending"
    20352035msgstr ""
    20362036
    20372037#: includes/addons/wl_product_horizontal_filter.php:101
    20382038#: includes/addons/wl_product_filter.php:127
    20392039msgid "Descending order label"
    20402040msgstr ""
    20412041
    20422042#: includes/addons/special_day_offer.php:104
    20432043#: includes/addons/special_day_offer.php:443
    20442044#: includes/addons/wl_archive_title.php:175
    20452045#: includes/addons/wb_image_marker.php:365
    20462046#: includes/addons/wl_category_grid.php:687
    20472047msgid "Description"
    20482048msgstr ""
    20492049
    20502050#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:331
    20512051msgid "description"
    20522052msgstr ""
    20532053
    20542054#: includes/addons/wl_archive_title.php:184
    20552055msgid "Description Color"
    20562056msgstr ""
    20572057
    20582058#: includes/addons/wl_testimonial.php:91 includes/addons/wl_testimonial.php:633
    20592059#: includes/addons/wb_customer_review.php:89
    20602060#: includes/addons/wb_customer_review.php:449
    20612061msgid "Designation"
    20622062msgstr ""
    20632063
    20642064#: includes/addons/wl_testimonial.php:93 includes/addons/wl_testimonial.php:146
    20652065msgid "Designer"
    20662066msgstr ""
    20672067
    20682068#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:595
    20692069msgid "Desktop"
    20702070msgstr ""
    20712071
    20722072#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:431
    20732073msgid "Desktop "
    20742074msgstr ""
    20752075
    20762076#: includes/addons/wl_testimonial.php:152
    20772077#: includes/addons/wb_customer_review.php:158
    20782078msgid "Developer"
    20792079msgstr ""
    20802080
    20812081#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:591
    20822082msgid "Device Types"
    20832083msgstr ""
    20842084
    20852085#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:335
    20862086msgid "dimensions"
    20872087msgstr ""
    20882088
    20892089#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:221
    20902090msgid "Direction"
    20912091msgstr ""
    20922092
    20932093#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:55
    20942094#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:205
    20952095#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:220
    20962096#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:330
    20972097msgid "Disable"
    20982098msgstr ""
    20992099
    21002100#: includes/admin/templates/dashboard-element.php:20
    21012101#: includes/admin/templates/dashboard-gutenberg.php:33
    21022102#: includes/admin/templates/dashboard-module.php:22
    21032103msgid "Disable all"
    21042104msgstr ""
    21052105
    21062106#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:211
    21072107msgid "Disable Close Button"
    21082108msgstr ""
    21092109
    21102110#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:204
    21112111msgid "Disable Page Scroll"
    21122112msgstr ""
    21132113
    21142114#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:233
    21152115msgid "Disable Popup Overlay"
    21162116msgstr ""
    21172117
    21182118#: includes/admin/templates/dashboard-freevspro.php:201
    21192119msgid "Discover all the differences between the free and premium versions."
    21202120msgstr ""
    21212121
    21222122#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:249
    21232123msgid "Dismiss Automatically"
    21242124msgstr ""
    21252125
    21262126#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:257
    21272127msgid "Dismiss Automatically Delay (sec)"
    21282128msgstr ""
    21292129
    21302130#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:218
    21312131msgid "Dismiss on Esc Key"
    21322132msgstr ""
    21332133
    21342134#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:225
    21352135msgid "Dismiss on Overlay Click"
    21362136msgstr ""
    21372137
    21382138#: includes/admin/include/class.notice.php:145
    21392139msgid "Dismiss this notice."
    21402140msgstr ""
    21412141
    2142 #: includes/helper-function.php:637
     2142#: includes/helper-function.php:651
    21432143msgid "div"
    21442144msgstr ""
    21452145
    21462146#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:516
    21472147msgid "Do Not Show Again"
    21482148msgstr ""
    21492149
    21502150#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:346
    21512151msgid "Do not show again"
    21522152msgstr ""
    21532153
    21542154#: includes/addons/wl_faq.php:111
    21552155msgid "Do you want to individual icon ?"
    21562156msgstr ""
    21572157
    21582158#: includes/base.php:259 includes/admin/include/admin_field-manager.php:353
    21592159#: includes/admin/include/admin_field-manager.php:488
    21602160#: includes/admin/templates/dashboard-widget.php:94
    21612161#: includes/admin/templates/dashboard-welcome.php:19
    21622162msgid "Documentation"
    21632163msgstr ""
    21642164
    21652165#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:132
    21662166msgid "Down"
    21672167msgstr ""
    21682168
    21692169#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:51
    21702170msgid "Dropdown"
    21712171msgstr ""
    21722172
    21732173#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:122
    21742174msgid "e.g: woocommerce_after_shop_loop_item_title"
    21752175msgstr ""
    21762176
    21772177#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:170
    21782178msgid "e.g: woocommerce_after_single_product_summary"
    21792179msgstr ""
    21802180
    21812181#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:458
    21822182#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:623
    21832183msgid "Edge"
    21842184msgstr ""
    21852185
    21862186#: includes/admin/include/template-library.php:136
    21872187msgid "Edit Page"
    21882188msgstr ""
    21892189
    21902190#: includes/admin/include/template-library.php:136
    21912191#: includes/admin/include/class.template_cpt.php:56
    21922192msgid "Edit Template"
    21932193msgstr ""
    21942194
    21952195#: includes/admin/include/class.template-manager.php:463
    21962196msgid "Edit With Elementor"
    21972197msgstr ""
    21982198
    21992199#: includes/admin/include/class.template-manager.php:211
    22002200#: includes/admin/include/class.template-manager.php:467
    22012201msgid "Edit With Gutenberg"
    22022202msgstr ""
    22032203
    22042204#: includes/addons/wl_testimonial.php:203
    22052205#: includes/addons/wb_customer_review.php:191
    22062206#: includes/addons/wl_recently_viewed_products.php:83
    22072207#: includes/addons/wl_category_grid.php:259
    22082208msgid "Eight"
    22092209msgstr ""
    22102210
    22112211#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:273
    22122212msgid "Element Class/ID"
    22132213msgstr ""
    22142214
    22152215#: includes/addons/wb_product_reviews.php:50
    22162216msgid "Element Information"
    22172217msgstr ""
    22182218
    22192219#: includes/admin/include/class.template-manager.php:445
    22202220#: includes/admin/include/class.template-manager.php:479
    22212221#: includes/admin/include/template-library/templates_list.php:19
    22222222msgid "Elementor"
    22232223msgstr ""
    22242224
    22252225#: includes/addons/wl_faq.php:59
    22262226msgid "Elementor Template"
    22272227msgstr ""
    22282228
    22292229#: includes/admin/templates/dashboard-freevspro.php:153
    22302230msgid "Email Automation"
    22312231msgstr ""
    22322232
    22332233#: includes/admin/templates/dashboard-freevspro.php:149
    22342234msgid "Email Customizer"
    22352235msgstr ""
    22362236
    22372237#: includes/addons/wb_product_suggest_price.php:130
    22382238msgid "Email Field Placeholder"
    22392239msgstr ""
    22402240
    22412241#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:364
    22422242msgid "Empty compare page text"
    22432243msgstr ""
    22442244
    22452245#: includes/addons/wl_recently_viewed_products.php:105
    22462246#: includes/addons/wl_recently_viewed_products.php:659
    22472247msgid "Empty Message"
    22482248msgstr ""
    22492249
    22502250#: includes/addons/product_image_accordion.php:483
    22512251#: includes/addons/product_accordion.php:562
    22522252#: includes/addons/product_curvy.php:652 includes/addons/product_curvy.php:666
    22532253msgid "Empty Rating Color"
    22542254msgstr ""
    22552255
    22562256#: includes/addons/wb_archive_product.php:501
    22572257msgid "Empty Rating Star Color"
    22582258msgstr ""
    22592259
    22602260#: includes/addons/wb_wishsuite_table.php:56
    22612261#: includes/addons/wb_ever_compare_table.php:56
    22622262msgid "Empty table text"
    22632263msgstr ""
    22642264
    22652265#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:204
    22662266msgid "Enable"
    22672267msgstr ""
    22682268
    22692269#: includes/addons/wb_product_qr_code.php:62
    22702270msgid "Enable Add to Cart URL"
    22712271msgstr ""
    22722272
    22732273#: includes/admin/templates/dashboard-element.php:19
    22742274#: includes/admin/templates/dashboard-gutenberg.php:32
    22752275#: includes/admin/templates/dashboard-module.php:21
    22762276msgid "Enable all"
    22772277msgstr ""
    22782278
    22792279#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:120
    22802280msgid "Enable Image Type Attribute For"
    22812281msgstr ""
    22822282
    22832283#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:86
    22842284#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:383
    22852285msgid "Enable Multi Color"
    22862286msgstr ""
    22872287
    22882288#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:199
    22892289msgid "Enable Shape Inset"
    22902290msgstr ""
    22912291
    22922292#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:273
    22932293msgid "Enable shareable link"
    22942294msgstr ""
    22952295
    22962296#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:393
    22972297msgid "Ends With"
    22982298msgstr ""
    22992299
    23002300#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:57
    23012301msgid "Enter a different address"
    23022302msgstr ""
    23032303
    23042304#: includes/admin/include/class.template-manager.php:454
    23052305msgid "Enter a template name"
    23062306msgstr ""
    23072307
    23082308#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:95
    23092309msgid "Enter the URL where you want to redirect after closing the popup."
    23102310msgstr ""
    23112311
    23122312#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:50
    23132313msgid "Enter your address to view shipping options."
    23142314msgstr ""
    23152315
    23162316#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:203
    23172317msgid "Enter your compare added button text."
    23182318msgstr ""
    23192319
    23202320#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:194
    23212321msgid "Enter your compare button text."
    23222322msgstr ""
    23232323
    23242324#: includes/custom-metabox.php:74
    23252325msgid ""
    23262326"Enter your preferred Sale badge text. Ex: New / Free etc (Only for Universal "
    23272327"layout addon)"
    23282328msgstr ""
    23292329
    23302330#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:381
    23312331msgid "Enter your required image size."
    23322332msgstr ""
    23332333
    23342334#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:372
    23352335msgid "Enter your return to shop button text."
    23362336msgstr ""
    23372337
    23382338#: includes/modules/popup-builder/includes/class-repeater-helper.php:193
    23392339msgid "Entire Shop"
    23402340msgstr ""
    23412341
    23422342#: includes/modules/popup-builder/includes/class-repeater-helper.php:22
    23432343#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:138
    23442344#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:149
    23452345msgid "Entire Site"
    23462346msgstr ""
    23472347
    23482348#: includes/addons/wb_product_suggest_price.php:177
    23492349msgid "Error Message"
    23502350msgstr ""
    23512351
    23522352#: includes/addons/wb_ever_compare_table.php:97
    23532353#: includes/addons/wb_ever_compare_table.php:103
    23542354msgid "Even Heading Background"
    23552355msgstr ""
    23562356
    23572357#: classes/class.widgets_control.php:435
    23582358#: includes/addons/wb_ever_compare_table.php:49
    23592359msgid "EverCompare"
    23602360msgstr ""
    23612361
    23622362#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:436
    23632363#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:444
    23642364msgid "Example: 500px"
    23652365msgstr ""
    23662366
    23672367#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:452
    23682368msgid "Example: 9999"
    23692369msgstr ""
    23702370
    23712371#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:460
    23722372#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:468
    23732373msgid "Example: <code>10px</code> or <code>10px 20px 10px 20px</code>"
    23742374msgstr ""
    23752375
    23762376#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:131
    23772377#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:529
    23782378msgid "Exclude"
    23792379msgstr ""
    23802380
    23812381#: includes/addons/product_tabs.php:193
    23822382msgid "Exclude Out Of Stock Item"
    23832383msgstr ""
    23842384
    23852385#: includes/admin/templates/dashboard-freevspro.php:300
    23862386msgid "Explore the all features of ShopLentor Pro"
    23872387msgstr ""
    23882388
    23892389#: includes/admin/include/class.extension-manager.php:26
    23902390#: includes/admin/include/class.extension-manager.php:27
    23912391msgid "Extension"
    23922392msgstr ""
    23932393
    23942394#: includes/addons/wl_category.php:208 includes/addons/wl_category.php:219
    23952395msgid "Extra Option"
    23962396msgstr ""
    23972397
    23982398#: includes/base.php:260
    23992399msgid "Facebook Group"
    24002400msgstr ""
    24012401
    24022402#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:299
    24032403msgid "fadeIn"
    24042404msgstr ""
    24052405
    24062406#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:300
    24072407msgid "fadeInDown"
    24082408msgstr ""
    24092409
    24102410#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:301
    24112411msgid "fadeInDownBig"
    24122412msgstr ""
    24132413
    24142414#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:302
    24152415msgid "fadeInLeft"
    24162416msgstr ""
    24172417
    24182418#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:303
    24192419msgid "fadeInLeftBig"
    24202420msgstr ""
    24212421
    24222422#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:304
    24232423msgid "fadeInRight"
    24242424msgstr ""
    24252425
    24262426#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:305
    24272427msgid "fadeInRightBig"
    24282428msgstr ""
    24292429
    24302430#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:306
    24312431msgid "fadeInUp"
    24322432msgstr ""
    24332433
    24342434#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:307
    24352435msgid "fadeInUpBig"
    24362436msgstr ""
    24372437
    24382438#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:356
    24392439msgid "fadeOut"
    24402440msgstr ""
    24412441
    24422442#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:357
    24432443msgid "fadeOutDown"
    24442444msgstr ""
    24452445
    24462446#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:358
    24472447msgid "fadeOutDownBig"
    24482448msgstr ""
    24492449
    24502450#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:359
    24512451msgid "fadeOutLeft"
    24522452msgstr ""
    24532453
    24542454#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:360
    24552455msgid "fadeOutLeftBig"
    24562456msgstr ""
    24572457
    24582458#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:361
    24592459msgid "fadeOutRight"
    24602460msgstr ""
    24612461
    24622462#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:362
    24632463msgid "fadeOutRightBig"
    24642464msgstr ""
    24652465
    24662466#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:363
    24672467msgid "fadeOutUp"
    24682468msgstr ""
    24692469
    24702470#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:364
    24712471msgid "fadeOutUpBig"
    24722472msgstr ""
    24732473
    24742474#: woolentor-blocks/includes/classes/Blocks_List.php:74
    24752475#: woolentor-blocks/production/includes/classes/Blocks_List.php:74
    24762476msgid "FAQ"
    24772477msgstr ""
    24782478
    24792479#: classes/class.widgets_control.php:244
    24802480msgid "Faq"
    24812481msgstr ""
    24822482
    24832483#: includes/addons/wl_faq.php:70
    24842484msgid "FAQ Title"
    24852485msgstr ""
    24862486
    2487 #: includes/helper-function.php:1277
     2487#: includes/helper-function.php:1291
    24882488msgid "Featured"
    24892489msgstr ""
    24902490
    24912491#: includes/admin/include/class.template_cpt.php:63
    24922492msgid "Featured Image"
    24932493msgstr ""
    24942494
    24952495#: includes/addons/product_image_accordion.php:67
    24962496#: includes/addons/product_accordion.php:88
    24972497#: includes/addons/product_curvy.php:123 includes/addons/product_tabs.php:80
    24982498msgid "Featured Products"
    24992499msgstr ""
    25002500
    25012501#: includes/admin/templates/dashboard-freevspro.php:213
    25022502msgid "Features"
    25032503msgstr ""
    25042504
    25052505#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:349
    25062506msgid "Fields heading text"
    25072507msgstr ""
    25082508
    25092509#: includes/addons/wl_product_horizontal_filter.php:52
    25102510#: includes/addons/wl_product_horizontal_filter.php:251
    25112511#: includes/addons/wl_product_filter.php:52
    25122512#: includes/addons/wl_product_filter.php:917
    25132513#: includes/addons/wl_product_filter.php:917
    25142514msgid "Filter"
    25152515msgstr ""
    25162516
    25172517#: includes/addons/wl_product_horizontal_filter.php:819
    25182518msgid "Filter Button"
    25192519msgstr ""
    25202520
    25212521#: includes/addons/wl_product_horizontal_filter.php:328
    25222522msgid "Filter Button Icon"
    25232523msgstr ""
    25242524
    25252525#: includes/addons/product_image_accordion.php:62
    25262526#: includes/addons/product_accordion.php:83
    25272527#: includes/addons/product_curvy.php:118 includes/addons/product_tabs.php:75
    25282528msgid "Filter By"
    25292529msgstr ""
    25302530
    25312531#: includes/admin/include/class.template_cpt.php:71
    25322532msgid "Filter from list"
    25332533msgstr ""
    25342534
    25352535#: includes/addons/wl_product_horizontal_filter.php:164
    25362536msgid "Filter List"
    25372537msgstr ""
    25382538
    25392539#: includes/addons/wl_product_horizontal_filter.php:707
    25402540msgid "Filter Menu"
    25412541msgstr ""
    25422542
    25432543#: includes/addons/wl_product_horizontal_filter.php:70
    25442544#: includes/addons/wl_product_horizontal_filter.php:211
    25452545msgid "Filter Placeholder"
    25462546msgstr ""
    25472547
    25482548#: includes/addons/wl_product_horizontal_filter.php:61
    25492549msgid "Filter Title"
    25502550msgstr ""
    25512551
    25522552#: includes/addons/wl_product_horizontal_filter.php:79
    25532553#: includes/addons/wl_product_filter.php:59
    25542554msgid "Filter Type"
    25552555msgstr ""
    25562556
    25572557#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:454
    25582558#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:619
    25592559msgid "Firefox"
    25602560msgstr ""
    25612561
    25622562#: includes/addons/wl_testimonial.php:200
    25632563#: includes/addons/wb_customer_review.php:188
    25642564#: includes/addons/wl_recently_viewed_products.php:80
    25652565#: includes/addons/wl_category_grid.php:256
    25662566msgid "Five"
    25672567msgstr ""
    25682568
    25692569#: includes/addons/wb_wc_multicurrency.php:59
    25702570msgid "Flag only"
    25712571msgstr ""
    25722572
    25732573#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:72
    25742574#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:101
    25752575msgid "Flag Style"
    25762576msgstr ""
    25772577
    25782578#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:285
    25792579#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:342
    25802580msgid "flash"
    25812581msgstr ""
    25822582
    25832583#: includes/admin/templates/dashboard-freevspro.php:105
    25842584msgid "Flash Sale Countdown"
    25852585msgstr ""
    25862586
    25872587#: includes/modules/flash-sale/class.flash-sale.php:196
    25882588msgid "Flash Sale!"
    25892589msgstr ""
    25902590
    25912591#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:308
    25922592#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:365
    25932593msgid "flip"
    25942594msgstr ""
    25952595
    25962596#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:309
    25972597msgid "flipInX"
    25982598msgstr ""
    25992599
    26002600#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:310
    26012601msgid "flipInY"
    26022602msgstr ""
    26032603
    26042604#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:366
    26052605msgid "flipOutX"
    26062606msgstr ""
    26072607
    26082608#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:367
    26092609msgid "flipOutY"
    26102610msgstr ""
    26112611
    26122612#: includes/addons/wl_product_horizontal_filter.php:669
    26132613#: includes/addons/wl_product_horizontal_filter.php:850
    26142614#: includes/addons/wl_onepage_slider.php:418
    26152615#: includes/addons/wl_testimonial.php:764 includes/addons/product_tabs.php:1167
    26162616#: includes/addons/wb_product_add_to_cart.php:438
    26172617#: includes/addons/wb_product_add_to_cart.php:774
    26182618#: includes/addons/wb_product_add_to_cart.php:954
    26192619msgid "Font Size"
    26202620msgstr ""
    26212621
    26222622#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:351
    26232623#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:524
    26242624msgid "For (days)"
    26252625msgstr ""
    26262626
    26272627#: includes/addons/wl_product_filter.php:247
    26282628msgid "Form Style"
    26292629msgstr ""
    26302630
    26312631#: includes/addons/wl_testimonial.php:199
    26322632#: includes/addons/wb_customer_review.php:187
    26332633#: includes/addons/wl_recently_viewed_products.php:79
    26342634#: includes/addons/wl_category_grid.php:255
    26352635msgid "Four"
    26362636msgstr ""
    26372637
    26382638#: includes/admin/templates/dashboard-freevspro.php:214
    26392639#: includes/admin/templates/dashboard-freevspro.php:261
    26402640#: includes/admin/include/template-library/templates_list.php:30
    26412641msgid "Free"
    26422642msgstr ""
    26432643
    26442644#: includes/admin/include/class.extension-manager.php:136
    26452645msgid "Free extension"
    26462646msgstr ""
    26472647
    26482648#: includes/addons/wl_store_features.php:110
    26492649msgid "Free shipping"
    26502650msgstr ""
    26512651
    26522652#: includes/modules/flash-sale/class.flash-sale.php:160
    26532653msgid "Free!"
    26542654msgstr ""
    26552655
    26562656#: includes/modules/popup-builder/includes/class-repeater-helper.php:174
    26572657msgid "Front Page"
    26582658msgstr ""
    26592659
    26602660#: woolentor-blocks/includes/helper-functions.php:370
    26612661#: woolentor-blocks/production/includes/helper-functions.php:370
    26622662msgid "Full"
    26632663msgstr ""
    26642664
    26652665#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:110
    26662666#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:40
    26672667#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:40
    26682668msgid "General"
    26692669msgstr ""
    26702670
    26712671#: includes/addons/product_flash_sale.php:63
    26722672msgid "General Settings"
    26732673msgstr ""
    26742674
    26752675#: includes/addons/product_flash_sale.php:379
    26762676msgid "General Style"
    26772677msgstr ""
    26782678
    26792679#: includes/addons/wb_customer_review.php:157
    26802680msgid "Gerald Gilbert"
    26812681msgstr ""
    26822682
    26832683#: includes/admin/templates/dashboard-welcome.php:21
    26842684msgid "Get Now"
    26852685msgstr ""
    26862686
    26872687#: includes/admin/templates/dashboard-sidebar.php:16
    26882688msgid "Get Pro Now"
    26892689msgstr ""
    26902690
    26912691#: includes/admin/templates/dashboard-welcome.php:43
    26922692msgid "Get Support"
    26932693msgstr ""
    26942694
    26952695#: includes/base.php:247 includes/addons/wl_category.php:225
    26962696#: includes/addons/wl_brand.php:229 includes/addons/wl_brand.php:372
    26972697msgid "Go Pro"
    26982698msgstr ""
    26992699
    27002700#: woolentor-blocks/src/blocks/product-reviews/index.php:39
    27012701#: woolentor-blocks/production/src/blocks/product-reviews/index.php:39
    27022702msgid "Good"
    27032703msgstr ""
    27042704
    27052705#: includes/addons/product_accordion.php:66
    27062706msgid "Gradient Color"
    27072707msgstr ""
    27082708
    27092709#: includes/admin/templates/dashboard-freevspro.php:181
    27102710msgid "GTM Conversion Tracking"
    27112711msgstr ""
    27122712
    27132713#: includes/admin/include/class.template-manager.php:446
    27142714#: includes/admin/include/class.template-manager.php:480
    27152715msgid "Gutenberg"
    27162716msgstr ""
    27172717
    2718 #: includes/helper-function.php:630
     2718#: includes/helper-function.php:644
    27192719msgid "H1"
    27202720msgstr ""
    27212721
    2722 #: includes/helper-function.php:631
     2722#: includes/helper-function.php:645
    27232723msgid "H2"
    27242724msgstr ""
    27252725
    2726 #: includes/helper-function.php:632
     2726#: includes/helper-function.php:646
    27272727msgid "H3"
    27282728msgstr ""
    27292729
    2730 #: includes/helper-function.php:633
     2730#: includes/helper-function.php:647
    27312731msgid "H4"
    27322732msgstr ""
    27332733
    2734 #: includes/helper-function.php:634
     2734#: includes/helper-function.php:648
    27352735msgid "H5"
    27362736msgstr ""
    27372737
    2738 #: includes/helper-function.php:635
     2738#: includes/helper-function.php:649
    27392739msgid "H6"
    27402740msgstr ""
    27412741
    27422742#. Author of the plugin
    27432743msgid "HasThemes"
    27442744msgstr ""
    27452745
    27462746#: includes/admin/admin-init.php:255
    27472747msgid "HasThemes Stories"
    27482748msgstr ""
    27492749
    27502750#: includes/admin/templates/dashboard-welcome.php:53
    27512751msgid ""
    27522752"Have you ever noticed any missing features? Please notify us if you do. As "
    27532753"soon as possible, our staff will add any necessary features based on your "
    27542754"requests. Our commitment to our clients is second to none. We always attempt "
    27552755"to fulfill their demands."
    27562756msgstr ""
    27572757
    27582758#: includes/addons/wb_wc_multicurrency.php:70
    27592759#: includes/addons/wb_product_upsell.php:93
    27602760#: includes/addons/wb_product_upsell.php:110
    27612761#: includes/addons/wb_product_related.php:108
    27622762#: includes/addons/wb_product_related.php:124
    27632763#: includes/addons/wb_just_table.php:67
    27642764#: includes/addons/wb_ever_compare_table.php:68
    27652765#: includes/addons/wb_product_additional_information.php:45
    27662766#: includes/addons/wb_product_additional_information.php:52
    27672767#: includes/addons/wb_product_additional_information.php:69
    27682768msgid "Heading"
    27692769msgstr ""
    27702770
    27712771#: includes/addons/wb_just_table.php:96 includes/addons/wb_just_table.php:102
    27722772#: includes/addons/wb_wishsuite_table.php:88
    27732773msgid "Heading Background"
    27742774msgstr ""
    27752775
    27762776#: includes/addons/wb_wc_multicurrency.php:78
    27772777#: includes/addons/wb_product_data_tab.php:293
    27782778#: includes/addons/wb_just_table.php:75
    27792779#: includes/addons/wb_wishsuite_table.php:76
    27802780#: includes/addons/wb_ever_compare_table.php:76
    27812781msgid "Heading Color"
    27822782msgstr ""
    27832783
    27842784#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:580
    27852785msgid "Heading color (Event)"
    27862786msgstr ""
    27872787
    27882788#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:588
    27892789msgid "Heading color (Odd)"
    27902790msgstr ""
    27912791
    27922792#: includes/addons/wb_product_data_tab.php:304
    27932793msgid "Heading Margin"
    27942794msgstr ""
    27952795
    27962796#: includes/addons/wb_product_data_tab.php:285
    27972797msgid "Heading Typography"
    27982798msgstr ""
    27992799
    28002800#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:293
    28012801#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:350
    28022802msgid "heartBeat"
    28032803msgstr ""
    28042804
    28052805#: includes/addons/product_flash_sale.php:942
    28062806#: includes/addons/wl_onepage_slider.php:448
    28072807#: includes/addons/wl_onepage_slider.php:519
    28082808#: includes/addons/wl_product_video_gallery.php:97
    28092809#: includes/addons/wl_product_filter.php:592
    28102810#: includes/addons/wb_product_add_to_cart.php:837
    28112811#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:442
    28122812#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:385
    28132813msgid "Height"
    28142814msgstr ""
    28152815
    28162816#: includes/addons/wb_archive_catalog_ordering.php:83
    28172817msgid "Height (px)"
    28182818msgstr ""
    28192819
    28202820#: includes/admin/templates/dashboard-style.php:20
    28212821#: includes/admin/templates/dashboard-style.php:23
    28222822msgid "Helping Screenshot"
    28232823msgstr ""
    28242824
    28252825#: includes/addons/product_flash_sale.php:1224
    28262826msgid "Here"
    28272827msgstr ""
    28282828
    2829 #: includes/helper-function.php:1199 includes/helper-function.php:1217
     2829#: includes/helper-function.php:1213 includes/helper-function.php:1231
    28302830msgid "here"
    28312831msgstr ""
    28322832
    28332833#: includes/addons/product_flash_sale.php:177
    28342834#: includes/addons/product_flash_sale.php:329
    28352835#: includes/addons/wb_product_upsell.php:96
    28362836#: includes/addons/wb_archive_product.php:806
    28372837#: includes/addons/wl_archive_title.php:63
    28382838#: includes/addons/wl_archive_title.php:75
    28392839#: includes/addons/wl_archive_title.php:87
    28402840#: includes/addons/wb_product_related.php:110
    28412841#: includes/addons/wb_product_additional_information.php:55
    28422842msgid "Hide"
    28432843msgstr ""
    28442844
    28452845#: includes/addons/product_image_accordion.php:222
    28462846msgid "Hide Category"
    28472847msgstr ""
    28482848
    28492849#: includes/addons/wb_product_add_to_cart.php:487
    28502850#: includes/addons/wb_product_add_to_cart.php:896
    28512851msgid "Hide Compare"
    28522852msgstr ""
    28532853
    28542854#: includes/addons/product_accordion.php:276
    28552855#: includes/addons/product_curvy.php:289
    28562856msgid "Hide Content"
    28572857msgstr ""
    28582858
    28592859#: includes/addons/wl_category.php:181 includes/addons/wl_category_grid.php:174
    28602860msgid "Hide Empty Category"
    28612861msgstr ""
    28622862
    28632863#: includes/addons/product_image_accordion.php:243
    28642864#: includes/addons/product_accordion.php:300
    28652865#: includes/addons/product_curvy.php:278
    28662866msgid "Hide Price"
    28672867msgstr ""
    28682868
    28692869#: includes/addons/wb_product_add_to_cart.php:1028
    28702870msgid "Hide Quantity Field"
    28712871msgstr ""
    28722872
    28732873#: includes/addons/product_image_accordion.php:255
    28742874#: includes/addons/product_accordion.php:311
    28752875#: includes/addons/product_curvy.php:315
    28762876msgid "Hide Rating"
    28772877msgstr ""
    28782878
    28792879#: includes/addons/product_image_accordion.php:232
    28802880#: includes/addons/product_curvy.php:267
    28812881#: includes/addons/wb_product_categories.php:84
    28822882#: includes/addons/wb_product_sku.php:84 includes/addons/wb_product_tags.php:84
    28832883msgid "Hide Title"
    28842884msgstr ""
    28852885
    28862886#: includes/addons/wb_product_add_to_cart.php:477
    28872887#: includes/addons/wb_product_add_to_cart.php:886
    28882888msgid "Hide Wishlist"
    28892889msgstr ""
    28902890
    28912891#: includes/addons/wl_product_filter.php:140
    28922892msgid "Hierarchical"
    28932893msgstr ""
    28942894
    28952895#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:326
    28962896#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:383
    28972897msgid "hinge"
    28982898msgstr ""
    28992899
    29002900#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:121
    29012901#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:169
    29022902msgid "Hook name"
    29032903msgstr ""
    29042904
    29052905#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:129
    29062906#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:177
    29072907msgid "Hook priority"
    29082908msgstr ""
    29092909
    29102910#: includes/addons/wl_category.php:54
    29112911msgid "Horizontal"
    29122912msgstr ""
    29132913
    29142914#: includes/addons/special_day_offer.php:198
    29152915#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:498
    29162916msgid "Horizontal Position"
    29172917msgstr ""
    29182918
    29192919#: classes/class.widgets_control.php:305
    29202920msgid "Horizontal Product Filter"
    29212921msgstr ""
    29222922
    29232923#: includes/addons/product_flash_sale.php:278
    29242924#: includes/addons/product_flash_sale.php:280
    29252925#: includes/addons/product_flash_sale.php:1030
    29262926#: includes/modules/flash-sale/class.flash-sale.php:448
    29272927msgid "Hours"
    29282928msgstr ""
    29292929
    29302930#: includes/addons/product_flash_sale.php:723
    29312931#: includes/addons/wl_product_horizontal_filter.php:683
    29322932#: includes/addons/wl_product_horizontal_filter.php:875
    29332933#: includes/addons/special_day_offer.php:720
    29342934#: includes/addons/wl_testimonial.php:963
    29352935#: includes/addons/wl_store_features.php:378
    29362936#: includes/addons/wb_archive_product.php:642
    29372937#: includes/addons/product_image_accordion.php:588
    29382938#: includes/addons/wb_product_call_for_price.php:170
    29392939#: includes/addons/product_accordion.php:659
    29402940#: includes/addons/product_curvy.php:791
    29412941#: includes/addons/wb_product_suggest_price.php:491
    29422942#: includes/addons/wb_product_suggest_price.php:643
    29432943#: includes/addons/wb_product_suggest_price.php:786
    29442944#: includes/addons/wl_product_filter.php:381
    29452945#: includes/addons/wl_product_filter.php:502
    29462946#: includes/addons/wl_product_filter.php:765
    29472947#: includes/addons/wl_recently_viewed_products.php:492
    29482948#: includes/addons/wb_wishsuite_table.php:411
    29492949#: includes/addons/product_tabs.php:363 includes/addons/product_tabs.php:757
    29502950#: includes/addons/product_tabs.php:1075 includes/addons/product_tabs.php:1197
    29512951#: includes/addons/wb_product_add_to_cart.php:274
    29522952#: includes/addons/wb_product_add_to_cart.php:638
    29532953#: includes/addons/wb_product_add_to_cart.php:932
    29542954#: includes/addons/wb_product_add_to_cart.php:1132
    29552955#: includes/addons/wl_category_grid.php:972
    29562956msgid "Hover"
    29572957msgstr ""
    29582958
    29592959#: includes/addons/wl_product_horizontal_filter.php:779
    29602960#: includes/addons/wl_onepage_slider.php:363
    29612961msgid "Hover Background"
    29622962msgstr ""
    29632963
    29642964#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:187
    29652965#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:463
    29662966msgid "Hover Background Color"
    29672967msgstr ""
    29682968
    29692969#: includes/addons/wl_onepage_slider.php:369
    29702970#: includes/addons/wl_onepage_slider.php:575
    29712971msgid "Hover Background Type"
    29722972msgstr ""
    29732973
    29742974#: includes/addons/wl_store_features.php:180
    29752975msgid "Hover Border"
    29762976msgstr ""
    29772977
    29782978#: includes/addons/wl_store_features.php:184
    29792979msgid "Hover Border Type"
    29802980msgstr ""
    29812981
    29822982#: includes/addons/wl_product_horizontal_filter.php:763
    29832983#: includes/addons/wl_onepage_slider.php:326
    29842984#: includes/addons/wl_onepage_slider.php:404
    29852985#: includes/addons/wl_category.php:360
    29862986#: includes/addons/wl_recently_viewed_products.php:337
    29872987#: includes/addons/wb_wishsuite_table.php:164
    29882988#: includes/addons/wb_wishsuite_table.php:272
    29892989#: includes/addons/add_banner.php:251 includes/addons/wl_category_grid.php:622
    29902990#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:177
    29912991#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:447
    29922992msgid "Hover Color"
    29932993msgstr ""
    29942994
    29952995#: includes/modules/post-duplicator/class.post-duplicator.php:45
    29962996msgid "HT Duplicate"
    29972997msgstr ""
    29982998
    29992999#: includes/modules/post-duplicator/class.post-duplicator.php:45
    30003000msgid "HT Duplicator"
    30013001msgstr ""
    30023002
    30033003#: includes/addons/product_flash_sale.php:241
    30043004msgid "HTML tags are allowed."
    30053005msgstr ""
    30063006
    30073007#. Author URI of the plugin
    30083008msgid "https://hasthemes.com/plugins/woolentor-pro/"
    30093009msgstr ""
    30103010
    30113011#. URI of the plugin
    30123012msgid "https://woolentor.com/"
    30133013msgstr ""
    30143014
    30153015#: includes/addons/special_day_offer.php:133 includes/addons/wl_brand.php:97
    30163016#: includes/addons/add_banner.php:123
    30173017msgid "https://your-link.com"
    30183018msgstr ""
    30193019
    30203020#: includes/modules/flash-sale/class.flash-sale.php:438
    30213021msgid "Hurry Up! Offer ends in"
    30223022msgstr ""
    30233023
    30243024#: includes/addons/wl_faq.php:613 includes/addons/wl_store_features.php:68
    30253025#: includes/addons/wl_store_features.php:84
    30263026#: includes/addons/wl_product_filter.php:151
    30273027msgid "Icon"
    30283028msgstr ""
    30293029
    30303030#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:311
    30313031msgid "Icon Background"
    30323032msgstr ""
    30333033
    30343034#: includes/addons/product_flash_sale.php:538
    30353035#: includes/addons/wl_breadcrumbs.php:154
    30363036#: includes/addons/wl_store_features.php:264
    30373037#: includes/addons/wb_wishsuite_table.php:311
    30383038#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:282
    30393039msgid "Icon Color"
    30403040msgstr ""
    30413041
    30423042#: includes/addons/wl_store_features.php:279
    30433043#: includes/addons/wb_wishsuite_table.php:321
    30443044msgid "Icon Hover Color"
    30453045msgstr ""
    30463046
    30473047#: includes/addons/wl_faq.php:717 includes/addons/wl_faq.php:852
    30483048msgid "Icon Line Height"
    30493049msgstr ""
    30503050
    30513051#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:346
    30523052msgid "Icon Margin"
    30533053msgstr ""
    30543054
    30553055#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:365
    30563056msgid "Icon Padding"
    30573057msgstr ""
    30583058
    30593059#: includes/addons/wl_faq.php:241
    30603060#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:115
    30613061msgid "Icon Position"
    30623062msgstr ""
    30633063
    30643064#: includes/addons/product_flash_sale.php:551
    30653065#: includes/addons/wl_breadcrumbs.php:166
    30663066#: includes/addons/wl_store_features.php:294
    30673067#: includes/addons/wl_product_filter.php:358
    30683068#: includes/addons/wl_product_filter.php:464
    30693069#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:294
    30703070msgid "Icon Size"
    30713071msgstr ""
    30723072
    30733073#: includes/addons/product_accordion.php:235
    30743074#: includes/addons/wl_product_filter.php:162
    30753075#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:138
    30763076msgid "Icon Spacing"
    30773077msgstr ""
    30783078
    30793079#: includes/addons/wl_store_features.php:64
    30803080msgid "Icon Type"
    30813081msgstr ""
    30823082
    30833083#: includes/addons/wl_faq.php:737
    30843084msgid "Icon Width"
    30853085msgstr ""
    30863086
    3087 #: includes/helper-function.php:1271 includes/addons/product_flash_sale.php:133
     3087#: includes/helper-function.php:1285 includes/addons/product_flash_sale.php:133
    30883088#: includes/addons/product_image_accordion.php:146
    30893089#: includes/addons/product_accordion.php:167
    30903090#: includes/addons/wl_category.php:152 includes/addons/product_curvy.php:202
    30913091#: includes/addons/product_tabs.php:161
    30923092#: includes/addons/wl_category_grid.php:145
    30933093msgid "ID"
    30943094msgstr ""
    30953095
    30963096#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:457
    30973097#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:622
    30983098msgid "IE"
    30993099msgstr ""
    31003100
    31013101#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:360
    31023102#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:535
    31033103msgid "If closed (times)"
    31043104msgstr ""
    31053105
    31063106#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:276
    31073107msgid ""
    31083108"If you enable this you can easily share your compare page link with specific "
    31093109"products."
    31103110msgstr ""
    31113111
    31123112#: includes/modules/shopify-like-checkout/templates/form-checkout.php:61
    31133113msgid ""
    31143114"If you have shopped with us before, please enter your details below. If you "
    31153115"are a new customer, please proceed to the Billing section."
    31163116msgstr ""
    31173117
    31183118#: includes/admin/templates/dashboard-sidebar.php:25
    31193119msgid ""
    31203120"If you’re loving how our product has helped your business, please let the "
    31213121"WordPress community know by "
    31223122msgstr ""
    31233123
    31243124#: includes/addons/wl_onepage_slider.php:53
    31253125#: includes/addons/special_day_offer.php:66
    31263126#: includes/addons/wl_testimonial.php:111
    31273127#: includes/addons/wl_testimonial.php:531
    31283128#: includes/addons/wl_store_features.php:72
    31293129#: includes/addons/wl_store_features.php:97
    31303130#: includes/addons/wb_archive_product.php:266
    31313131#: includes/addons/wb_product_image.php:44
    31323132#: includes/addons/wb_image_marker.php:43
    31333133#: includes/addons/wb_customer_review.php:109
    31343134#: includes/addons/wb_customer_review.php:361
    31353135#: includes/addons/wl_category_grid.php:542
    31363136#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:54
    31373137#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:219
    31383138#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:329
    31393139msgid "Image"
    31403140msgstr ""
    31413141
    31423142#: includes/addons/wl_testimonial.php:559
    31433143msgid "Image Area Border Color"
    31443144msgstr ""
    31453145
    31463146#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:395
    31473147msgid "Image Hard Crop"
    31483148msgstr ""
    31493149
    31503150#: classes/class.widgets_control.php:236
    31513151#: woolentor-blocks/includes/classes/Blocks_List.php:39
    31523152#: woolentor-blocks/production/includes/classes/Blocks_List.php:39
    31533153msgid "Image Marker"
    31543154msgstr ""
    31553155
    31563156#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:380
    31573157msgid "Image size"
    31583158msgstr ""
    31593159
    31603160#: includes/addons/wl_store_features.php:240
    31613161msgid "Image/Icon"
    31623162msgstr ""
    31633163
    31643164#: classes/class.assest_management.php:368
    31653165msgid "Import"
    31663166msgstr ""
    31673167
    31683168#: includes/admin/include/class.template-manager.php:388
    31693169msgid "Import Previously Assigned Templates"
    31703170msgstr ""
    31713171
    31723172#: includes/admin/include/template-library/popup-template.php:25
    31733173msgid "Import template to your Template Library."
    31743174msgstr ""
    31753175
    31763176#: classes/class.assest_management.php:367
    31773177msgid "Import to Builder"
    31783178msgstr ""
    31793179
    31803180#: classes/class.assest_management.php:365
    31813181msgid "Import to Library"
    31823182msgstr ""
    31833183
    31843184#: classes/class.assest_management.php:366
    31853185msgid "Import to Page"
    31863186msgstr ""
    31873187
    31883188#: classes/class.assest_management.php:360
    31893189msgid "in this package"
    31903190msgstr ""
    31913191
    31923192#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:184
    31933193msgid "Inactivity Time (ms)"
    31943194msgstr ""
    31953195
    31963196#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:130
    31973197#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:528
    31983198msgid "Include"
    31993199msgstr ""
    32003200
    32013201#: includes/admin/templates/dashboard-freevspro.php:19
    32023202msgid "Individual Archive Page Builder"
    32033203msgstr ""
    32043204
    32053205#: includes/modules/shopify-like-checkout/templates/form-checkout.php:53
    32063206msgid "Information"
    32073207msgstr ""
    32083208
    32093209#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:165
    32103210#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:300
    32113211#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:327
    32123212msgid "Inherit"
    32133213msgstr ""
    32143214
    32153215#: includes/custom-metabox.php:45
    32163216msgid "Initial number in stock"
    32173217msgstr ""
    32183218
    32193219#: includes/addons/wb_product_suggest_price.php:192
    32203220msgid "Input"
    32213221msgstr ""
    32223222
    32233223#: includes/addons/wl_product_horizontal_filter.php:567
    32243224#: includes/addons/wl_product_filter.php:258
    32253225msgid "Input Box"
    32263226msgstr ""
    32273227
    32283228#: includes/addons/wb_product_suggest_price.php:109
    32293229msgid "Input Field Placeholder"
    32303230msgstr ""
    32313231
    32323232#: includes/admin/include/class.template_cpt.php:67
    32333233msgid "Insert into Template"
    32343234msgstr ""
    32353235
    32363236#: includes/admin/include/template-library.php:196
    32373237#: includes/admin/include/template-library.php:249
    32383238#: includes/admin/include/class.extension-manager.php:165
    32393239#: includes/admin/include/class.extension-manager.php:232
    32403240msgid "Install Now"
    32413241msgstr ""
    32423242
    32433243#: includes/base.php:152
    32443244msgid "Install WooCommerce"
    32453245msgstr ""
    32463246
    32473247#: classes/class.assest_management.php:371
    32483248msgid "Installing.."
    32493249msgstr ""
    32503250
    32513251#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:401
    32523252msgid "Is"
    32533253msgstr ""
    32543254
    32553255#: includes/modules/popup-builder/includes/class-repeater-helper.php:320
    32563256msgid "Is empty"
    32573257msgstr ""
    32583258
    32593259#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:390
    32603260msgid "Is Exactly Matched"
    32613261msgstr ""
    32623262
    32633263#: includes/admin/include/class.template-manager.php:490
    32643264msgid ""
    32653265"It will import those templates that were created from the \"Templates\" menu "
    32663266"of Elementor and assigned to corresponding WooCommerce pages."
    32673267msgstr ""
    32683268
    32693269#: includes/addons/wl_faq.php:259 includes/addons/wl_testimonial.php:475
    32703270#: includes/addons/wb_archive_product.php:171
    32713271msgid "Item"
    32723272msgstr ""
    32733273
    32743274#: includes/addons/wl_recently_viewed_products.php:195
    32753275msgid "Item Area"
    32763276msgstr ""
    32773277
    32783278#: includes/addons/wb_just_table.php:138
    32793279msgid "Item Gap Color"
    32803280msgstr ""
    32813281
    32823282#: includes/addons/wl_faq.php:267
    32833283msgid "Item Spacing"
    32843284msgstr ""
    32853285
    32863286#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:327
    32873287msgid "jackInTheBox"
    32883288msgstr ""
    32893289
    32903290#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:292
    32913291#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:349
    32923292msgid "jello"
    32933293msgstr ""
    32943294
    32953295#: includes/addons/wb_product_short_description.php:69
    32963296#: includes/addons/special_day_offer.php:285
    32973297#: includes/addons/wl_store_features.php:155
    32983298#: includes/addons/wb_product_data_tab.php:172
    32993299#: includes/addons/wb_archive_product.php:249
    33003300#: includes/addons/wb_product_description.php:67
    33013301#: includes/addons/product_tabs.php:257 includes/addons/product_tabs.php:978
    33023302#: includes/addons/product_tabs.php:1057
    33033303msgid "Justified"
    33043304msgstr ""
    33053305
    33063306#: classes/class.widgets_control.php:442 includes/addons/wb_just_table.php:48
    33073307msgid "JustTable"
    33083308msgstr ""
    33093309
    33103310#: includes/admin/include/class.extension-manager.php:72
    33113311msgid "JustTables"
    33123312msgstr ""
    33133313
    33143314#: includes/admin/include/class.extension-manager.php:90
    33153315msgid ""
    33163316"JustTables is an incredible WordPress plugin that lets you showcase all your "
    33173317"WooCommerce products in a sortable and filterable table view. It allows your "
    33183318"customers to easily navigate through different attributes of the products "
    33193319"and compare them on a single page. This plugin will be of great help if you "
    33203320"are looking for an easy solution that increases the chances of landing a "
    33213321"sale on your online store."
    33223322msgstr ""
    33233323
    33243324#: includes/admin/include/class.extension-manager.php:87
    33253325msgid "JustTables Pro"
    33263326msgstr ""
    33273327
    33283328#: includes/addons/wl_testimonial.php:151
    33293329msgid "Kevin Walker"
    33303330msgstr ""
    33313331
    33323332#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:573
    33333333msgid "Keyword Value"
    33343334msgstr ""
    33353335
    33363336#: includes/addons/wl_product_horizontal_filter.php:489
    33373337msgid "Label"
    33383338msgstr ""
    33393339
    33403340#: includes/addons/wl_product_horizontal_filter.php:972
    33413341#: includes/addons/wl_product_filter.php:852
    33423342msgctxt "label"
    33433343msgid "Search for:"
    33443344msgstr ""
    33453345
    33463346#: includes/addons/product_flash_sale.php:864
    33473347#: includes/addons/wl_product_filter.php:666
    33483348msgid "Label Color"
    33493349msgstr ""
    33503350
    33513351#: includes/addons/wl_store_features.php:48
    33523352#: includes/addons/wb_product_add_to_cart.php:47
    33533353#: includes/addons/wb_product_add_to_cart.php:55
    33543354msgid "Layout"
    33553355msgstr ""
    33563356
    33573357#: includes/addons/wl_store_features.php:56
    33583358msgid "Layout Five"
    33593359msgstr ""
    33603360
    33613361#: includes/addons/wl_store_features.php:55
    33623362#: includes/addons/wb_product_add_to_cart.php:63
    33633363msgid "Layout Four"
    33643364msgstr ""
    33653365
    33663366#: includes/addons/wl_store_features.php:52
    33673367#: includes/addons/wb_product_add_to_cart.php:60
    33683368msgid "Layout One"
    33693369msgstr ""
    33703370
    33713371#: includes/addons/product_accordion.php:54
    33723372#: includes/addons/product_curvy.php:54
    33733373msgid "Layout Settings"
    33743374msgstr ""
    33753375
    33763376#: includes/addons/wl_store_features.php:54
    33773377#: includes/addons/wb_product_add_to_cart.php:62
    33783378msgid "Layout Three"
    33793379msgstr ""
    33803380
    33813381#: includes/addons/wl_store_features.php:53
    33823382#: includes/addons/wb_product_add_to_cart.php:61
    33833383msgid "Layout Two"
    33843384msgstr ""
    33853385
    33863386#: includes/admin/templates/dashboard-sidebar.php:25
    33873387msgid "leaving us a review on our WP repository"
    33883388msgstr ""
    33893389
    33903390#: includes/addons/wl_faq.php:354 includes/addons/wl_faq.php:577
    33913391#: includes/addons/wb_product_short_description.php:57
    33923392#: includes/addons/wl_breadcrumbs.php:78
    33933393#: includes/addons/wb_wishsuite_counter.php:69
    33943394#: includes/addons/wl_product_horizontal_filter.php:794
    33953395#: includes/addons/wl_onepage_slider.php:173
    33963396#: includes/addons/special_day_offer.php:57
    33973397#: includes/addons/special_day_offer.php:273
    33983398#: includes/addons/wl_store_features.php:143
    33993399#: includes/addons/wb_product_data_tab.php:160
    34003400#: includes/addons/wb_archive_product.php:237
    34013401#: includes/addons/wb_archive_product.php:900
    34023402#: includes/addons/wl_archive_title.php:112
    34033403#: includes/addons/wb_product_qr_code.php:91
    34043404#: includes/addons/wb_product_related.php:169
    34053405#: includes/addons/wb_archive_result_count.php:83
    34063406#: includes/addons/wb_product_description.php:55
    34073407#: includes/addons/wl_category.php:313
    34083408#: includes/addons/wl_product_video_gallery.php:61
    34093409#: includes/addons/wl_brand.php:298
    34103410#: includes/addons/wb_product_categories.php:64
    34113411#: includes/addons/wb_product_rating.php:100
    34123412#: includes/addons/wb_product_title.php:107
    34133413#: includes/addons/wb_product_sku.php:64
    34143414#: includes/addons/wb_customer_review.php:290
    34153415#: includes/addons/wl_recently_viewed_products.php:250
    34163416#: includes/addons/wl_recently_viewed_products.php:562
    34173417#: includes/addons/product_tabs.php:245 includes/addons/product_tabs.php:966
    34183418#: includes/addons/product_tabs.php:1045 includes/addons/add_banner.php:67
    34193419#: includes/addons/wl_category_grid.php:734
    34203420#: includes/addons/wb_product_tags.php:64
    34213421#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:424
    34223422#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:59
    34233423#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:285
    34243424#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:477
    34253425#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:491
    34263426#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:505
    34273427#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:526
    34283428#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:556
    34293429msgid "Left"
    34303430msgstr ""
    34313431
    34323432#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:530
    34333433msgid "Lifetime"
    34343434msgstr ""
    34353435
    34363436#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:311
    34373437msgid "lightSpeedIn"
    34383438msgstr ""
    34393439
    34403440#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:368
    34413441msgid "lightSpeedOut"
    34423442msgstr ""
    34433443
    34443444#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:310
    34453445msgid "Limit"
    34463446msgstr ""
    34473447
    34483448#: includes/admin/templates/dashboard-freevspro.php:225
    34493449#: includes/admin/templates/dashboard-freevspro.php:272
    34503450msgid "Limited Features"
    34513451msgstr ""
    34523452
    34533453#: includes/addons/wl_breadcrumbs.php:112
    34543454#: includes/addons/wb_product_meta.php:61
    34553455#: includes/addons/wb_product_rating.php:64
    34563456msgid "Link Color"
    34573457msgstr ""
    34583458
    34593459#: includes/addons/wl_breadcrumbs.php:123
    34603460#: includes/addons/wb_product_meta.php:72
    34613461msgid "Link Hover Color"
    34623462msgstr ""
    34633463
    34643464#: includes/addons/wb_product_rating.php:76
    34653465msgid "Link Typography"
    34663466msgstr ""
    34673467
    34683468#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:52
    34693469msgid "List"
    34703470msgstr ""
    34713471
    34723472#: includes/addons/wl_product_filter.php:424
    34733473msgid "List Item"
    34743474msgstr ""
    34753475
    34763476#: includes/modules/shopify-like-checkout/templates/form-checkout.php:60
    34773477msgid "Log in"
    34783478msgstr ""
    34793479
    34803480#: includes/modules/shopify-like-checkout/templates/form-login.php:41
    34813481msgid "Login"
    34823482msgstr ""
    34833483
    34843484#: includes/modules/currency-switcher/includes/classes/Admin/Actions.php:37
    34853485msgid ""
    34863486"Looks like ShopLentor's Currency Switcher Module is enabled. To configure "
    34873487"the currency-related options, please go to the module's settings. "
    34883488msgstr ""
    34893489
    34903490#: includes/addons/wb_customer_review.php:128
    34913491#: includes/addons/wb_customer_review.php:146
    34923492#: includes/addons/wb_customer_review.php:153
    34933493#: includes/addons/wb_customer_review.php:160
    34943494msgid ""
    34953495"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod "
    34963496"tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, "
    34973497"consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et "
    34983498"dolore magna aliqua."
    34993499msgstr ""
    35003500
    35013501#: includes/addons/wb_image_marker.php:111
    35023502#: includes/addons/wb_image_marker.php:165
    35033503msgid "Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks."
    35043504msgstr ""
    35053505
    35063506#: includes/modules/shopify-like-checkout/templates/form-login.php:44
    35073507msgid "Lost your password?"
    35083508msgstr ""
    35093509
    35103510#: includes/addons/wl_product_video_gallery.php:89
    35113511msgid "Main Video Area"
    35123512msgstr ""
    35133513
    35143514#: includes/addons/wb_customer_review.php:151
    35153515msgid "Manager"
    35163516msgstr ""
    35173517
    35183518#: includes/addons/wb_customer_review.php:91
    35193519#: includes/addons/wb_customer_review.php:144
    35203520msgid "Managing Director"
    35213521msgstr ""
    35223522
    35233523#: includes/addons/product_flash_sale.php:386
    35243524#: includes/addons/product_flash_sale.php:453
    35253525#: includes/addons/product_flash_sale.php:475
    35263526#: includes/addons/product_flash_sale.php:801
    35273527#: includes/addons/wb_product_price.php:71
    35283528#: includes/addons/wl_product_horizontal_filter.php:388
    35293529#: includes/addons/wl_product_horizontal_filter.php:474
    35303530#: includes/addons/wl_product_horizontal_filter.php:541
    35313531#: includes/addons/wl_onepage_slider.php:240
    35323532#: includes/addons/wl_onepage_slider.php:282
    35333533#: includes/addons/wb_product_upsell.php:143
    35343534#: includes/addons/special_day_offer.php:298
    35353535#: includes/addons/special_day_offer.php:357
    35363536#: includes/addons/special_day_offer.php:416
    35373537#: includes/addons/special_day_offer.php:475
    35383538#: includes/addons/special_day_offer.php:534
    35393539#: includes/addons/special_day_offer.php:593
    35403540#: includes/addons/special_day_offer.php:704
    35413541#: includes/addons/wl_testimonial.php:516
    35423542#: includes/addons/wl_testimonial.php:604
    35433543#: includes/addons/wl_testimonial.php:660
    35443544#: includes/addons/wl_testimonial.php:716
    35453545#: includes/addons/wl_testimonial.php:776
    35463546#: includes/addons/wb_product_meta.php:92
    35473547#: includes/addons/wl_store_features.php:364
    35483548#: includes/addons/wl_store_features.php:440
    35493549#: includes/addons/wl_store_features.php:486
    35503550#: includes/addons/wl_store_features.php:532
    35513551#: includes/addons/wb_product_data_tab.php:61
    35523552#: includes/addons/wb_archive_product.php:212
    35533553#: includes/addons/wb_archive_product.php:295
    35543554#: includes/addons/wb_archive_product.php:361
    35553555#: includes/addons/wb_archive_product.php:526
    35563556#: includes/addons/wb_archive_product.php:613
    35573557#: includes/addons/wl_archive_title.php:163
    35583558#: includes/addons/wl_archive_title.php:203
    35593559#: includes/addons/product_image_accordion.php:280
    35603560#: includes/addons/product_image_accordion.php:344
    35613561#: includes/addons/product_image_accordion.php:398
    35623562#: includes/addons/product_image_accordion.php:461
    35633563#: includes/addons/product_image_accordion.php:507
    35643564#: includes/addons/wb_product_image.php:74
    35653565#: includes/addons/wb_archive_catalog_ordering.php:119
    35663566#: includes/addons/wb_product_related.php:152
    35673567#: includes/addons/wb_product_call_for_price.php:124
    35683568#: includes/addons/wb_archive_result_count.php:114
    35693569#: includes/addons/wb_product_description.php:100
    35703570#: includes/addons/product_accordion.php:333
    35713571#: includes/addons/product_accordion.php:477
    35723572#: includes/addons/product_accordion.php:540
    35733573#: includes/addons/product_accordion.php:586
    35743574#: includes/addons/product_curvy.php:340 includes/addons/product_curvy.php:469
    35753575#: includes/addons/product_curvy.php:567 includes/addons/product_curvy.php:630
    35763576#: includes/addons/product_curvy.php:711
    35773577#: includes/addons/wl_product_video_gallery.php:148
    35783578#: includes/addons/wl_brand.php:282
    35793579#: includes/addons/wb_product_categories.php:151
    35803580#: includes/addons/wb_product_suggest_price.php:245
    35813581#: includes/addons/wb_product_suggest_price.php:344
    35823582#: includes/addons/wb_product_suggest_price.php:442
    35833583#: includes/addons/wb_product_suggest_price.php:597
    35843584#: includes/addons/wb_product_suggest_price.php:740
    35853585#: includes/addons/wb_product_rating.php:84
    35863586#: includes/addons/wb_product_title.php:90
    35873587#: includes/addons/wl_product_filter.php:232
    35883588#: includes/addons/wb_product_sku.php:139
    35893589#: includes/addons/wb_image_marker.php:350
    35903590#: includes/addons/wb_image_marker.php:392
    35913591#: includes/addons/wb_customer_review.php:420
    35923592#: includes/addons/wb_customer_review.php:476
    35933593#: includes/addons/wb_customer_review.php:532
    35943594#: includes/addons/wb_product_stock.php:71
    35953595#: includes/addons/wl_recently_viewed_products.php:348
    35963596#: includes/addons/wl_recently_viewed_products.php:392
    35973597#: includes/addons/wl_recently_viewed_products.php:721
    35983598#: includes/addons/wb_product_add_to_cart.php:754
    35993599#: includes/addons/wb_product_add_to_cart.php:1084
    36003600#: includes/addons/wb_product_additional_information.php:102
    36013601#: includes/addons/add_banner.php:167 includes/addons/add_banner.php:218
    36023602#: includes/addons/wl_category_grid.php:563
    36033603#: includes/addons/wl_category_grid.php:672
    36043604#: includes/addons/wl_category_grid.php:718
    36053605#: includes/addons/wb_product_tags.php:151
    36063606#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:458
    36073607#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:229
    36083608#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:485
    36093609msgid "Margin"
    36103610msgstr ""
    36113611
    36123612#: includes/addons/wb_image_marker.php:76
    36133613#: includes/addons/wb_image_marker.php:186
    36143614msgid "Marker"
    36153615msgstr ""
    36163616
    36173617#: includes/addons/wb_image_marker.php:102
    36183618#: includes/addons/wb_image_marker.php:164
    36193619msgid "Marker #1"
    36203620msgstr ""
    36213621
    36223622#: includes/addons/wb_image_marker.php:109
    36233623msgid "Marker Content"
    36243624msgstr ""
    36253625
    36263626#: includes/addons/wb_image_marker.php:100
    36273627msgid "Marker Title"
    36283628msgstr ""
    36293629
    36303630#: includes/addons/wl_product_horizontal_filter.php:202
    36313631msgid "Max Price"
    36323632msgstr ""
    36333633
    36343634#: includes/addons/wl_product_filter.php:915
    36353635msgid "Max price"
    36363636msgstr ""
    36373637
    36383638#: includes/addons/wl_product_horizontal_filter.php:141
    36393639msgid "Max Width"
    36403640msgstr ""
    36413641
    36423642#: includes/addons/wb_product_upsell.php:72
    36433643#: includes/addons/wb_archive_product.php:133
    36443644#: includes/addons/wb_product_related.php:87
    36453645#: includes/addons/wl_category.php:156 includes/addons/wl_category_grid.php:149
    36463646msgid "Menu Order"
    36473647msgstr ""
    36483648
    36493649#: includes/addons/wb_product_suggest_price.php:155
    36503650msgid "Message"
    36513651msgstr ""
    36523652
    36533653#: includes/addons/wb_product_suggest_price.php:141
    36543654msgid "Message Field Placeholder"
    36553655msgstr ""
    36563656
    36573657#: includes/addons/wb_product_meta.php:43
    36583658msgid "Meta"
    36593659msgstr ""
    36603660
    36613661#: includes/addons/product_flash_sale.php:1031
    36623662#: includes/modules/flash-sale/class.flash-sale.php:449
    36633663msgid "Min"
    36643664msgstr ""
    36653665
    36663666#: includes/addons/wl_product_horizontal_filter.php:193
    36673667msgid "Min Price"
    36683668msgstr ""
    36693669
    36703670#: includes/addons/wl_product_filter.php:914
    36713671msgid "Min price"
    36723672msgstr ""
    36733673
    36743674#: includes/addons/wl_product_horizontal_filter.php:114
    36753675msgid "Min Width"
    36763676msgstr ""
    36773677
    36783678#: includes/addons/wb_product_add_to_cart.php:120
    36793679msgid "Minus Icon"
    36803680msgstr ""
    36813681
    36823682#: includes/addons/wb_product_add_to_cart.php:183
    36833683#: includes/addons/wb_product_add_to_cart.php:281
    36843684msgid "Minus Icon Color"
    36853685msgstr ""
    36863686
    36873687#: includes/addons/product_flash_sale.php:291
    36883688#: includes/addons/product_flash_sale.php:293
    36893689msgid "Minutes"
    36903690msgstr ""
    36913691
    36923692#: includes/admin/templates/dashboard-welcome.php:52
    36933693msgid "Missing any Feature?"
    36943694msgstr ""
    36953695
    36963696#: includes/addons/product_tabs.php:84
    36973697msgid "Mixed order Products"
    36983698msgstr ""
    36993699
    37003700#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:433
    37013701#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:597
    37023702msgid "Mobile"
    37033703msgstr ""
    37043704
    37053705#: includes/addons/wl_testimonial.php:431 includes/addons/product_tabs.php:582
    37063706#: includes/addons/wl_category_grid.php:456
    37073707msgid "Mobile Phone"
    37083708msgstr ""
    37093709
    37103710#: includes/addons/wl_testimonial.php:462 includes/addons/product_tabs.php:615
    37113711#: includes/addons/wl_category_grid.php:487
    37123712msgid "Mobile Resolution"
    37133713msgstr ""
    37143714
    37153715#: includes/admin/templates/dashboard-freevspro.php:255
    37163716msgid "Module"
    37173717msgstr ""
    37183718
    37193719#: includes/modules/currency-switcher/includes/classes/Admin/Actions.php:37
    37203720msgid "Module Setting page"
    37213721msgstr ""
    37223722
    37233723#: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:754
    37243724msgid "More"
    37253725msgstr ""
    37263726
    37273727#: includes/admin/include/class.extension-manager.php:187
    37283728#: includes/admin/include/class.extension-manager.php:255
    37293729msgid "More Details"
    37303730msgstr ""
    37313731
    37323732#: includes/admin/include/class.extension-manager.php:77
    37333733msgid "Multi Currency"
    37343734msgstr ""
    37353735
    37363736#: includes/admin/include/class.extension-manager.php:105
    37373737msgid "Multi Currency Pro for WooCommerce"
    37383738msgstr ""
    37393739
    37403740#: includes/admin/templates/dashboard-freevspro.php:177
    37413741msgid "Multi Step Checkout"
    37423742msgstr ""
    37433743
    37443744#: includes/admin/include/class.extension-manager.php:108
    37453745msgid ""
    37463746"Multi-Currency Pro for WooCommerce is a prominent currency switcher plugin "
    37473747"for WooCommerce. This plugin allows your website or online store visitors to "
    37483748"switch to their preferred currency or their country’s currency."
    37493749msgstr ""
    37503750
    37513751#: includes/addons/wb_wc_multicurrency.php:48
    37523752msgid "MultiCurrency"
    37533753msgstr ""
    37543754
    37553755#: includes/addons/wl_category_grid.php:74
    37563756msgid "Multiple Categories"
    37573757msgstr ""
    37583758
    37593759#: classes/class.default_data.php:374 classes/class.default_data.php:396
    37603760#: includes/addons/wb_product_sku.php:168
    37613761msgid "N/A"
    37623762msgstr ""
    37633763
    3764 #: includes/helper-function.php:1273 includes/addons/product_flash_sale.php:135
     3764#: includes/helper-function.php:1287 includes/addons/product_flash_sale.php:135
    37653765#: includes/addons/wl_testimonial.php:82 includes/addons/wl_testimonial.php:576
    37663766#: includes/addons/product_image_accordion.php:148
    37673767#: includes/addons/product_accordion.php:169
    37683768#: includes/addons/wl_category.php:153 includes/addons/product_curvy.php:204
    37693769#: includes/addons/wb_customer_review.php:80
    37703770#: includes/addons/wb_customer_review.php:392
    37713771#: includes/addons/product_tabs.php:163
    37723772#: includes/addons/wl_category_grid.php:146
    37733773#: includes/admin/include/class.template-manager.php:453
    37743774#: includes/admin/templates/dashboard-freevspro.php:260
    37753775#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:564
    37763776msgid "Name"
    37773777msgstr ""
    37783778
    37793779#: includes/addons/wb_product_suggest_price.php:119
    37803780msgid "Name Field Placeholder"
    37813781msgstr ""
    37823782
    37833783#: includes/addons/wl_testimonial.php:970 includes/addons/product_tabs.php:765
    37843784#: includes/addons/wl_category_grid.php:979
    37853785msgid "Navigation"
    37863786msgstr ""
    37873787
    37883788#: includes/addons/wl_testimonial.php:813 includes/addons/product_tabs.php:650
    37893789#: includes/addons/wl_category_grid.php:822
    37903790msgid "Navigation Arrow"
    37913791msgstr ""
    37923792
    37933793#: includes/addons/wl_testimonial.php:898
    37943794#: includes/addons/wl_testimonial.php:1021 includes/addons/product_tabs.php:714
    37953795#: includes/addons/product_tabs.php:818
    37963796#: includes/addons/wl_category_grid.php:907
    37973797#: includes/addons/wl_category_grid.php:1030
    37983798msgid "Navigation Dots"
    37993799msgstr ""
    38003800
    38013801#: includes/custom-metabox.php:73
    38023802msgid "New"
    38033803msgstr ""
    38043804
    38053805#: includes/admin/include/class.template_cpt.php:55
    38063806msgid "New Template"
    38073807msgstr ""
    38083808
    38093809#: includes/addons/wl_testimonial.php:204
    38103810#: includes/addons/wb_customer_review.php:192
    38113811#: includes/addons/wl_recently_viewed_products.php:84
    38123812#: includes/addons/wl_category_grid.php:260
    38133813msgid "Nine"
    38143814msgstr ""
    38153815
    38163816#: includes/admin/include/class.template-manager.php:137
    38173817msgid "NO"
    38183818msgstr ""
    38193819
    38203820#: includes/addons/wl_faq.php:114 includes/addons/wl_faq.php:193
    38213821#: includes/addons/wl_faq.php:206 includes/addons/wl_testimonial.php:218
    38223822#: includes/addons/wl_testimonial.php:332 includes/addons/wl_category.php:184
    38233823#: includes/addons/wb_customer_review.php:206
    38243824#: includes/addons/wl_recently_viewed_products.php:121
    38253825#: includes/addons/product_tabs.php:477
    38263826#: includes/addons/wl_category_grid.php:177
    38273827#: includes/addons/wl_category_grid.php:201
    38283828#: includes/addons/wl_category_grid.php:216
    38293829#: includes/addons/wl_category_grid.php:274
    38303830#: includes/addons/wl_category_grid.php:358
    38313831#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:63
    38323832#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:91
    38333833msgid "No"
    38343834msgstr ""
    38353835
    38363836#: includes/addons/wl_testimonial.php:215
    38373837#: includes/addons/wb_customer_review.php:203
    38383838#: includes/addons/wl_category_grid.php:271
    38393839msgid "No Gutters"
    38403840msgstr ""
    38413841
    38423842#: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:435
    38433843#: includes/modules/variation-swatch/includes/ajax-actions.php:118
    38443844#: includes/modules/variation-swatch/includes/ajax-actions.php:145
    38453845#: includes/modules/variation-swatch/includes/ajax-actions.php:176
    38463846#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:327
    38473847msgid "No naughty business please!"
    38483848msgstr ""
    38493849
    38503850#: includes/addons/wl_product_filter.php:103
    38513851msgid "No Order label"
    38523852msgstr ""
    38533853
    3854 #: includes/helper-function.php:1518
     3854#: includes/helper-function.php:1532
    38553855msgid "No products were found matching your selection."
    38563856msgstr ""
    38573857
    38583858#: classes/class.default_data.php:316
    38593859msgid "No Rating Available"
    38603860msgstr ""
    38613861
    38623862#: classes/class.default_data.php:543
    38633863msgid "No related products are available."
    38643864msgstr ""
    38653865
    38663866#: includes/modules/ajax-search/base.php:85
    38673867msgid "No Results Found"
    38683868msgstr ""
    38693869
    3870 #: includes/helper-function.php:451
     3870#: includes/helper-function.php:465
    38713871msgid "No saved templates found."
    38723872msgstr ""
    38733873
    38743874#. $s shipping destination.
    38753875#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:56
    38763876#, php-format
    38773877msgid "No shipping options were found for %s."
    38783878msgstr ""
    38793879
    38803880#: classes/class.default_data.php:514
    38813881msgid "No upsell products are available."
    38823882msgstr ""
    38833883
    38843884#: includes/admin/include/diagnostic-data.php:497
    38853885msgid "No, Thanks"
    38863886msgstr ""
    38873887
    38883888#: includes/admin/include/diagnostic-data.php:168
    38893889msgid "Nonce Varification fail"
    38903890msgstr ""
    38913891
    38923892#: includes/admin/include/template-library.php:155
    38933893#: includes/admin/include/template-library.php:286
    38943894#: includes/admin/include/template-library.php:331
    3895 #: includes/admin/include/class.template-manager.php:514
    3896 #: includes/admin/include/class.template-manager.php:690
    3897 #: includes/admin/include/class.template-manager.php:728
    3898 #: includes/admin/include/class.template-manager.php:837
     3895#: includes/admin/include/class.template-manager.php:521
     3896#: includes/admin/include/class.template-manager.php:704
     3897#: includes/admin/include/class.template-manager.php:749
     3898#: includes/admin/include/class.template-manager.php:865
    38993899#: includes/modules/sales-notification/class.sale_notification.php:36
    39003900msgid "Nonce Varification Faild !"
    39013901msgstr ""
    39023902
    3903 #: includes/helper-function.php:1270 includes/addons/product_flash_sale.php:132
     3903#: includes/helper-function.php:1284 includes/addons/product_flash_sale.php:132
    39043904#: includes/addons/product_image_accordion.php:145
    39053905#: includes/addons/product_accordion.php:166
    39063906#: includes/addons/product_curvy.php:201
    39073907#: includes/addons/wl_product_filter.php:106
    39083908#: includes/addons/product_tabs.php:160
    39093909#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:216
    39103910#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:241
    39113911msgid "None"
    39123912msgstr ""
    39133913
    39143914#: includes/addons/wl_faq.php:378 includes/addons/wl_faq.php:625
    39153915#: includes/addons/product_flash_sale.php:653
    39163916#: includes/addons/wl_product_horizontal_filter.php:651
    39173917#: includes/addons/wl_product_horizontal_filter.php:832
    39183918#: includes/addons/special_day_offer.php:633
    39193919#: includes/addons/wl_testimonial.php:806
    39203920#: includes/addons/wl_store_features.php:313
    39213921#: includes/addons/wb_product_data_tab.php:95
    39223922#: includes/addons/wb_archive_product.php:320
    39233923#: includes/addons/wb_archive_product.php:378
    39243924#: includes/addons/wb_archive_product.php:552
    39253925#: includes/addons/wb_archive_product.php:702
    39263926#: includes/addons/product_image_accordion.php:533
    39273927#: includes/addons/wb_product_call_for_price.php:85
    39283928#: includes/addons/product_accordion.php:612
    39293929#: includes/addons/product_curvy.php:747
    39303930#: includes/addons/wb_product_suggest_price.php:405
    39313931#: includes/addons/wb_product_suggest_price.php:558
    39323932#: includes/addons/wb_product_suggest_price.php:701
    39333933#: includes/addons/wl_product_filter.php:330
    39343934#: includes/addons/wl_product_filter.php:437
    39353935#: includes/addons/wl_product_filter.php:700
    39363936#: includes/addons/wl_recently_viewed_products.php:440
    39373937#: includes/addons/wb_wishsuite_table.php:379
    39383938#: includes/addons/product_tabs.php:277 includes/addons/product_tabs.php:643
    39393939#: includes/addons/product_tabs.php:879 includes/addons/product_tabs.php:1136
    39403940#: includes/addons/wb_product_add_to_cart.php:176
    39413941#: includes/addons/wb_product_add_to_cart.php:544
    39423942#: includes/addons/wb_product_add_to_cart.php:910
    39433943#: includes/addons/wb_product_add_to_cart.php:1043
    39443944#: includes/addons/wl_category_grid.php:815
    39453945msgid "Normal"
    39463946msgstr ""
    39473947
    39483948#: includes/admin/include/class.template_cpt.php:61
    39493949msgid "Not found"
    39503950msgstr ""
    39513951
    39523952#: includes/admin/include/class.template_cpt.php:62
    39533953msgid "Not found in Trash"
    39543954msgstr ""
    39553955
    39563956#: woolentor-blocks/src/blocks/product-reviews/index.php:41
    39573957#: woolentor-blocks/production/src/blocks/product-reviews/index.php:41
    39583958msgid "Not that bad"
    39593959msgstr ""
    39603960
    39613961#: classes/class.assest_management.php:362
    39623962msgid "Nothing Found"
    39633963msgstr ""
    39643964
    39653965#: includes/addons/product_flash_sale.php:574
    39663966#: includes/addons/product_flash_sale.php:823
    39673967msgid "Number Color"
    39683968msgstr ""
    39693969
    39703970#: includes/addons/product_tabs.php:124
    39713971msgid "Number of Products"
    39723972msgstr ""
    39733973
    39743974#: includes/addons/wb_ever_compare_table.php:113
    39753975#: includes/addons/wb_ever_compare_table.php:119
    39763976msgid "Odd Heading Background"
    39773977msgstr ""
    39783978
    39793979#: includes/addons/wl_product_horizontal_filter.php:1165
    39803980msgid "of"
    39813981msgstr ""
    39823982
    39833983#: includes/addons/special_day_offer.php:124
    39843984msgid "Off"
    39853985msgstr ""
    39863986
    39873987#: includes/addons/special_day_offer.php:113
    39883988#: includes/addons/special_day_offer.php:502
    39893989msgid "Offer Amount"
    39903990msgstr ""
    39913991
    39923992#: includes/addons/special_day_offer.php:122
    39933993#: includes/addons/special_day_offer.php:561
    39943994msgid "Offer Tag Line"
    39953995msgstr ""
    39963996
    39973997#: includes/addons/wb_product_price.php:85
    39983998msgid "Old Price"
    39993999msgstr ""
    40004000
    40014001#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:252
    40024002#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:139
    40034003msgid "On Click"
    40044004msgstr ""
    40054005
    40064006#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:269
    40074007msgid "On Click Specific Element"
    40084008msgstr ""
    40094009
    40104010#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:193
    40114011msgid "On Exit Intent"
    40124012msgstr ""
    40134013
    40144014#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:175
    40154015msgid "On Inactivity"
    40164016msgstr ""
    40174017
    40184018#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:303
    40194019msgid "On Page Exit Intent"
    40204020msgstr ""
    40214021
    40224022#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:197
    40234023#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:95
    40244024msgid "On Page Load"
    40254025msgstr ""
    40264026
    40274027#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:215
    40284028#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:111
    40294029msgid "On Scroll"
    40304030msgstr ""
    40314031
    40324032#: includes/addons/wl_testimonial.php:196
    40334033#: includes/addons/wb_customer_review.php:184
    40344034#: includes/addons/wl_recently_viewed_products.php:76
    40354035#: includes/addons/wl_category_grid.php:252
    40364036msgid "One"
    40374037msgstr ""
    40384038
    40394039#: classes/class.widgets_control.php:252
    40404040msgid "One Page Slider"
    40414041msgstr ""
    40424042
    40434043#: includes/addons/wb_product_add_to_cart.php:154
    40444044msgid "Only for Quantity Label."
    40454045msgstr ""
    40464046
    40474047#: includes/addons/wb_product_add_to_cart.php:448
    40484048msgid "Only for quantity plus, minus button and input number"
    40494049msgstr ""
    40504050
    40514051#: includes/addons/wb_product_add_to_cart.php:499
    40524052msgid "Only for wishlist and compare button."
    40534053msgstr ""
    40544054
    40554055#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:546
    40564056msgid "Only show if the URL has specific keyword"
    40574057msgstr ""
    40584058
    40594059#: includes/addons/wb_image_marker.php:60
    40604060msgid "Opacity Color"
    40614061msgstr ""
    40624062
    40634063#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:278
    40644064msgid "Open Animation"
    40654065msgstr ""
    40664066
    40674067#: includes/addons/wb_product_suggest_price.php:547
    40684068msgid "Open Button"
    40694069msgstr ""
    40704070
    40714071#: includes/addons/wb_product_suggest_price.php:61
    40724072msgid "Open Button Text"
    40734073msgstr ""
    40744074
    40754075#: includes/addons/wl_faq.php:123 includes/addons/wl_faq.php:215
    40764076msgid "Open Icon"
    40774077msgstr ""
    40784078
    40794079#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:185
    40804080msgid "Open popup"
    40814081msgstr ""
    40824082
    40834083#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:456
    40844084#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:621
    40854085msgid "Opera"
    40864086msgstr ""
    40874087
    40884088#: includes/addons/wb_customer_review.php:173
    40894089msgid "Option"
    40904090msgstr ""
    40914091
    40924092#: includes/addons/product_flash_sale.php:149
    40934093#: includes/addons/wb_product_upsell.php:80
    40944094#: includes/addons/wb_archive_product.php:144
    40954095#: includes/addons/wb_product_related.php:95
    40964096#: includes/addons/wl_category.php:133
    40974097#: includes/addons/wl_recently_viewed_products.php:59
    40984098#: includes/addons/product_tabs.php:177
    40994099#: includes/addons/wl_category_grid.php:125
    41004100msgid "Order"
    41014101msgstr ""
    41024102
    41034103#: includes/addons/product_image_accordion.php:162
    41044104#: includes/addons/product_accordion.php:183
    41054105#: includes/addons/product_curvy.php:218
    41064106msgid "order"
    41074107msgstr ""
    41084108
    41094109#: includes/admin/templates/dashboard-freevspro.php:141
    41104110msgid "Order Bump"
    41114111msgstr ""
    41124112
    41134113#: includes/addons/wl_product_horizontal_filter.php:45
    41144114#: includes/addons/wl_product_horizontal_filter.php:174
    41154115#: includes/addons/wl_product_horizontal_filter.php:175
    41164116#: includes/addons/wb_product_upsell.php:62
    41174117#: includes/addons/wb_product_related.php:77
    41184118#: includes/addons/wl_product_filter.php:46
    41194119msgid "Order By"
    41204120msgstr ""
    41214121
    41224122#: includes/addons/product_flash_sale.php:128
    41234123#: includes/addons/wb_archive_product.php:123
    41244124#: includes/addons/product_image_accordion.php:141
    41254125#: includes/addons/product_accordion.php:162
    41264126#: includes/addons/product_curvy.php:197 includes/addons/product_tabs.php:156
    41274127msgid "Order by"
    41284128msgstr ""
    41294129
    41304130#: includes/addons/wb_archive_catalog_ordering.php:107
    41314131msgid "Order Radius"
    41324132msgstr ""
    41334133
    41344134#: includes/addons/wl_category.php:148 includes/addons/wl_category_grid.php:141
    41354135msgid "Orderby"
    41364136msgstr ""
    41374137
    41384138#: includes/addons/wb_archive_catalog_ordering.php:44
    41394139msgid "Ordering"
    41404140msgstr ""
    41414141
    41424142#: includes/addons/product_flash_sale.php:594
    41434143msgid "Others"
    41444144msgstr ""
    41454145
    41464146#: includes/admin/templates/dashboard-popup.php:13
    41474147msgid ""
    41484148"Our free version is great, but it doesn't have all our advanced features. "
    41494149"The best way to unlock all of the features in our plugin is by purchasing "
    41504150"the pro version."
    41514151msgstr ""
    41524152
    4153 #: includes/helper-function.php:991 includes/helper-function.php:1039
     4153#: includes/helper-function.php:1005 includes/helper-function.php:1053
    41544154msgid "Out of stock"
    41554155msgstr ""
    41564156
    41574157#: includes/addons/wl_recently_viewed_products.php:603
    41584158msgid "Out of Stock Badge Color"
    41594159msgstr ""
    41604160
    4161 #: includes/helper-function.php:636
     4161#: includes/helper-function.php:650
    41624162msgid "p"
    41634163msgstr ""
    41644164
    41654165#: includes/addons/wl_faq.php:326 includes/addons/wl_faq.php:395
    41664166#: includes/addons/wl_faq.php:513 includes/addons/wl_faq.php:598
    41674167#: includes/addons/product_flash_sale.php:398
    41684168#: includes/addons/wl_product_horizontal_filter.php:376
    41694169#: includes/addons/wl_product_horizontal_filter.php:462
    41704170#: includes/addons/wl_product_horizontal_filter.php:529
    41714171#: includes/addons/wl_product_horizontal_filter.php:627
    41724172#: includes/addons/wl_onepage_slider.php:303
    41734173#: includes/addons/special_day_offer.php:310
    41744174#: includes/addons/special_day_offer.php:369
    41754175#: includes/addons/special_day_offer.php:428
    41764176#: includes/addons/special_day_offer.php:487
    41774177#: includes/addons/special_day_offer.php:546
    41784178#: includes/addons/special_day_offer.php:605
    41794179#: includes/addons/special_day_offer.php:691
    41804180#: includes/addons/wl_testimonial.php:504
    41814181#: includes/addons/wl_testimonial.php:617
    41824182#: includes/addons/wl_testimonial.php:673
    41834183#: includes/addons/wl_testimonial.php:729
    41844184#: includes/addons/wl_testimonial.php:886
    41854185#: includes/addons/wl_store_features.php:351
    41864186#: includes/addons/wl_store_features.php:427
    41874187#: includes/addons/wb_product_data_tab.php:73
    41884188#: includes/addons/wb_archive_product.php:200
    41894189#: includes/addons/wb_archive_product.php:347
    41904190#: includes/addons/wb_archive_product.php:626
    41914191#: includes/addons/wb_archive_product.php:721
    41924192#: includes/addons/wb_archive_product.php:863 includes/addons/wb_whols.php:76
    41934193#: includes/addons/wb_product_call_for_price.php:112
    41944194#: includes/addons/wb_product_description.php:112
    41954195#: includes/addons/product_accordion.php:345
    41964196#: includes/addons/wl_product_video_gallery.php:193
    41974197#: includes/addons/wl_brand.php:270
    41984198#: includes/addons/wb_product_suggest_price.php:258
    41994199#: includes/addons/wb_product_suggest_price.php:357
    42004200#: includes/addons/wb_product_suggest_price.php:455
    42014201#: includes/addons/wb_product_suggest_price.php:585
    42024202#: includes/addons/wb_product_suggest_price.php:728
    42034203#: includes/addons/wl_product_filter.php:220
    42044204#: includes/addons/wl_product_filter.php:306
    42054205#: includes/addons/wl_product_filter.php:479
    42064206#: includes/addons/wl_product_filter.php:750
    42074207#: includes/addons/wb_image_marker.php:236
    42084208#: includes/addons/wb_image_marker.php:289
    42094209#: includes/addons/wb_customer_review.php:313
    42104210#: includes/addons/wb_customer_review.php:433
    42114211#: includes/addons/wb_customer_review.php:489
    42124212#: includes/addons/wb_customer_review.php:545
    42134213#: includes/addons/wl_recently_viewed_products.php:203
    42144214#: includes/addons/wl_recently_viewed_products.php:273
    42154215#: includes/addons/wl_recently_viewed_products.php:425
    42164216#: includes/addons/wl_recently_viewed_products.php:645
    42174217#: includes/addons/wl_recently_viewed_products.php:709
    42184218#: includes/addons/wb_wishsuite_table.php:364
    42194219#: includes/addons/product_tabs.php:702
    42204220#: includes/addons/wb_product_add_to_cart.php:396
    42214221#: includes/addons/wb_product_add_to_cart.php:733
    42224222#: includes/addons/wb_product_add_to_cart.php:1071
    42234223#: includes/addons/wl_category_grid.php:508
    42244224#: includes/addons/wl_category_grid.php:895
    42254225#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:466
    42264226#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:248
    42274227#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:165
    42284228#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:471
    42294229msgid "Padding"
    42304230msgstr ""
    42314231
    42324232#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:103
    42334233msgid "Page Load Delay (ms)"
    42344234msgstr ""
    42354235
    42364236#: includes/addons/wl_onepage_slider.php:499
    42374237#: includes/addons/wb_archive_product.php:90
    42384238#: includes/addons/wb_archive_product.php:689
    42394239msgid "Pagination"
    42404240msgstr ""
    42414241
    42424242#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:388
    42434243msgid "Parameter "
    42444244msgstr ""
    42454245
    42464246#: includes/addons/wl_category.php:155 includes/addons/wl_category_grid.php:148
    42474247msgid "Parent"
    42484248msgstr ""
    42494249
    42504250#: includes/admin/include/class.template_cpt.php:51
    42514251msgid "Parent Item:"
    42524252msgstr ""
    42534253
    42544254#: includes/admin/templates/dashboard-freevspro.php:157
    42554255msgid "Partial Payment"
    42564256msgstr ""
    42574257
    42584258#: includes/modules/shopify-like-checkout/templates/form-login.php:28
    42594259#: includes/modules/shopify-like-checkout/templates/form-login.php:29
    42604260msgid "Password"
    42614261msgstr ""
    42624262
    42634263#: includes/addons/wl_testimonial.php:336 includes/addons/product_tabs.php:481
    42644264#: includes/addons/wl_category_grid.php:362
    42654265msgid "Pause on Hover?"
    42664266msgstr ""
    42674267
    42684268#: includes/modules/shopify-like-checkout/templates/form-checkout.php:55
    42694269msgid "Payment"
    42704270msgstr ""
    42714271
    42724272#: woolentor-blocks/src/blocks/product-reviews/index.php:38
    42734273#: woolentor-blocks/production/src/blocks/product-reviews/index.php:38
    42744274msgid "Perfect"
    42754275msgstr ""
    42764276
    42774277#: includes/addons/wb_customer_review.php:150
    42784278msgid "Peter Rose"
    42794279msgstr ""
    42804280
    42814281#: includes/base.php:176
    42824282msgid "PHP"
    42834283msgstr ""
    42844284
    42854285#: includes/modules/shopify-like-checkout/templates/form-checkout.php:68
    42864286msgid "Place order"
    42874287msgstr ""
    42884288
    42894289#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:131
    42904290msgid ""
    42914291"Place the image size name here. WordPress default image sizes are: thumbnail,"
    42924292" medium, medium_large, large and full. Custom image size also can be used. "
    42934293"Default is: thumbnail"
    42944294msgstr ""
    42954295
    42964296#: includes/admin/include/template-library/popup-template.php:33
    42974297msgctxt "placeholder"
    42984298msgid "Enter a Page Name"
    42994299msgstr ""
    43004300
    43014301#: includes/addons/wl_product_filter.php:852
    43024302msgctxt "placeholder"
    43034303msgid "Search Products&hellip;"
    43044304msgstr ""
    43054305
    43064306#: includes/addons/wl_product_horizontal_filter.php:715
    43074307#: includes/addons/wb_product_suggest_price.php:211
    43084308#: includes/addons/wb_product_suggest_price.php:313
    43094309msgid "Placeholder Color"
    43104310msgstr ""
    43114311
    43124312#: includes/admin/templates/dashboard-welcome.php:42
    43134313msgid ""
    43144314"Please do not hesitate to contact us if you require assistance or want a "
    43154315"free store set-up. We will assist you within 12-24 hours of receiving your "
    43164316"inquiry."
    43174317msgstr ""
    43184318
    43194319#: includes/addons/wb_product_suggest_price.php:132
    43204320#: includes/addons/wb_product_suggest_price.php:133
    43214321msgid "Please Enter your email"
    43224322msgstr ""
    43234323
    43244324#: includes/addons/wb_product_suggest_price.php:121
    43254325#: includes/addons/wb_product_suggest_price.php:122
    43264326msgid "Please Enter your name"
    43274327msgstr ""
    43284328
    43294329#: includes/modules/shopify-like-checkout/templates/payment.php:21
    43304330msgid "Please fill in your details above to see available payment methods."
    43314331msgstr ""
    43324332
    43334333#: includes/addons/wl_product_filter.php:1037
    43344334msgid "Please Select Filter Type"
    43354335msgstr ""
    43364336
    43374337#: includes/modules/variation-swatch/includes/Frontend.php:132
    43384338msgid ""
    43394339"Please select some product options before adding this product to your cart."
    43404340msgstr ""
    43414341
    43424342#: includes/admin/include/template-library.php:295
    43434343msgid "Plugin Not Found"
    43444344msgstr ""
    43454345
    43464346#: includes/admin/include/template-library.php:315
    43474347msgid "Plugin Successfully Activated"
    43484348msgstr ""
    43494349
    43504350#: includes/addons/wb_product_add_to_cart.php:105
    43514351msgid "Plus Icon"
    43524352msgstr ""
    43534353
    43544354#: includes/addons/wb_product_add_to_cart.php:202
    43554355#: includes/addons/wb_product_add_to_cart.php:299
    43564356msgid "Plus Icon Color"
    43574357msgstr ""
    43584358
    43594359#: includes/addons/wb_product_upsell.php:69
    43604360#: includes/addons/wb_archive_product.php:130
    43614361#: includes/addons/wb_product_related.php:84
    43624362msgid "Popularity"
    43634363msgstr ""
    43644364
    43654365#: includes/modules/popup-builder/includes/admin/class-manage-post-type.php:38
    43664366#: includes/modules/popup-builder/includes/admin/class-manage-post-type.php:53
    43674367msgid "Popup"
    43684368msgstr ""
    43694369
    43704370#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:400
    43714371msgid "Popup Area"
    43724372msgstr ""
    43734373
    43744374#: includes/admin/templates/dashboard-freevspro.php:137
    43754375#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:44
    43764376msgid "Popup Builder"
    43774377msgstr ""
    43784378
    43794379#: includes/modules/popup-builder/includes/class-widgets.php:43
    43804380#: includes/modules/popup-builder/includes/class-widgets.php:82
    43814381msgid "Popup Close Trigger Button"
    43824382msgstr ""
    43834383
    43844384#: includes/modules/popup-builder/includes/class-assets.php:79
    43854385#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:95
    43864386#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:60
    43874387msgid "Popup Settings"
    43884388msgstr ""
    43894389
    43904390#: includes/addons/product_flash_sale.php:202
    43914391#: includes/addons/wl_testimonial.php:821
    43924392#: includes/addons/wl_testimonial.php:906
    43934393#: includes/addons/wb_archive_product.php:895
    43944394#: includes/addons/wl_recently_viewed_products.php:558
    43954395#: includes/addons/wb_product_add_to_cart.php:497
    43964396#: includes/addons/wl_category_grid.php:830
    43974397#: includes/addons/wl_category_grid.php:915
    43984398msgid "Position"
    43994399msgstr ""
    44004400
    44014401#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:421
    44024402msgid "Position Horizontal"
    44034403msgstr ""
    44044404
    44054405#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:408
    44064406msgid "Position Vertical"
    44074407msgstr ""
    44084408
    44094409#: woolentor-blocks/includes/classes/Manage_Styles.php:100
    44104410#: woolentor-blocks/production/includes/classes/Manage_Styles.php:100
    44114411msgid "Post Data found."
    44124412msgstr ""
    44134413
    44144414#: woolentor-blocks/includes/classes/Manage_Styles.php:105
    44154415#: woolentor-blocks/production/includes/classes/Manage_Styles.php:105
    44164416msgid "Post Data not found."
    44174417msgstr ""
    44184418
    44194419#: includes/admin/templates/dashboard-freevspro.php:133
    44204420msgid "Post Duplicator"
    44214421msgstr ""
    44224422
    4423 #: includes/admin/include/class.template-manager.php:548
     4423#: includes/admin/include/class.template-manager.php:555
    44244424msgid "Post request dose not found"
    44254425msgstr ""
    44264426
    44274427#: includes/admin/include/class.template_cpt.php:45
    44284428msgctxt "Post Type General Name"
    44294429msgid "Template Builder"
    44304430msgstr ""
    44314431
    44324432#: includes/admin/include/class.template_cpt.php:46
    44334433msgctxt "Post Type Singular Name"
    44344434msgid "Template Builder"
    44354435msgstr ""
    44364436
    44374437#: includes/admin/templates/dashboard-freevspro.php:161
    44384438msgid "Pre Orders"
    44394439msgstr ""
    44404440
    44414441#: classes/class.assest_management.php:370
    44424442#: includes/admin/include/admin_field-manager.php:352
    44434443#: includes/admin/include/admin_field-manager.php:487
    44444444msgid "Preview"
    44454445msgstr ""
    44464446
    44474447#: includes/addons/wb_product_price.php:44
    44484448#: includes/addons/wl_product_horizontal_filter.php:43
    44494449#: includes/addons/wb_product_upsell.php:68
    44504450#: includes/addons/wb_archive_product.php:129
    44514451#: includes/addons/wb_archive_product.php:405
    44524452#: includes/addons/wb_product_related.php:83
    44534453#: includes/addons/wl_product_filter.php:44
    44544454#: includes/addons/wl_recently_viewed_products.php:362
    44554455#: includes/addons/wb_wishsuite_table.php:175
    44564456msgid "Price"
    44574457msgstr ""
    44584458
    44594459#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:329
    44604460msgid "price"
    44614461msgstr ""
    44624462
    44634463#: includes/modules/sales-notification/class.sale_notification.php:239
    44644464msgid "Price :"
    44654465msgstr ""
    44664466
    44674467#: includes/addons/wb_product_price.php:51
    44684468#: includes/addons/wb_product_price.php:92
    44694469#: includes/addons/wl_product_filter.php:677
    44704470msgid "Price Color"
    44714471msgstr ""
    44724472
    44734473#: includes/addons/product_tabs.php:1020
    44744474msgid "Price color"
    44754475msgstr ""
    44764476
    44774477#: classes/class.default_data.php:265
    44784478msgid "Price does not set this product."
    44794479msgstr ""
    44804480
    44814481#: includes/addons/wl_product_filter.php:657
    44824482msgid "Price Label"
    44834483msgstr ""
    44844484
    44854485#: includes/addons/wl_product_horizontal_filter.php:221
    44864486msgid "Price Range"
    44874487msgstr ""
    44884488
    44894489#: includes/addons/wl_product_filter.php:919
    44904490msgid "Price:"
    44914491msgstr ""
    44924492
    44934493#: includes/addons/wl_product_horizontal_filter.php:232
    44944494msgid "Price: {{{ min_price }}} {{{ price_seprator }}} {{{ max_price }}}"
    44954495msgstr ""
    44964496
    44974497#: includes/addons/wl_product_horizontal_filter.php:179
    44984498#: includes/addons/wl_product_horizontal_filter.php:180
    44994499msgid "Pricing"
    45004500msgstr ""
    45014501
    45024502#: classes/class.assest_management.php:357
    45034503#: includes/admin/include/class.template-manager.php:481
    45044504#: includes/admin/include/admin_field-manager.php:133
    45054505#: includes/admin/include/admin_field-manager.php:335
    45064506#: includes/admin/include/admin_field-manager.php:468
    45074507#: includes/admin/templates/dashboard-freevspro.php:215
    45084508#: includes/admin/templates/dashboard-freevspro.php:262
    45094509#: includes/admin/include/template-library/templates_list.php:31
    45104510#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:244
    45114511#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:372
    45124512msgid "Pro"
    45134513msgstr ""
    45144514
    45154515#: includes/admin/include/class.extension-manager.php:137
    45164516msgid "Pro extension"
    45174517msgstr ""
    45184518
    45194519#: includes/addons/wl_faq.php:158
    45204520msgid "Producing Perfume From Home"
    45214521msgstr ""
    45224522
    45234523#: includes/admin/templates/dashboard-freevspro.php:63
    45244524msgid "Product Accordion Listing"
    45254525msgstr ""
    45264526
    45274527#: classes/class.widgets_control.php:329
    45284528#: woolentor-blocks/includes/classes/Blocks_List.php:135
    45294529#: woolentor-blocks/production/includes/classes/Blocks_List.php:135
    45304530msgid "Product Add To Cart"
    45314531msgstr ""
    45324532
    4533 #: includes/helper-function.php:1320
     4533#: includes/helper-function.php:1334
    45344534#: woolentor-blocks/includes/helper-functions.php:595
    45354535#: woolentor-blocks/production/includes/helper-functions.php:595
    45364536msgid "Product Added"
    45374537msgstr ""
    45384538
    45394539#: classes/class.widgets_control.php:333
    45404540#: woolentor-blocks/includes/classes/Blocks_List.php:180
    45414541#: woolentor-blocks/production/includes/classes/Blocks_List.php:180
    45424542msgid "Product Additional Info"
    45434543msgstr ""
    45444544
    45454545#: includes/custom-metabox.php:58
    45464546msgid "Product Badge"
    45474547msgstr ""
    45484548
    45494549#: classes/class.widgets_control.php:309
    45504550msgid "Product Call for Price"
    45514551msgstr ""
    45524552
    45534553#: classes/class.widgets_control.php:389
    45544554#: includes/addons/product_image_accordion.php:117
    45554555#: includes/addons/product_accordion.php:128
    45564556#: includes/addons/product_curvy.php:163 includes/addons/product_tabs.php:135
    45574557msgid "Product Categories"
    45584558msgstr ""
    45594559
    45604560#: includes/addons/product_image_accordion.php:304
    45614561msgid "Product Category"
    45624562msgstr ""
    45634563
    45644564#: classes/class.default_data.php:431
    45654565msgid "Product category does not exists."
    45664566msgstr ""
    45674567
    45684568#: includes/admin/templates/dashboard-freevspro.php:117
    45694569msgid "Product Compare"
    45704570msgstr ""
    45714571
    45724572#: includes/addons/product_curvy.php:581
    45734573msgid "Product Content"
    45744574msgstr ""
    45754575
    45764576#: includes/addons/product_tabs.php:930
    45774577msgid "Product Content Area Padding"
    45784578msgstr ""
    45794579
    45804580#: includes/addons/product_tabs.php:942
    45814581msgid "Product Content Background"
    45824582msgstr ""
    45834583
    45844584#: includes/addons/product_tabs.php:1094
    45854585msgid "Product content background"
    45864586msgstr ""
    45874587
    45884588#: includes/addons/wl_category.php:222
    45894589msgid ""
    45904590"Product counter, Custom icon, Category Description option are available in "
    45914591"the pro version"
    45924592msgstr ""
    45934593
    45944594#: classes/class.widgets_control.php:256
    45954595#: woolentor-blocks/includes/classes/Blocks_List.php:82
    45964596#: woolentor-blocks/production/includes/classes/Blocks_List.php:82
    45974597msgid "Product Curvy"
    45984598msgstr ""
    45994599
    46004600#: classes/class.widgets_control.php:337
    46014601msgid "Product Data tabs"
    46024602msgstr ""
    46034603
    46044604#: classes/class.widgets_control.php:341
    46054605#: woolentor-blocks/includes/classes/Blocks_List.php:152
    46064606#: woolentor-blocks/production/includes/classes/Blocks_List.php:152
    46074607msgid "Product Description"
    46084608msgstr ""
    46094609
    46104610#: classes/class.widgets_control.php:301
    46114611#: includes/admin/templates/dashboard-freevspro.php:145
    46124612msgid "Product Filter"
    46134613msgstr ""
    46144614
    46154615#: includes/admin/templates/dashboard-freevspro.php:83
    46164616msgid "Product Grid"
    46174617msgstr ""
    46184618
    46194619#: includes/admin/templates/dashboard-freevspro.php:59
    46204620msgid "Product Grid (Curvy)"
    46214621msgstr ""
    46224622
    46234623#: includes/addons/product_tabs.php:1106
    46244624msgid "Product hover content area padding"
    46254625msgstr ""
    46264626
    46274627#: includes/addons/product_image_accordion.php:95
    46284628#: includes/addons/product_accordion.php:116
    46294629#: includes/addons/product_curvy.php:151
    46304630msgid "Product IDs"
    46314631msgstr ""
    46324632
    46334633#: classes/class.widgets_control.php:361
    46344634#: woolentor-blocks/includes/classes/Blocks_List.php:166
    46354635#: woolentor-blocks/production/includes/classes/Blocks_List.php:166
    46364636msgid "Product Image"
    46374637msgstr ""
    46384638
    46394639#: classes/class.widgets_control.php:260
    46404640#: includes/admin/templates/dashboard-freevspro.php:67
    46414641msgid "Product Image Accordion"
    46424642msgstr ""
    46434643
    46444644#: includes/addons/product_tabs.php:906
    46454645msgid "Product Image Area Padding"
    46464646msgstr ""
    46474647
    46484648#: includes/addons/product_tabs.php:918
    46494649msgid "Product Image Background"
    46504650msgstr ""
    46514651
    46524652#: includes/addons/wl_product_video_gallery.php:126
    46534653#: includes/addons/wl_product_video_gallery.php:172
    46544654msgid "Product image border"
    46554655msgstr ""
    46564656
    46574657#: includes/addons/product_flash_sale.php:91
    46584658#: includes/addons/product_image_accordion.php:107
    46594659#: includes/addons/product_accordion.php:142
    46604660#: includes/addons/product_curvy.php:177
    46614661#: includes/addons/wl_recently_viewed_products.php:49
    46624662msgid "Product Limit"
    46634663msgstr ""
    46644664
    46654665#: classes/class.widgets_control.php:377
    46664666#: woolentor-blocks/includes/classes/Blocks_List.php:173
    46674667#: woolentor-blocks/production/includes/classes/Blocks_List.php:173
    46684668msgid "Product Meta"
    46694669msgstr ""
    46704670
    46714671#: includes/addons/product_flash_sale.php:338
    46724672msgid ""
    46734673"Product must have both \"Manage stock\" and \"Initial number in stock\" set "
    46744674"from the \"Inventory\" tab to display the stock progress indicator.\""
    46754675msgstr ""
    46764676
    46774677#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:137
    46784678msgid "Product page button position"
    46794679msgstr ""
    46804680
    46814681#: includes/addons/wb_archive_result_count.php:49
    46824682msgid "Product Per Page"
    46834683msgstr ""
    46844684
    4685 #: classes/class.widgets_control.php:349 includes/helper-function.php:1278
     4685#: classes/class.widgets_control.php:349 includes/helper-function.php:1292
    46864686#: includes/addons/product_flash_sale.php:466
    46874687#: includes/addons/product_image_accordion.php:411
    46884688#: includes/addons/product_accordion.php:490
    46894689#: includes/addons/product_curvy.php:482 includes/addons/product_tabs.php:1012
    46904690#: woolentor-blocks/includes/classes/Blocks_List.php:128
    46914691#: woolentor-blocks/production/includes/classes/Blocks_List.php:128
    46924692msgid "Product Price"
    46934693msgstr ""
    46944694
    46954695#: classes/class.widgets_control.php:393
    46964696#: woolentor-blocks/includes/classes/Blocks_List.php:208
    46974697#: includes/admin/templates/dashboard-freevspro.php:87
    46984698#: woolentor-blocks/production/includes/classes/Blocks_List.php:208
    46994699msgid "Product QR Code"
    47004700msgstr ""
    47014701
    47024702#: includes/addons/product_flash_sale.php:529
    47034703#: includes/addons/product_image_accordion.php:474
    47044704#: includes/addons/product_accordion.php:553
    47054705#: includes/addons/product_curvy.php:643
    47064706#: woolentor-blocks/includes/classes/Blocks_List.php:159
    47074707#: woolentor-blocks/production/includes/classes/Blocks_List.php:159
    47084708msgid "Product Rating"
    47094709msgstr ""
    47104710
    47114711#: classes/class.widgets_control.php:353
    47124712msgid "Product rating"
    47134713msgstr ""
    47144714
    47154715#: woolentor-blocks/includes/classes/Blocks_List.php:215
    47164716#: woolentor-blocks/production/includes/classes/Blocks_List.php:215
    47174717msgid "Product Related"
    47184718msgstr ""
    47194719
    47204720#: includes/addons/wb_product_reviews.php:43
    47214721#: woolentor-blocks/includes/classes/Blocks_List.php:194
    47224722#: woolentor-blocks/production/includes/classes/Blocks_List.php:194
    47234723msgid "Product Reviews"
    47244724msgstr ""
    47254725
    47264726#: classes/class.widgets_control.php:357
    47274727msgid "Product reviews"
    47284728msgstr ""
    47294729
    47304730#: includes/addons/product_tabs.php:54
    47314731msgid "Product Settings"
    47324732msgstr ""
    47334733
    47344734#: woolentor-blocks/includes/classes/Blocks_List.php:145
    47354735#: woolentor-blocks/production/includes/classes/Blocks_List.php:145
    47364736msgid "Product Short Description"
    47374737msgstr ""
    47384738
    47394739#: classes/class.widgets_control.php:345
    47404740msgid "Product short description"
    47414741msgstr ""
    47424742
    47434743#: includes/admin/templates/dashboard-freevspro.php:185
    47444744msgid "Product Size Chart"
    47454745msgstr ""
    47464746
    47474747#: classes/class.widgets_control.php:381
    47484748msgid "Product SKU"
    47494749msgstr ""
    47504750
    47514751#: includes/addons/product_tabs.php:216
    47524752#: includes/admin/templates/dashboard-freevspro.php:47
    47534753msgid "Product Slider"
    47544754msgstr ""
    47554755
    47564756#: includes/admin/templates/dashboard-freevspro.php:165
    47574757msgid "Product sticky Add to cart"
    47584758msgstr ""
    47594759
    47604760#: classes/class.widgets_control.php:373
    47614761#: woolentor-blocks/includes/classes/Blocks_List.php:201
    47624762#: woolentor-blocks/production/includes/classes/Blocks_List.php:201
    47634763msgid "Product Stock"
    47644764msgstr ""
    47654765
    47664766#: includes/addons/product_tabs.php:61
    47674767msgid "Product Style"
    47684768msgstr ""
    47694769
    47704770#: classes/class.widgets_control.php:313
    47714771msgid "Product suggest price"
    47724772msgstr ""
    47734773
    47744774#: includes/addons/product_tabs.php:203
    47754775#: includes/admin/templates/dashboard-freevspro.php:51
    47764776msgid "Product Tab"
    47774777msgstr ""
    47784778
    47794779#: woolentor-blocks/includes/classes/Blocks_List.php:60
    47804780#: woolentor-blocks/production/includes/classes/Blocks_List.php:60
    47814781msgid "Product tab"
    47824782msgstr ""
    47834783
    47844784#: includes/addons/product_tabs.php:304 includes/addons/product_tabs.php:384
    47854785msgid "Product tab menu background"
    47864786msgstr ""
    47874787
    47884788#: classes/class.widgets_control.php:224
    47894789#: woolentor-blocks/includes/classes/Blocks_List.php:187
    47904790#: woolentor-blocks/production/includes/classes/Blocks_List.php:187
    47914791msgid "Product Tabs"
    47924792msgstr ""
    47934793
    47944794#: classes/class.widgets_control.php:385
    47954795msgid "Product Tags"
    47964796msgstr ""
    47974797
    47984798#: classes/class.default_data.php:414
    47994799msgid "Product tags does not exists."
    48004800msgstr ""
    48014801
    48024802#: classes/class.widgets_control.php:321
    48034803#: includes/addons/product_flash_sale.php:411
    48044804#: includes/addons/product_image_accordion.php:357
    48054805#: includes/addons/product_curvy.php:410
    48064806#: includes/addons/wb_product_title.php:43
    48074807#: includes/addons/wb_product_title.php:62
    48084808#: woolentor-blocks/includes/classes/Blocks_List.php:121
    48094809#: woolentor-blocks/production/includes/classes/Blocks_List.php:121
    48104810msgid "Product Title"
    48114811msgstr ""
    48124812
    48134813#: classes/class.widgets_control.php:369
    48144814#: woolentor-blocks/includes/classes/Blocks_List.php:222
    48154815#: woolentor-blocks/production/includes/classes/Blocks_List.php:222
    48164816msgid "Product Upsell"
    48174817msgstr ""
    48184818
    48194819#: classes/class.widgets_control.php:365
    48204820msgid "Product Video Gallery"
    48214821msgstr ""
    48224822
    48234823#: includes/addons/wb_customer_review.php:71
    48244824#, php-format
    48254825msgid ""
    48264826"Product Wise Rating/Review Display is available in ShopLentor Pro. <a "
    48274827"href=\"%s\" target=\"_blank\">Purchase ShopLentor Pro</a>"
    48284828msgstr ""
    48294829
    48304830#: includes/addons/wl_testimonial.php:73
    48314831#, php-format
    48324832msgid ""
    48334833"Product Wise Rating/Review Display is available in WooLentor Pro. <a "
    48344834"href=\"%s\" target=\"_blank\">Purchase WooLentor Pro</a>"
    48354835msgstr ""
    48364836
    48374837#: includes/addons/wb_product_related.php:51
    48384838msgid "Products Per Page"
    48394839msgstr ""
    48404840
    48414841#: includes/addons/wb_product_reviews.php:53
    48424842msgid "Products reviews"
    48434843msgstr ""
    48444844
    48454845#: includes/base.php:209 woolentor-blocks/includes/classes/Blocks_List.php:68
    48464846#: woolentor-blocks/production/includes/classes/Blocks_List.php:68
    48474847msgid "Promo Banner"
    48484848msgstr ""
    48494849
    48504850#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:286
    48514851#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:343
    48524852msgid "pulse"
    48534853msgstr ""
    48544854
    48554855#: includes/addons/wl_brand.php:226 includes/addons/wl_brand.php:369
    48564856msgid "Purchase our premium version to unlock these pro features!"
    48574857msgstr ""
    48584858
    48594859#: includes/addons/wb_product_qr_code.php:43
    48604860msgid "QR Code"
    48614861msgstr ""
    48624862
    48634863#: includes/addons/wb_product_qr_code.php:72
    48644864#: includes/addons/wb_wishsuite_table.php:205
    48654865#: includes/addons/wb_product_add_to_cart.php:136
    48664866msgid "Quantity"
    48674867msgstr ""
    48684868
    48694869#: includes/addons/wb_product_add_to_cart.php:353
    48704870msgid "Quantity Backgeound"
    48714871msgstr ""
    48724872
    48734873#: includes/addons/wb_product_add_to_cart.php:236
    48744874msgid "Quantity Background"
    48754875msgstr ""
    48764876
    48774877#: includes/addons/wb_product_add_to_cart.php:371
    48784878msgid "Quantity Border"
    48794879msgstr ""
    48804880
    48814881#: includes/addons/wb_product_add_to_cart.php:221
    48824882#: includes/addons/wb_product_add_to_cart.php:317
    48834883msgid "Quantity Number"
    48844884msgstr ""
    48854885
    48864886#: includes/addons/wb_product_add_to_cart.php:88
    48874887msgid "Quantity Text"
    48884888msgstr ""
    48894889
    48904890#: includes/addons/product_image_accordion.php:55
    48914891#: includes/addons/product_accordion.php:76
    48924892#: includes/addons/product_curvy.php:111
    48934893msgid "Query Settings"
    48944894msgstr ""
    48954895
    48964896#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:389
    48974897msgid "Query String Is"
    48984898msgstr ""
    48994899
    49004900#: woolentor-blocks/includes/templates/product-universal.php:160
    49014901#: woolentor-blocks/includes/templates/product-universal.php:207
    49024902#: woolentor-blocks/production/includes/templates/product-universal.php:160
    49034903#: woolentor-blocks/production/includes/templates/product-universal.php:207
    49044904#: woolentor-blocks/src/blocks/universal-product/old_index.php:414
    49054905#: woolentor-blocks/src/blocks/universal-product/old_index.php:461
    49064906msgid "Quick View"
    49074907msgstr ""
    49084908
    49094909#: includes/addons/wb_product_add_to_cart.php:250
    49104910#: includes/addons/wb_product_add_to_cart.php:332
    49114911msgid "Qunantity Text Color"
    49124912msgstr ""
    49134913
    4914 #: includes/helper-function.php:1276 includes/addons/product_flash_sale.php:138
     4914#: includes/helper-function.php:1290 includes/addons/product_flash_sale.php:138
    49154915#: includes/addons/wb_product_upsell.php:71
    49164916#: includes/addons/wb_archive_product.php:132
    49174917#: includes/addons/product_image_accordion.php:151
    49184918#: includes/addons/wb_product_related.php:86
    49194919#: includes/addons/product_accordion.php:172
    49204920#: includes/addons/product_curvy.php:207 includes/addons/product_tabs.php:166
    49214921msgid "Random"
    49224922msgstr ""
    49234923
    49244924#: includes/addons/product_image_accordion.php:71
    49254925#: includes/addons/product_accordion.php:92
    49264926#: includes/addons/product_curvy.php:127
    49274927msgid "Random Products"
    49284928msgstr ""
    49294929
    49304930#: includes/addons/wl_product_filter.php:554
    49314931msgid "Range Slider"
    49324932msgstr ""
    49334933
    49344934#: includes/base.php:261
    49354935msgid "Rate the plugin"
    49364936msgstr ""
    49374937
    49384938#: woolentor-blocks/src/blocks/product-reviews/index.php:37
    49394939#: woolentor-blocks/production/src/blocks/product-reviews/index.php:37
    49404940msgid "Rate…"
    49414941msgstr ""
    49424942
    49434943#: includes/addons/wb_product_upsell.php:70
    49444944#: includes/addons/wl_testimonial.php:745
    49454945#: includes/addons/wb_archive_product.php:131
    49464946#: includes/addons/wb_archive_product.php:481
    49474947#: includes/addons/wb_product_related.php:85
    49484948#: includes/addons/wb_customer_review.php:561
    49494949msgid "Rating"
    49504950msgstr ""
    49514951
    49524952#: includes/addons/product_image_accordion.php:495
    49534953#: includes/addons/product_accordion.php:574
    49544954#: includes/addons/product_curvy.php:681 includes/addons/product_curvy.php:696
    49554955msgid "Rating Color"
    49564956msgstr ""
    49574957
    49584958#: classes/class.default_data.php:298
    49594959msgid "Rating does not enable."
    49604960msgstr ""
    49614961
    49624962#: includes/admin/templates/dashboard-sidebar.php:22
    49634963msgid "Rating icon"
    49644964msgstr ""
    49654965
    49664966#: includes/addons/wb_archive_product.php:489
    49674967msgid "Rating Star Color"
    49684968msgstr ""
    49694969
    49704970#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:328
    49714971msgid "ratting"
    49724972msgstr ""
    49734973
    49744974#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:357
    49754975msgid "Reached maximum limit message"
    49764976msgstr ""
    49774977
    49784978#: includes/addons/product_image_accordion.php:66
    49794979#: includes/addons/product_accordion.php:87
    49804980#: includes/addons/product_curvy.php:122 includes/addons/product_tabs.php:79
    49814981msgid "Recent Products"
    49824982msgstr ""
    49834983
    49844984#: classes/class.widgets_control.php:276
    49854985#: woolentor-blocks/includes/classes/Blocks_List.php:103
    49864986#: woolentor-blocks/production/includes/classes/Blocks_List.php:103
    49874987msgid "Recently Viewed Products"
    49884988msgstr ""
    49894989
    49904990#: includes/addons/wl_product_horizontal_filter.php:268
    49914991#: includes/addons/wl_product_filter.php:71
    49924992msgid "Redirect Custom URL"
    49934993msgstr ""
    49944994
    49954995#: includes/admin/templates/dashboard-freevspro.php:173
    49964996msgid "Redirect to Checkout"
    49974997msgstr ""
    49984998
    49994999#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:92
    50005000msgid "Redirect URL"
    50015001msgstr ""
    50025002
    50035003#: includes/addons/wb_archive_product.php:447
    50045004msgid "Regular Price"
    50055005msgstr ""
    50065006
    50075007#: includes/addons/product_flash_sale.php:508
    50085008#: includes/addons/product_image_accordion.php:440
    50095009#: includes/addons/product_accordion.php:519
    50105010#: includes/addons/product_curvy.php:528 includes/addons/product_curvy.php:543
    50115011msgid "Regular Price Color"
    50125012msgstr ""
    50135013
    50145014#: classes/class.widgets_control.php:325
    50155015#: includes/addons/wb_product_related.php:45
    50165016msgid "Related Product"
    50175017msgstr ""
    50185018
    50195019#: includes/modules/shopify-like-checkout/templates/form-login.php:37
    50205020msgid "Remember me"
    50215021msgstr ""
    50225022
    50235023#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:228
    50245024#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:253
    50255025msgid "Remove"
    50265026msgstr ""
    50275027
    50285028#: includes/admin/include/class.template_cpt.php:65
    50295029msgid "Remove featured image"
    50305030msgstr ""
    50315031
    50325032#: includes/addons/wb_wishsuite_table.php:252
    50335033msgid "Remove Icon"
    50345034msgstr ""
    50355035
    50365036#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:248
    50375037#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:358
    50385038#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:408
    50395039msgid "Remove image"
    50405040msgstr ""
    50415041
    50425042#: includes/admin/templates/dashboard-freevspro.php:93
    50435043msgid "Rename Label"
    50445044msgstr ""
    50455045
    50465046#: includes/admin/templates/dashboard-welcome.php:54
    50475047msgid "Request"
    50485048msgstr ""
    50495049
    50505050#: includes/custom-metabox.php:47
    50515051msgid "Required for stock progress bar"
    50525052msgstr ""
    50535053
    50545054#: classes/class.assest_management.php:339
    50555055msgid "Reset All Settings"
    50565056msgstr ""
    50575057
    50585058#: includes/modules/variation-swatch/includes/ajax-actions.php:189
    50595059msgid "Reset Done!"
    50605060msgstr ""
    50615061
    50625062#: includes/admin/templates/dashboard-module-setting-popup.php:18
    50635063msgid "Reset To Default"
    50645064msgstr ""
    50655065
    50665066#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:63
    50675067msgid "Reset to Default"
    50685068msgstr ""
    50695069
    50705070#: classes/class.assest_management.php:338
    50715071msgid "Resetting..."
    50725072msgstr ""
    50735073
    50745074#: includes/addons/wb_archive_result_count.php:42
    50755075#: includes/addons/wb_archive_result_count.php:62
    50765076msgid "Result Count"
    50775077msgstr ""
    50785078
    50795079#: includes/modules/shopify-like-checkout/templates/form-checkout.php:65
    50805080msgid "Return to cart"
    50815081msgstr ""
    50825082
    50835083#: includes/modules/shopify-like-checkout/templates/form-checkout.php:67
    50845084msgid "Return to information"
    50855085msgstr ""
    50865086
    50875087#: includes/modules/shopify-like-checkout/templates/form-checkout.php:69
    50885088msgid "Return to shipping"
    50895089msgstr ""
    50905090
    50915091#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:374
    50925092#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:375
    50935093msgid "Return to shop"
    50945094msgstr ""
    50955095
    50965096#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:371
    50975097msgid "Return to shop button text"
    50985098msgstr ""
    50995099
    51005100#: includes/addons/wb_customer_review.php:43
    51015101msgid "Review"
    51025102msgstr ""
    51035103
    51045104#: includes/addons/wl_testimonial.php:67
    51055105#: includes/addons/wb_customer_review.php:65
    51065106msgid "Review Type"
    51075107msgstr ""
    51085108
    51095109#: includes/addons/wl_faq.php:362 includes/addons/wl_faq.php:585
    51105110#: includes/addons/wb_product_short_description.php:65
    51115111#: includes/addons/wl_breadcrumbs.php:86
    51125112#: includes/addons/wb_wishsuite_counter.php:77
    51135113#: includes/addons/wl_product_horizontal_filter.php:802
    51145114#: includes/addons/wl_onepage_slider.php:181
    51155115#: includes/addons/special_day_offer.php:58
    51165116#: includes/addons/special_day_offer.php:281
    51175117#: includes/addons/wl_store_features.php:151
    51185118#: includes/addons/wb_product_data_tab.php:168
    51195119#: includes/addons/wb_archive_product.php:245
    51205120#: includes/addons/wb_archive_product.php:904
    51215121#: includes/addons/wl_archive_title.php:120
    51225122#: includes/addons/wb_product_qr_code.php:99
    51235123#: includes/addons/wb_product_related.php:177
    51245124#: includes/addons/wb_archive_result_count.php:91
    51255125#: includes/addons/wb_product_description.php:63
    51265126#: includes/addons/wl_category.php:321
    51275127#: includes/addons/wl_product_video_gallery.php:65
    51285128#: includes/addons/wl_brand.php:306
    51295129#: includes/addons/wb_product_categories.php:72
    51305130#: includes/addons/wb_product_rating.php:108
    51315131#: includes/addons/wb_product_title.php:115
    51325132#: includes/addons/wb_product_sku.php:72
    51335133#: includes/addons/wb_customer_review.php:298
    51345134#: includes/addons/wl_recently_viewed_products.php:258
    51355135#: includes/addons/wl_recently_viewed_products.php:566
    51365136#: includes/addons/product_tabs.php:253 includes/addons/product_tabs.php:974
    51375137#: includes/addons/product_tabs.php:1053 includes/addons/add_banner.php:68
    51385138#: includes/addons/wl_category_grid.php:742
    51395139#: includes/addons/wb_product_tags.php:72
    51405140#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:426
    51415141#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:67
    51425142#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:287
    51435143#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:475
    51445144#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:489
    51455145#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:503
    51465146#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:524
    51475147#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:554
    51485148msgid "Right"
    51495149msgstr ""
    51505150
    51515151#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:328
    51525152msgid "rollIn"
    51535153msgstr ""
    51545154
    51555155#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:329
    51565156msgid "rollOut"
    51575157msgstr ""
    51585158
    51595159#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:312
    51605160msgid "rotateIn"
    51615161msgstr ""
    51625162
    51635163#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:313
    51645164msgid "rotateInDownLeft"
    51655165msgstr ""
    51665166
    51675167#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:314
    51685168msgid "rotateInDownRight"
    51695169msgstr ""
    51705170
    51715171#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:315
    51725172msgid "rotateInUpLeft"
    51735173msgstr ""
    51745174
    51755175#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:316
    51765176msgid "rotateInUpRight"
    51775177msgstr ""
    51785178
    51795179#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:369
    51805180msgid "rotateOut"
    51815181msgstr ""
    51825182
    51835183#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:370
    51845184msgid "rotateOutDownLeft"
    51855185msgstr ""
    51865186
    51875187#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:371
    51885188msgid "rotateOutDownRight"
    51895189msgstr ""
    51905190
    51915191#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:372
    51925192msgid "rotateOutUpLeft"
    51935193msgstr ""
    51945194
    51955195#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:373
    51965196msgid "rotateOutUpRight"
    51975197msgstr ""
    51985198
    51995199#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:190
    52005200msgid "Rounded"
    52015201msgstr ""
    52025202
    52035203#: includes/addons/wb_archive_product.php:75
    52045204#: includes/addons/product_tabs.php:112
    52055205msgid "Rows"
    52065206msgstr ""
    52075207
    52085208#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:287
    52095209#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:344
    52105210msgid "rubberBand"
    52115211msgstr ""
    52125212
    52135213#: includes/addons/wl_onepage_slider.php:474
    52145214msgid "Ruffled Poplin Dress"
    52155215msgstr ""
    52165216
    52175217#: includes/addons/wl_testimonial.php:157
    52185218msgid "Ruth Pierce"
    52195219msgstr ""
    52205220
    52215221#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:455
    52225222#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:620
    52235223msgid "Safari"
    52245224msgstr ""
    52255225
    52265226#: includes/admin/templates/dashboard-freevspro.php:75
    52275227msgid "Sale / Discount Schedule Counter"
    52285228msgstr ""
    52295229
    52305230#: includes/addons/wb_archive_product.php:804
    52315231msgid "Sale Flash"
    52325232msgstr ""
    52335233
    52345234#: includes/addons/wb_archive_product.php:412
    52355235msgid "Sale Price"
    52365236msgstr ""
    52375237
    52385238#: includes/addons/product_flash_sale.php:488
    52395239#: includes/addons/product_image_accordion.php:420
    52405240#: includes/addons/product_accordion.php:499
    52415241#: includes/addons/product_curvy.php:491 includes/addons/product_curvy.php:505
    52425242msgid "Sale Price Color"
    52435243msgstr ""
    52445244
    52455245#: includes/addons/product_image_accordion.php:69
    52465246#: includes/addons/product_accordion.php:90
    52475247#: includes/addons/product_curvy.php:125 includes/addons/product_tabs.php:82
    52485248msgid "Sale Products"
    52495249msgstr ""
    52505250
    52515251#: includes/addons/wb_archive_product.php:796
    52525252msgid "Sale Tag"
    52535253msgstr ""
    52545254
    5255 #: includes/helper-function.php:988 includes/helper-function.php:1034
     5255#: includes/helper-function.php:1002 includes/helper-function.php:1048
    52565256msgid "Sale!"
    52575257msgstr ""
    52585258
    52595259#: includes/admin/templates/dashboard-freevspro.php:97
    52605260msgid "Sales Notification"
    52615261msgstr ""
    52625262
    52635263#: includes/addons/wl_recently_viewed_products.php:118
    52645264msgid "Same Height Box ?"
    52655265msgstr ""
    52665266
    52675267#: includes/admin/include/class.template-manager.php:478
    52685268msgid "Sample Design"
    52695269msgstr ""
    52705270
    52715271#: classes/class.assest_management.php:332
    52725272#: includes/admin/templates/dashboard-element.php:39
    52735273#: includes/admin/templates/dashboard-style.php:26
    52745274#: includes/admin/templates/dashboard-gutenberg.php:60
    52755275#: includes/admin/templates/dashboard-settings.php:18
    52765276#: includes/admin/templates/dashboard-module-setting-popup.php:20
    52775277#: includes/admin/templates/dashboard-module.php:50
    52785278msgid "Save Changes"
    52795279msgstr ""
    52805280
    52815281#: includes/admin/include/class.template-manager.php:471
    52825282#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:516
    52835283msgid "Save Settings"
    52845284msgstr ""
    52855285
    52865286#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:62
    52875287msgid "Save Swatches"
    52885288msgstr ""
    52895289
    52905290#: classes/class.assest_management.php:334
    52915291msgid "Saved All Data"
    52925292msgstr ""
    52935293
    52945294#: includes/modules/variation-swatch/includes/ajax-actions.php:164
    52955295msgid "Saved!"
    52965296msgstr ""
    52975297
    52985298#: classes/class.assest_management.php:333
    52995299#: includes/admin/include/class.template-manager.php:472
    53005300#: includes/modules/variation-swatch/includes/Admin.php:50
    53015301msgid "Saving..."
    53025302msgstr ""
    53035303
    53045304#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:127
    53055305msgid "Scroll Direction"
    53065306msgstr ""
    53075307
    53085308#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:119
    53095309msgid "Scroll Percentage (%)"
    53105310msgstr ""
    53115311
    53125312#: includes/addons/wl_product_horizontal_filter.php:973
    53135313#: includes/addons/wl_product_filter.php:853
    53145314#: includes/modules/ajax-search/base.php:170
    53155315msgid "Search"
    53165316msgstr ""
    53175317
    53185318#: includes/addons/wl_product_horizontal_filter.php:312
    53195319msgid "Search Button Icon"
    53205320msgstr ""
    53215321
    53225322#: includes/addons/wl_product_horizontal_filter.php:259
    53235323#: includes/addons/wl_product_horizontal_filter.php:556
    53245324#: includes/addons/wl_product_filter.php:43
    53255325msgid "Search Form"
    53265326msgstr ""
    53275327
    53285328#: includes/addons/wl_product_horizontal_filter.php:298
    53295329msgid "Search Form Placeholder"
    53305330msgstr ""
    53315331
    53325332#: includes/modules/ajax-search/base.php:131
    53335333msgid "Search Products"
    53345334msgstr ""
    53355335
    53365336#: includes/addons/wl_product_horizontal_filter.php:300
    53375337msgid "Search Products..."
    53385338msgstr ""
    53395339
    53405340#: includes/admin/include/class.template_cpt.php:60
    53415341msgid "Search Templates"
    53425342msgstr ""
    53435343
    53445344#: includes/admin/include/template-library/templates_list.php:24
    53455345msgid "Search.."
    53465346msgstr ""
    53475347
    53485348#: includes/addons/product_flash_sale.php:1032
    53495349#: includes/modules/flash-sale/class.flash-sale.php:450
    53505350msgid "Sec"
    53515351msgstr ""
    53525352
    53535353#: includes/addons/product_flash_sale.php:304
    53545354#: includes/addons/product_flash_sale.php:306
    53555355msgid "Seconds"
    53565356msgstr ""
    53575357
    5358 #: includes/helper-function.php:428
     5358#: includes/helper-function.php:442
    53595359#: includes/modules/variation-swatch/includes/Admin/Woo_Config.php:30
    53605360msgid "Select"
    53615361msgstr ""
    53625362
    53635363#: includes/addons/wl_product_horizontal_filter.php:1164
    53645364msgid "select"
    53655365msgstr ""
    53665366
    53675367#: includes/addons/wl_category_grid.php:98
    53685368#: includes/addons/wl_category_grid.php:111
    53695369msgid "Select categories"
    53705370msgstr ""
    53715371
    53725372#: includes/addons/wl_faq.php:54
    53735373msgid "Select Content Source"
    53745374msgstr ""
    53755375
    53765376#: includes/addons/product_flash_sale.php:80
    53775377msgid "Select Deal"
    53785378msgstr ""
    53795379
    53805380#: includes/admin/include/class.template-manager.php:457
    53815381msgid "Select Editor"
    53825382msgstr ""
    53835383
    53845384#: includes/addons/wl_category.php:50 includes/addons/wl_brand.php:58
    53855385msgid "Select Layout"
    53865386msgstr ""
    53875387
    53885388#: includes/addons/product_image_accordion.php:81
    53895389#: includes/addons/product_accordion.php:102
    53905390#: includes/addons/product_curvy.php:137
    53915391msgid "Select Product"
    53925392msgstr ""
    53935393
    53945394#: includes/addons/wl_category_grid.php:51
    53955395msgid "Select Style"
    53965396msgstr ""
    53975397
    53985398#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:264
    53995399msgid "Select Swatch Image"
    54005400msgstr ""
    54015401
    54025402#: includes/addons/wb_just_table.php:54
    54035403msgid "Select Table"
    54045404msgstr ""
    54055405
    5406 #: includes/helper-function.php:453 includes/addons/wl_faq.php:97
     5406#: includes/helper-function.php:467 includes/addons/wl_faq.php:97
    54075407msgid "Select Template"
    54085408msgstr ""
    54095409
    54105410#: includes/addons/wb_product_suggest_price.php:85
    54115411msgid "Send To Mail"
    54125412msgstr ""
    54135413
    54145414#: includes/addons/product_flash_sale.php:603
    54155415msgid "Separator Border Color"
    54165416msgstr ""
    54175417
    54185418#: includes/addons/wl_breadcrumbs.php:50
    54195419msgid "Separator Icon"
    54205420msgstr ""
    54215421
    54225422#: includes/admin/include/diagnostic-data.php:492
    54235423#, php-format
    54245424msgid ""
    54255425"Server information (Web server, PHP version, MySQL version), WordPress "
    54265426"information, site name, site URL, number of plugins, number of users, your "
    54275427"name, and email address. You can rest assured that no sensitive data will be "
    54285428"collected or tracked. %1$sLearn more%2$s."
    54295429msgstr ""
    54305430
    54315431#: includes/admin/include/class.template-manager.php:458
    54325432msgid "Set Default"
    54335433msgstr ""
    54345434
    54355435#: includes/admin/include/class.template_cpt.php:64
    54365436msgid "Set featured image"
    54375437msgstr ""
    54385438
    5439 #: includes/helper-function.php:1199 includes/helper-function.php:1217
     5439#: includes/helper-function.php:1213 includes/helper-function.php:1231
    54405440msgid "Set the initial stock amount from"
    54415441msgstr ""
    54425442
    54435443#: includes/base.php:244 includes/addons/wl_recently_viewed_products.php:42
    54445444#: includes/addons/wb_product_add_to_cart.php:73
    54455445#: includes/admin/admin-init.php:110 includes/admin/admin-init.php:111
    54465446#: includes/admin/templates/dashboard-gutenberg.php:15
    54475447msgid "Settings"
    54485448msgstr ""
    54495449
    54505450#: includes/addons/wl_testimonial.php:202
    54515451#: includes/addons/wb_customer_review.php:190
    54525452#: includes/addons/wl_recently_viewed_products.php:82
    54535453#: includes/addons/wl_category_grid.php:258
    54545454msgid "Seven"
    54555455msgstr ""
    54565456
    54575457#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:288
    54585458#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:345
    54595459msgid "shake"
    54605460msgstr ""
    54615461
    54625462#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:184
    54635463msgid "Shape Style"
    54645464msgstr ""
    54655465
    54665466#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:281
    54675467msgid "Share link button position"
    54685468msgstr ""
    54695469
    54705470#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:294
    54715471msgid "Share link button text"
    54725472msgstr ""
    54735473
    54745474#: includes/modules/shopify-like-checkout/templates/form-shipping.php:13
    54755475msgid "Ship to a different address?"
    54765476msgstr ""
    54775477
    54785478#: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:304
    54795479#: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:305
    54805480#: includes/modules/shopify-like-checkout/templates/review-order.php:26
    54815481#: includes/modules/shopify-like-checkout/templates/form-checkout.php:54
    54825482msgid "Shipping"
    54835483msgstr ""
    54845484
    54855485#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:48
    54865486msgid "Shipping costs are calculated during checkout."
    54875487msgstr ""
    54885488
    54895489#: includes/modules/shopify-like-checkout/templates/form-checkout.php:62
    54905490msgid "Shipping Method"
    54915491msgstr ""
    54925492
    54935493#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:40
    54945494msgid "Shipping options will be updated during checkout."
    54955495msgstr ""
    54965496
    54975497#. $s shipping destination.
    54985498#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:37
    54995499#, php-format
    55005500msgid "Shipping to %s."
    55015501msgstr ""
    55025502
    55035503#: includes/admin/include/class.template-manager.php:263
    55045504#: includes/admin/include/class.template-manager.php:285
    55055505msgid "Shop"
    55065506msgstr ""
    55075507
    55085508#: includes/addons/wl_onepage_slider.php:475
    55095509#: includes/addons/wl_onepage_slider.php:480
    55105510#: includes/addons/wl_onepage_slider.php:485
    55115511msgid "Shop now"
    55125512msgstr ""
    55135513
    55145514#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:90
    55155515msgid "Shop page button position"
    55165516msgstr ""
    55175517
    55185518#: includes/admin/templates/dashboard-freevspro.php:101
    55195519msgid "Shopify Style Checkout"
    55205520msgstr ""
    55215521
    55225522#: classes/class.widgets_control.php:40 includes/base.php:175
    55235523#: includes/admin/admin-init.php:99 includes/admin/admin-init.php:100
    55245524#: woolentor-blocks/includes/classes/Block_Patterns_Init.php:55
    55255525#: woolentor-blocks/production/includes/classes/Block_Patterns_Init.php:55
    55265526msgid "ShopLentor"
    55275527msgstr ""
    55285528
    55295529#: includes/admin/templates/dashboard-gutenberg.php:28
    55305530msgid "ShopLentor Blocks"
    55315531msgstr ""
    55325532
    55335533#: includes/admin/templates/dashboard-element.php:15
    55345534msgid "ShopLentor Element"
    55355535msgstr ""
    55365536
    55375537#: includes/admin/templates/dashboard-freevspro.php:200
    55385538msgid "ShopLentor Free Vs Pro"
    55395539msgstr ""
    55405540
    55415541#: includes/admin/templates/dashboard-sidebar.php:9
    55425542msgid ""
    55435543"ShopLentor is one of the most popular WooCommerce Elementor Addons on "
    55445544"WordPress.org. It has been downloaded more than 2,277,153 times and 100,000 "
    55455545"stores are using ShopLentor plugin. Why not you?"
    55465546msgstr ""
    55475547
    55485548#: includes/admin/templates/dashboard-module.php:17
    55495549msgid "ShopLentor Module"
    55505550msgstr ""
    55515551
    55525552#: includes/admin/templates/dashboard-sidebar.php:30
    55535553msgid "Shoplentor trustpilot rating"
    55545554msgstr ""
    55555555
    55565556#. Name of the plugin
    55575557msgid "ShopLentor – WooCommerce Builder for Elementor & Gutenberg"
    55585558msgstr ""
    55595559
    55605560#: includes/addons/product_flash_sale.php:176
    55615561#: includes/addons/product_flash_sale.php:328
    55625562#: includes/addons/wb_product_upsell.php:95
    55635563#: includes/addons/wb_archive_product.php:807
    55645564#: includes/addons/wl_archive_title.php:64
    55655565#: includes/addons/wl_archive_title.php:76
    55665566#: includes/addons/wl_archive_title.php:88
    55675567#: includes/addons/wb_product_related.php:111
    55685568#: includes/addons/wb_product_additional_information.php:54
    55695569msgid "Show"
    55705570msgstr ""
    55715571
    55725572#: includes/addons/wl_recently_viewed_products.php:159
    55735573msgid "Show Add To Cart Button"
    55745574msgstr ""
    55755575
    55765576#: includes/addons/wl_recently_viewed_products.php:169
    55775577msgid "Show Badge"
    55785578msgstr ""
    55795579
    55805580#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:74
    55815581msgid "Show button in product list page"
    55825582msgstr ""
    55835583
    55845584#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:82
    55855585msgid "Show button in single product page"
    55865586msgstr ""
    55875587
    55885588#: includes/addons/product_image_accordion.php:72
    55895589#: includes/addons/product_accordion.php:93
    55905590#: includes/addons/product_curvy.php:128
    55915591msgid "Show By Id"
    55925592msgstr ""
    55935593
    55945594#: includes/modules/ajax-search/widget-product-search-ajax.php:50
    55955595msgid "Show Category Dropdown"
    55965596msgstr ""
    55975597
    55985598#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:75
    55995599msgid "Show compare button in product list page."
    56005600msgstr ""
    56015601
    56025602#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:83
    56035603msgid "Show compare button in single product page."
    56045604msgstr ""
    56055605
    56065606#: includes/addons/wl_category_grid.php:198
    56075607msgid "Show Count"
    56085608msgstr ""
    56095609
    56105610#: includes/addons/product_flash_sale.php:174
    56115611msgid "Show Countdown Timer"
    56125612msgstr ""
    56135613
    56145614#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:60
    56155615#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:88
    56165616msgid "Show Currency flags ?"
    56175617msgstr ""
    56185618
    56195619#: includes/addons/wl_archive_title.php:73
    56205620#: includes/addons/wl_category_grid.php:213
    56215621msgid "Show Description"
    56225622msgstr ""
    56235623
    56245624#: includes/addons/wl_recently_viewed_products.php:95
    56255625msgid "Show Empty Message"
    56265626msgstr ""
    56275627
    56285628#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:322
    56295629msgid "Show fields in table"
    56305630msgstr ""
    56315631
    56325632#: includes/addons/wl_product_horizontal_filter.php:289
    56335633msgid "Show Filter Button"
    56345634msgstr ""
    56355635
    56365636#: includes/addons/wl_product_horizontal_filter.php:281
    56375637msgid "Show Filter Label"
    56385638msgstr ""
    56395639
    56405640#: includes/addons/wl_faq.php:190
    56415641msgid "Show First Item"
    56425642msgstr ""
    56435643
    56445644#: includes/addons/wl_archive_title.php:85
    56455645msgid "Show Image"
    56465646msgstr ""
    56475647
    56485648#: includes/addons/wl_category.php:167 includes/addons/wl_category_grid.php:160
    56495649msgid "Show items"
    56505650msgstr ""
    56515651
    56525652#: includes/modules/ajax-search/widget-product-search-ajax.php:45
    56535653msgid "Show Number of Product:"
    56545654msgstr ""
    56555655
    56565656#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:605
    56575657msgid "Show on Browsers"
    56585658msgstr ""
    56595659
    56605660#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:582
    56615661msgid "Show on Devices"
    56625662msgstr ""
    56635663
    56645664#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:381
    56655665msgid "Show Only if the URL"
    56665666msgstr ""
    56675667
    56685668#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:446
    56695669msgid "Show Only on Browsers"
    56705670msgstr ""
    56715671
    56725672#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:424
    56735673msgid "Show Only on Devices"
    56745674msgstr ""
    56755675
    56765676#: includes/addons/wl_recently_viewed_products.php:149
    56775677msgid "Show Price"
    56785678msgstr ""
    56795679
    56805680#: includes/addons/wb_archive_product.php:111
    56815681msgid "Show Result Count"
    56825682msgstr ""
    56835683
    56845684#: includes/addons/product_flash_sale.php:326
    56855685msgid "Show Stock Progress Bar"
    56865686msgstr ""
    56875687
    56885688#: includes/addons/wl_archive_title.php:61
    56895689#: includes/addons/wl_recently_viewed_products.php:139
    56905690msgid "Show Title"
    56915691msgstr ""
    56925692
    56935693#: includes/admin/templates/dashboard-freevspro.php:169
    56945694msgid "Side Mini Cart"
    56955695msgstr ""
    56965696
    56975697#: includes/admin/templates/dashboard-welcome.php:66
    56985698msgid ""
    56995699"Sign up for our email list to get discounts, exclusive offers, the latest "
    57005700"items, and news in your inbox."
    57015701msgstr ""
    57025702
    57035703#: includes/admin/include/class.template-manager.php:269
    57045704#: includes/admin/include/class.template-manager.php:293
    57055705msgid "Single"
    57065706msgstr ""
    57075707
    57085708#: includes/addons/wl_category_grid.php:73
    57095709msgid "Single Category"
    57105710msgstr ""
    57115711
    57125712#: includes/admin/templates/dashboard-freevspro.php:113
    57135713msgid "Single Product Ajax Add To Cart"
    57145714msgstr ""
    57155715
    57165716#: includes/admin/templates/dashboard-freevspro.php:15
    57175717msgid "Single Product Individual Layout"
    57185718msgstr ""
    57195719
    57205720#: includes/modules/popup-builder/includes/class-repeater-helper.php:23
    57215721#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:140
    57225722#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:150
    57235723msgid "Singular"
    57245724msgstr ""
    57255725
    57265726#: includes/addons/wl_testimonial.php:201
    57275727#: includes/addons/wb_customer_review.php:189
    57285728#: includes/addons/wl_recently_viewed_products.php:81
    57295729#: includes/addons/wl_category_grid.php:257
    57305730msgid "Six"
    57315731msgstr ""
    57325732
    57335733#: includes/addons/wb_product_qr_code.php:50
    57345734#: includes/addons/wl_product_filter.php:613
    57355735#: includes/addons/wb_wishsuite_table.php:332
    57365736msgid "Size"
    57375737msgstr ""
    57385738
    57395739#: includes/addons/wb_product_sku.php:43
    57405740msgid "SKU"
    57415741msgstr ""
    57425742
    57435743#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:333
    57445744msgid "sku"
    57455745msgstr ""
    57465746
    57475747#: classes/class.default_data.php:374 classes/class.default_data.php:395
    57485748#: includes/addons/wb_product_sku.php:167
    57495749msgid "SKU:"
    57505750msgstr ""
    57515751
    57525752#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:318
    57535753msgid "slideInDown"
    57545754msgstr ""
    57555755
    57565756#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:319
    57575757msgid "slideInLeft"
    57585758msgstr ""
    57595759
    57605760#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:320
    57615761msgid "slideInRight"
    57625762msgstr ""
    57635763
    57645764#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:317
    57655765msgid "slideInUp"
    57665766msgstr ""
    57675767
    57685768#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:375
    57695769msgid "slideOutDown"
    57705770msgstr ""
    57715771
    57725772#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:376
    57735773msgid "slideOutLeft"
    57745774msgstr ""
    57755775
    57765776#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:377
    57775777msgid "slideOutRight"
    57785778msgstr ""
    57795779
    57805780#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:374
    57815781msgid "slideOutUp"
    57825782msgstr ""
    57835783
    57845784#: includes/addons/wl_onepage_slider.php:44
    57855785msgid "Slider"
    57865786msgstr ""
    57875787
    57885788#: includes/addons/wl_testimonial.php:311 includes/addons/product_tabs.php:450
    57895789#: includes/addons/wl_category_grid.php:337
    57905790msgid "Slider Arrow"
    57915791msgstr ""
    57925792
    57935793#: includes/addons/wl_testimonial.php:343 includes/addons/product_tabs.php:488
    57945794#: includes/addons/wl_category_grid.php:369
    57955795msgid "Slider autoplay"
    57965796msgstr ""
    57975797
    57985798#: includes/addons/wl_testimonial.php:792 includes/addons/wl_brand.php:354
    57995799#: includes/addons/wl_brand.php:366 includes/addons/product_tabs.php:628
    58005800#: includes/addons/wl_category_grid.php:801
    58015801msgid "Slider Controller Style"
    58025802msgstr ""
    58035803
    58045804#: includes/addons/wl_testimonial.php:321 includes/addons/product_tabs.php:463
    58055805#: includes/addons/wl_category_grid.php:347
    58065806msgid "Slider dots"
    58075807msgstr ""
    58085808
    58095809#: includes/addons/wl_product_filter.php:604
    58105810msgid "Slider Handler"
    58115811msgstr ""
    58125812
    58135813#: includes/addons/wl_testimonial.php:379
    58145814#: includes/addons/wl_testimonial.php:410
    58155815#: includes/addons/wl_testimonial.php:451 includes/addons/product_tabs.php:527
    58165816#: includes/addons/product_tabs.php:560 includes/addons/product_tabs.php:603
    58175817#: includes/addons/wl_category_grid.php:404
    58185818#: includes/addons/wl_category_grid.php:435
    58195819#: includes/addons/wl_category_grid.php:476
    58205820msgid "Slider item to scroll"
    58215821msgstr ""
    58225822
    58235823#: includes/addons/wl_testimonial.php:300
    58245824#: includes/addons/wl_testimonial.php:399
    58255825#: includes/addons/wl_testimonial.php:440 includes/addons/product_tabs.php:435
    58265826#: includes/addons/product_tabs.php:548 includes/addons/product_tabs.php:591
    58275827#: includes/addons/wl_category_grid.php:326
    58285828#: includes/addons/wl_category_grid.php:424
    58295829#: includes/addons/wl_category_grid.php:465
    58305830msgid "Slider Items"
    58315831msgstr ""
    58325832
    58335833#: includes/addons/wl_brand.php:65
    58345834#, php-format
    58355835msgid ""
    58365836"Slider layouts are available in the pro version. <a href=\"%s\" "
    58375837"target=\"_blank\">Get Pro</a>"
    58385838msgstr ""
    58395839
    58405840#: includes/addons/wl_testimonial.php:169
    58415841#: includes/addons/wl_category_grid.php:225
    58425842msgid "Slider On"
    58435843msgstr ""
    58445844
    58455845#: includes/addons/wl_testimonial.php:290 includes/addons/wl_brand.php:212
    58465846#: includes/addons/wl_brand.php:223 includes/addons/product_tabs.php:425
    58475847#: includes/addons/wl_category_grid.php:316
    58485848msgid "Slider Option"
    58495849msgstr ""
    58505850
    58515851#: includes/addons/wl_category.php:154 includes/addons/wl_category_grid.php:147
    58525852msgid "Slug"
    58535853msgstr ""
    58545854
    58555855#: includes/addons/wb_wishsuite_table.php:284
    58565856msgid "Social Share"
    58575857msgstr ""
    58585858
    5859 #: includes/helper-function.php:1212
     5859#: includes/helper-function.php:1226
    58605860msgid "Sold"
    58615861msgstr ""
    58625862
    58635863#: includes/addons/product_flash_sale.php:350
    58645864msgid "Sold Custom Text"
    58655865msgstr ""
    58665866
    58675867#: includes/addons/product_flash_sale.php:920
    58685868msgid "Sold Label Color"
    58695869msgstr ""
    58705870
    58715871#: includes/addons/product_flash_sale.php:352
    58725872#: includes/addons/product_flash_sale.php:1037
    58735873msgid "Sold:"
    58745874msgstr ""
    58755875
    58765876#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:113
    58775877msgid ""
    58785878"Some themes remove the above positions. In that case, custom position is "
    58795879"useful. Here you can place the custom/default hook name & priority to inject "
    58805880"& adjust the compare button for the product loop."
    58815881msgstr ""
    58825882
    58835883#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:161
    58845884msgid ""
    58855885"Some themes remove the above positions. In that case, custom position is "
    58865886"useful. Here you can place the custom/default hook name & priority to inject "
    58875887"& adjust the compare button for the single product page."
    58885888msgstr ""
    58895889
    5890 #: includes/admin/include/class.template-manager.php:601
    5891 #: includes/admin/include/class.template-manager.php:709
    5892 #: includes/admin/include/class.template-manager.php:753
    5893 #: includes/admin/include/class.template-manager.php:877
     5890#: includes/admin/include/class.template-manager.php:608
     5891#: includes/admin/include/class.template-manager.php:723
     5892#: includes/admin/include/class.template-manager.php:774
     5893#: includes/admin/include/class.template-manager.php:905
    58945894msgid "Some thing is worng !"
    58955895msgstr ""
    58965896
    58975897#: includes/addons/wb_product_suggest_price.php:179
    58985898#: includes/addons/wb_product_suggest_price.php:180
    58995899msgid "Something is wrong! try again"
    59005900msgstr ""
    59015901
    59025902#. 1: quantity in stock 2: current quantity
    59035903#: includes/modules/backorder/class.backorder.php:197
    59045904#, php-format
    59055905msgid ""
    59065906"Sorry, \"%s\" has reached its maximum backorder limit — (%s available). You "
    59075907"already have %s in your cart."
    59085908msgstr ""
    59095909
    59105910#: includes/modules/backorder/class.backorder.php:139
    59115911#, php-format
    59125912msgid ""
    59135913"Sorry, \"%s\" has reached its maximum backorder limit. Orders can be placed "
    59145914"for up to <b>%s</b> units."
    59155915msgstr ""
    59165916
    59175917#: includes/modules/backorder/class.backorder.php:203
    59185918#, php-format
    59195919msgid ""
    59205920"Sorry, \"%s\" was not added to cart because it has reached the maximum "
    59215921"backorder limit. (%s available)."
    59225922msgstr ""
    59235923
    59245924#: includes/modules/shopify-like-checkout/templates/payment.php:21
    59255925msgid ""
    59265926"Sorry, it seems that there are no available payment methods for your state. "
    59275927"Please contact us if you require assistance or wish to make alternate "
    59285928"arrangements."
    59295929msgstr ""
    59305930
    59315931#: includes/modules/variation-swatch/includes/Frontend.php:131
    59325932msgid ""
    59335933"Sorry, no products matched your selection. Please choose a different "
    59345934"combination."
    59355935msgstr ""
    59365936
    59375937#: includes/modules/variation-swatch/includes/Frontend.php:133
    59385938msgid ""
    59395939"Sorry, this product is unavailable. Please choose a different combination."
    59405940msgstr ""
    59415941
    59425942#: includes/admin/include/template-library.php:340
    59435943msgid "Sorry, you are not allowed to install themes on this site."
    59445944msgstr ""
    59455945
    59465946#: includes/addons/wl_product_horizontal_filter.php:44
    59475947#: includes/addons/wl_product_horizontal_filter.php:169
    59485948#: includes/addons/wl_product_horizontal_filter.php:170
    59495949#: includes/addons/wl_product_filter.php:45
    59505950msgid "Sort By"
    59515951msgstr ""
    59525952
    5953 #: includes/helper-function.php:1070
     5953#: includes/helper-function.php:1084
    59545954msgid "Sort by average rating"
    59555955msgstr ""
    59565956
    5957 #: includes/helper-function.php:1071
     5957#: includes/helper-function.php:1085
    59585958msgid "Sort by latest"
    59595959msgstr ""
    59605960
    5961 #: includes/helper-function.php:1069
     5961#: includes/helper-function.php:1083
    59625962msgid "Sort by popularity"
    59635963msgstr ""
    59645964
    5965 #: includes/helper-function.php:1073
     5965#: includes/helper-function.php:1087
    59665966msgid "Sort by price: high to low"
    59675967msgstr ""
    59685968
    5969 #: includes/helper-function.php:1072
     5969#: includes/helper-function.php:1086
    59705970msgid "Sort by price: low to high"
    59715971msgstr ""
    59725972
    59735973#: includes/addons/wl_breadcrumbs.php:134
    59745974#: includes/addons/wl_testimonial.php:227
    59755975#: includes/addons/wb_customer_review.php:215
    59765976#: includes/addons/wl_category_grid.php:283
    59775977msgid "Space"
    59785978msgstr ""
    59795979
    59805980#: includes/addons/wb_product_add_to_cart.php:986
    59815981msgid "Space Between"
    59825982msgstr ""
    59835983
    59845984#: includes/addons/wb_product_image.php:118
    59855985#: includes/addons/wb_product_categories.php:132
    59865986#: includes/addons/wb_product_sku.php:120
    59875987#: includes/addons/wb_product_add_to_cart.php:412
    59885988#: includes/addons/wb_product_tags.php:132
    59895989msgid "Spacing"
    59905990msgstr ""
    59915991
    5992 #: includes/helper-function.php:638
     5992#: includes/helper-function.php:652
    59935993msgid "span"
    59945994msgstr ""
    59955995
    59965996#: classes/class.widgets_control.php:232
    59975997#: woolentor-blocks/includes/classes/Blocks_List.php:46
    59985998#: woolentor-blocks/production/includes/classes/Blocks_List.php:46
    59995999msgid "Special Day Offer"
    60006000msgstr ""
    60016001
    60026002#: includes/admin/templates/dashboard-freevspro.php:55
    60036003msgid "Special Day offer banner"
    60046004msgstr ""
    60056005
    60066006#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:77
    60076007msgid "Square"
    60086008msgstr ""
    60096009
    60106010#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:189
    60116011msgid "Squared"
    60126012msgstr ""
    60136013
    60146014#: includes/addons/wb_product_rating.php:51
    60156015msgid "Star Color"
    60166016msgstr ""
    60176017
    60186018#: includes/addons/wb_archive_product.php:513
    60196019msgid "Star Size"
    60206020msgstr ""
    60216021
    60226022#: includes/addons/wl_store_features.php:120
    60236023msgid "Start from $100"
    60246024msgstr ""
    60256025
    60266026#: includes/admin/templates/dashboard-freevspro.php:79
    60276027msgid "Sticky Add to cart"
    60286028msgstr ""
    60296029
    60306030#: classes/class.default_data.php:489
    60316031msgid "Stock availability does not exist this product."
    60326032msgstr ""
    60336033
    60346034#: includes/addons/product_flash_sale.php:319
    60356035msgid "Stock Progress Bar"
    60366036msgstr ""
    60376037
    60386038#: includes/addons/product_flash_sale.php:887
    60396039msgid "Stock Progress Style"
    60406040msgstr ""
    60416041
    60426042#: includes/addons/wl_store_features.php:41
    60436043#: woolentor-blocks/includes/classes/Blocks_List.php:53
    60446044#: woolentor-blocks/production/includes/classes/Blocks_List.php:53
    60456045msgid "Store Feature"
    60466046msgstr ""
    60476047
    60486048#: classes/class.widgets_control.php:240
    60496049msgid "Store Features"
    60506050msgstr ""
    60516051
    60526052#: includes/addons/wb_product_short_description.php:45
    60536053#: includes/addons/wl_breadcrumbs.php:66
    60546054#: includes/addons/wb_wc_multicurrency.php:54
    60556055#: includes/addons/wl_onepage_slider.php:152
    60566056#: includes/addons/special_day_offer.php:261
    60576057#: includes/addons/wl_testimonial.php:52
    60586058#: includes/addons/wl_archive_title.php:100
    60596059#: includes/addons/product_image_accordion.php:272
    60606060#: includes/addons/wb_product_description.php:44
    60616061#: includes/addons/product_accordion.php:325
    60626062#: includes/addons/wl_category.php:237 includes/addons/product_curvy.php:61
    60636063#: includes/addons/product_curvy.php:332
    60646064#: includes/addons/wb_product_rating.php:44
    60656065#: includes/addons/wb_image_marker.php:82
    60666066#: includes/addons/wb_customer_review.php:50
    60676067#: includes/addons/wb_product_stock.php:44 includes/addons/product_tabs.php:866
    60686068#: includes/addons/add_banner.php:50 includes/addons/add_banner.php:139
    60696069#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:47
    60706070msgid "Style"
    60716071msgstr ""
    60726072
    60736073#: includes/addons/wb_image_marker.php:90
    60746074#: includes/addons/wl_category_grid.php:59
    60756075msgid "Style Five"
    60766076msgstr ""
    60776077
    60786078#: includes/addons/wl_testimonial.php:59 includes/addons/wb_image_marker.php:89
    60796079#: includes/addons/wb_customer_review.php:57
    60806080#: includes/addons/wl_category_grid.php:58
    60816081msgid "Style Four"
    60826082msgstr ""
    60836083
    60846084#: includes/addons/product_flash_sale.php:190
    60856085#: includes/addons/wl_testimonial.php:56 includes/addons/product_curvy.php:65
    60866086#: includes/addons/wb_image_marker.php:86
    60876087#: includes/addons/wb_customer_review.php:54
    60886088#: includes/addons/product_tabs.php:65 includes/addons/add_banner.php:54
    60896089#: includes/addons/wl_category_grid.php:55
    60906090msgid "Style One"
    60916091msgstr ""
    60926092
    60936093#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:58
    60946094msgid "Style Settings"
    60956095msgstr ""
    60966096
    60976097#: includes/addons/wl_testimonial.php:58 includes/addons/product_curvy.php:67
    60986098#: includes/addons/wb_image_marker.php:88
    60996099#: includes/addons/wb_customer_review.php:56
    61006100#: includes/addons/product_tabs.php:67 includes/addons/wl_category_grid.php:57
    61016101msgid "Style Three"
    61026102msgstr ""
    61036103
    61046104#: includes/addons/product_flash_sale.php:191
    61056105#: includes/addons/wl_testimonial.php:57 includes/addons/product_curvy.php:66
    61066106#: includes/addons/wb_image_marker.php:87
    61076107#: includes/addons/wb_customer_review.php:55
    61086108#: includes/addons/product_tabs.php:66 includes/addons/add_banner.php:55
    61096109#: includes/addons/wl_category_grid.php:56
    61106110msgid "Style Two"
    61116111msgstr ""
    61126112
    61136113#: includes/addons/wb_wishsuite_counter.php:57
    61146114msgid "Styles"
    61156115msgstr ""
    61166116
    61176117#: includes/addons/wl_onepage_slider.php:83
    61186118#: includes/addons/wl_onepage_slider.php:253
    61196119#: includes/addons/special_day_offer.php:384
    61206120#: includes/addons/wl_store_features.php:118
    61216121#: includes/addons/wl_store_features.php:501 includes/addons/add_banner.php:188
    61226122msgid "Sub Title"
    61236123msgstr ""
    61246124
    61256125#: includes/addons/wb_product_suggest_price.php:99
    61266126#: includes/addons/wb_product_suggest_price.php:100
    61276127#: woolentor-blocks/src/blocks/product-reviews/index.php:52
    61286128#: woolentor-blocks/production/src/blocks/product-reviews/index.php:52
    61296129msgid "Submit"
    61306130msgstr ""
    61316131
    61326132#: includes/addons/wl_product_horizontal_filter.php:639
    61336133#: includes/addons/wb_product_suggest_price.php:393
    61346134#: includes/addons/wl_product_filter.php:318
    61356135msgid "Submit Button"
    61366136msgstr ""
    61376137
    61386138#: includes/modules/ajax-search/base.php:170
    61396139msgctxt "submit button"
    61406140msgid "Search"
    61416141msgstr ""
    61426142
    61436143#: includes/addons/wb_product_suggest_price.php:97
    61446144msgid "Submit Button Text"
    61456145msgstr ""
    61466146
    61476147#: includes/admin/templates/dashboard-welcome.php:68
    61486148msgid "Subscribe"
    61496149msgstr ""
    61506150
    61516151#: includes/admin/templates/dashboard-welcome.php:65
    61526152msgid "Subscribe and Get Offers"
    61536153msgstr ""
    61546154
    61556155#: includes/addons/special_day_offer.php:95
    61566156msgid "Subtitle"
    61576157msgstr ""
    61586158
    61596159#: includes/modules/shopify-like-checkout/templates/review-order.php:12
    61606160msgid "Subtotal"
    61616161msgstr ""
    61626162
    61636163#: includes/addons/wb_product_suggest_price.php:165
    61646164msgid "Success Message"
    61656165msgstr ""
    61666166
    61676167#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:646
    61686168msgid "Successfully Settings Saved."
    61696169msgstr ""
    61706170
    61716171#: includes/addons/wb_product_suggest_price.php:43
    61726172#: includes/addons/wb_product_suggest_price.php:63
    61736173#: includes/addons/wb_product_suggest_price.php:64
    61746174msgid "Suggest Price"
    61756175msgstr ""
    61766176
    61776177#: includes/admin/templates/dashboard-widget.php:100
    61786178#: includes/admin/templates/dashboard-welcome.php:41
    61796179msgid "Support"
    61806180msgstr ""
    61816181
    61826182#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:79
    61836183#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:377
    61846184msgid "Swatch Color"
    61856185msgstr ""
    61866186
    61876187#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:94
    61886188#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:389
    61896189msgid "Swatch Color 2"
    61906190msgstr ""
    61916191
    61926192#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:42
    61936193#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:395
    61946194msgid "Swatch Image"
    61956195msgstr ""
    61966196
    61976197#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:416
    61986198msgid "Swatch Image Size"
    61996199msgstr ""
    62006200
    62016201#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:50
    62026202#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:213
    62036203#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:323
    62046204msgid "Swatch Tooltip"
    62056205msgstr ""
    62066206
    62076207#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:163
    62086208#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:298
    62096209msgid "Swatch Type"
    62106210msgstr ""
    62116211
    62126212#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:34
    62136213msgid "Swatches Settings"
    62146214msgstr ""
    62156215
    62166216#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:289
    62176217#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:346
    62186218msgid "swing"
    62196219msgstr ""
    62206220
    62216221#: includes/addons/wb_product_data_tab.php:87
    62226222msgid "Tab Menu"
    62236223msgstr ""
    62246224
    62256225#: includes/addons/wb_product_data_tab.php:44
    62266226msgid "Tab Menu Box"
    62276227msgstr ""
    62286228
    62296229#: includes/addons/product_tabs.php:348
    62306230msgid "Tab Menu margin"
    62316231msgstr ""
    62326232
    62336233#: includes/addons/product_tabs.php:336
    62346234msgid "Tab Menu padding"
    62356235msgstr ""
    62366236
    62376237#: includes/addons/product_tabs.php:230
    62386238msgid "Tab Menu Style"
    62396239msgstr ""
    62406240
    62416241#: includes/addons/wb_wishsuite_table.php:119
    62426242msgid "Table Body"
    62436243msgstr ""
    62446244
    62456245#: includes/addons/wb_just_table.php:114
    62466246msgid "Table Content"
    62476247msgstr ""
    62486248
    62496249#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:534
    62506250msgid "Table custom style"
    62516251msgstr ""
    62526252
    62536253#: includes/addons/wb_wishsuite_table.php:68
    62546254msgid "Table Heading"
    62556255msgstr ""
    62566256
    62576257#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:54
    62586258msgid "Table Settings"
    62596259msgstr ""
    62606260
    62616261#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:419
    62626262msgid "Table style"
    62636263msgstr ""
    62646264
    62656265#: includes/addons/wl_testimonial.php:390 includes/addons/product_tabs.php:539
    62666266#: includes/addons/wl_category_grid.php:415
    62676267#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:432
    62686268#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:596
    62696269msgid "Tablet"
    62706270msgstr ""
    62716271
    62726272#: includes/addons/wl_testimonial.php:421 includes/addons/product_tabs.php:572
    62736273#: includes/addons/wl_category_grid.php:446
    62746274msgid "Tablet Resolution"
    62756275msgstr ""
    62766276
    62776277#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:290
    62786278#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:347
    62796279msgid "tada"
    62806280msgstr ""
    62816281
    62826282#: classes/class.default_data.php:380 classes/class.default_data.php:409
    62836283#: includes/addons/wb_product_tags.php:179
    62846284msgid "Tag:"
    62856285msgid_plural "Tags:"
    62866286msgstr[0] ""
    62876287msgstr[1] ""
    62886288
    62896289#: includes/addons/wb_product_tags.php:43
    62906290msgid "Tags"
    62916291msgstr ""
    62926292
    62936293#: includes/admin/include/class.template_cpt.php:47
    62946294#: includes/admin/include/class.template_cpt.php:48
    62956295msgid "Template"
    62966296msgstr ""
    62976297
    62986298#: includes/admin/include/class.template_cpt.php:49
    62996299msgid "Template Archives"
    63006300msgstr ""
    63016301
    63026302#: includes/admin/include/class.template_cpt.php:50
    63036303msgid "Template Attributes"
    63046304msgstr ""
    63056305
    63066306#: includes/admin/include/class.template-manager.php:74
    63076307#: includes/admin/include/class.template-manager.php:75
    63086308#: includes/admin/include/class.template_cpt.php:75
    63096309msgid "Template Builder"
    63106310msgstr ""
    63116311
    6312 #: includes/admin/include/class.template-manager.php:870
     6312#: includes/admin/include/class.template-manager.php:898
    63136313msgid "Template has been imported"
    63146314msgstr ""
    63156315
    6316 #: includes/admin/include/class.template-manager.php:572
     6316#: includes/admin/include/class.template-manager.php:579
    63176317msgid "Template has been inserted"
    63186318msgstr ""
    63196319
    6320 #: includes/admin/include/class.template-manager.php:636
    6321 #: includes/admin/include/class.template-manager.php:745
     6320#: includes/admin/include/class.template-manager.php:643
     6321#: includes/admin/include/class.template-manager.php:766
    63226322msgid "Template has been updated"
    63236323msgstr ""
    63246324
    63256325#: includes/admin/include/template-library.php:34
    63266326#: includes/admin/include/template-library.php:35
    63276327#: includes/admin/templates/dashboard-freevspro.php:43
    63286328msgid "Template Library"
    63296329msgstr ""
    63306330
    63316331#: includes/admin/include/class.template-manager.php:460
    63326332msgid "Template Settings"
    63336333msgstr ""
    63346334
    63356335#: includes/admin/include/class.template_cpt.php:52
    63366336#: includes/admin/include/template-library/templates_list.php:11
    63376337msgid "Templates"
    63386338msgstr ""
    63396339
    63406340#: includes/admin/include/class.template_cpt.php:69
    63416341msgid "Templates list"
    63426342msgstr ""
    63436343
    63446344#: includes/admin/include/class.template_cpt.php:70
    63456345msgid "Templates list navigation"
    63466346msgstr ""
    63476347
    63486348#: includes/addons/wl_testimonial.php:205
    63496349#: includes/addons/wb_customer_review.php:193
    63506350#: includes/addons/wl_recently_viewed_products.php:85
    63516351#: includes/addons/wl_category_grid.php:261
    63526352msgid "Ten"
    63536353msgstr ""
    63546354
    63556355#: classes/class.widgets_control.php:292 includes/addons/wl_testimonial.php:45
    63566356#: woolentor-blocks/includes/classes/Blocks_List.php:110
    63576357#: woolentor-blocks/production/includes/classes/Blocks_List.php:110
    63586358msgid "Testimonial"
    63596359msgstr ""
    63606360
    63616361#: includes/addons/wb_wishsuite_counter.php:142
    63626362#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:53
    63636363#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:218
    63646364#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:328
    63656365msgid "Text"
    63666366msgstr ""
    63676367
    63686368#: includes/addons/wb_wishsuite_counter.php:45
    63696369msgid "Text after \"Wishlist\" icon"
    63706370msgstr ""
    63716371
    63726372#: includes/addons/wb_product_short_description.php:82
    63736373#: includes/addons/wl_breadcrumbs.php:101
    63746374#: includes/addons/wb_product_meta.php:50
    63756375#: includes/addons/wb_product_data_tab.php:102
    63766376#: includes/addons/wb_product_data_tab.php:194
    63776377#: includes/addons/wb_product_data_tab.php:272
    63786378#: includes/addons/wb_archive_product.php:822
    63796379#: includes/addons/wb_product_call_for_price.php:92
    63806380#: includes/addons/wb_product_call_for_price.php:177
    63816381#: includes/addons/wb_product_description.php:80
    63826382#: includes/addons/wb_product_suggest_price.php:200
    63836383#: includes/addons/wb_product_suggest_price.php:302
    63846384#: includes/addons/wb_product_suggest_price.php:565
    63856385#: includes/addons/wb_product_suggest_price.php:650
    63866386#: includes/addons/wb_product_suggest_price.php:708
    63876387#: includes/addons/wb_product_suggest_price.php:793
    63886388#: includes/addons/wb_product_stock.php:51
    63896389#: includes/addons/wb_product_add_to_cart.php:1050
    63906390#: includes/addons/wb_product_add_to_cart.php:1139
    63916391#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:184
    63926392msgid "Text Color"
    63936393msgstr ""
    63946394
    63956395#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:302
    63966396msgid "Text to show after link is copied"
    63976397msgstr ""
    63986398
    63996399#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:365
    64006400msgid "Text will be displayed if user don't add any products to compare"
    64016401msgstr ""
    64026402
    64036403#: includes/addons/wb_product_suggest_price.php:294
    64046404msgid "Textarea"
    64056405msgstr ""
    64066406
    64076407#: includes/addons/wb_product_suggest_price.php:167
    64086408#: includes/addons/wb_product_suggest_price.php:168
    64096409msgid "Thank you for contacting with us"
    64106410msgstr ""
    64116411
    64126412#: includes/admin/include/diagnostic-data.php:518
    64136413#, php-format
    64146414msgid "Thank you very much for supporting %2$s%1$s%3$s."
    64156415msgstr ""
    64166416
    64176417#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:123
    64186418msgid "The attribute with Maximum variations count"
    64196419msgstr ""
    64206420
    64216421#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:124
    64226422msgid "The attribute with Minimum variations count"
    64236423msgstr ""
    64246424
    64256425#: includes/addons/wl_faq.php:163
    64266426msgid "The Basics Of Western Astrology Explained"
    64276427msgstr ""
    64286428
    64296429#: woolentor-blocks/includes/classes/Block_Patterns_Init.php:121
    64306430#: woolentor-blocks/production/includes/classes/Block_Patterns_Init.php:121
    64316431#, php-format
    64326432msgid ""
    64336433"The block pattern fails to register because the \"Slug\" field is missing in "
    64346434"this pattern \"%s\""
    64356435msgstr ""
    64366436
    64376437#: woolentor-blocks/includes/classes/Block_Patterns_Init.php:136
    64386438#: woolentor-blocks/production/includes/classes/Block_Patterns_Init.php:136
    64396439#, php-format
    64406440msgid ""
    64416441"The block pattern fails to register because the \"Title\" field is missing "
    64426442"in this pattern \"%s\""
    64436443msgstr ""
    64446444
    64456445#: classes/class.default_data.php:288
    64466446msgid "The description does not set this product."
    64476447msgstr ""
    64486448
    64496449#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:122
    64506450msgid "The First attribute"
    64516451msgstr ""
    64526452
    64536453#: includes/addons/wl_testimonial.php:463 includes/addons/product_tabs.php:616
    64546454#: includes/addons/wl_category_grid.php:488
    64556455msgid "The resolution to mobile."
    64566456msgstr ""
    64576457
    64586458#: includes/addons/wl_testimonial.php:422 includes/addons/product_tabs.php:573
    64596459#: includes/addons/wl_category_grid.php:447
    64606460msgid "The resolution to the tablet."
    64616461msgstr ""
    64626462
    64636463#: classes/class.default_data.php:275
    64646464msgid "The short description does not set this product."
    64656465msgstr ""
    64666466
    64676467#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:412
    64686468msgid "Theme"
    64696469msgstr ""
    64706470
    64716471#: includes/admin/include/template-library.php:351
    64726472msgid "Theme Activated"
    64736473msgstr ""
    64746474
    64756475#: includes/modules/shopify-like-checkout/class.shopify-like-checkout.php:308
    64766476#: includes/modules/shopify-like-checkout/templates/cart-shipping.php:53
    64776477msgid ""
    64786478"There are no shipping options available. Please ensure that your address has "
    64796479"been entered correctly, or contact us if you need any help."
    64806480msgstr ""
    64816481
    64826482#: includes/modules/currency-switcher/includes/classes/Admin/Fields.php:126
    64836483msgid "This is a pro features"
    64846484msgstr ""
    64856485
    64866486#: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:839
    64876487#: includes/modules/variation-swatch/includes/Frontend/Woo_Config.php:921
    64886488msgid "This product is currently out of stock and unavailable."
    64896489msgstr ""
    64906490
    64916491#: includes/addons/product_accordion.php:210
    64926492msgid "This text effect only for simple product."
    64936493msgstr ""
    64946494
    64956495#: includes/addons/wl_testimonial.php:198
    64966496#: includes/addons/wb_customer_review.php:186
    64976497#: includes/addons/wl_recently_viewed_products.php:78
    64986498#: includes/addons/wl_category_grid.php:254
    64996499msgid "Three"
    65006500msgstr ""
    65016501
    65026502#: includes/addons/product_flash_sale.php:222
    65036503msgid "Thumbnail Bottom"
    65046504msgstr ""
    65056505
    65066506#: includes/addons/product_flash_sale.php:214
    65076507msgid "Thumbnail Left"
    65086508msgstr ""
    65096509
    65106510#: includes/addons/product_flash_sale.php:218
    65116511msgid "Thumbnail Right"
    65126512msgstr ""
    65136513
    65146514#: includes/addons/wb_product_image.php:89
    65156515#: includes/addons/wl_product_video_gallery.php:163
    65166516msgid "Thumbnails"
    65176517msgstr ""
    65186518
    65196519#: includes/addons/wb_product_image.php:98
    65206520msgid "Thumbnails Border"
    65216521msgstr ""
    65226522
    65236523#: includes/addons/wl_product_video_gallery.php:57
    65246524msgid "Thumbnails Position"
    65256525msgstr ""
    65266526
    6527 #: includes/helper-function.php:1274 includes/addons/wl_faq.php:68
     6527#: includes/helper-function.php:1288 includes/addons/wl_faq.php:68
    65286528#: includes/addons/wl_faq.php:342 includes/addons/product_flash_sale.php:136
    65296529#: includes/addons/product_flash_sale.php:772
    65306530#: includes/addons/wl_product_horizontal_filter.php:249
    65316531#: includes/addons/wl_product_horizontal_filter.php:422
    65326532#: includes/addons/wl_onepage_slider.php:73
    65336533#: includes/addons/wl_onepage_slider.php:211
    65346534#: includes/addons/wb_product_upsell.php:67
    65356535#: includes/addons/special_day_offer.php:86
    65366536#: includes/addons/special_day_offer.php:325
    65376537#: includes/addons/wl_store_features.php:108
    65386538#: includes/addons/wl_store_features.php:455
    65396539#: includes/addons/wb_archive_product.php:128
    65406540#: includes/addons/wb_archive_product.php:310
    65416541#: includes/addons/wl_archive_title.php:135
    65426542#: includes/addons/product_image_accordion.php:149
    65436543#: includes/addons/wb_product_related.php:82
    65446544#: includes/addons/product_accordion.php:170
    65456545#: includes/addons/wl_category.php:340 includes/addons/product_curvy.php:205
    65466546#: includes/addons/wl_product_filter.php:94
    65476547#: includes/addons/wl_product_filter.php:180
    65486548#: includes/addons/wb_image_marker.php:304
    65496549#: includes/addons/wl_recently_viewed_products.php:307
    65506550#: includes/addons/wb_wishsuite_table.php:135
    65516551#: includes/addons/product_tabs.php:164 includes/addons/product_tabs.php:954
    65526552#: includes/addons/add_banner.php:147 includes/addons/wl_category_grid.php:602
    65536553msgid "Title"
    65546554msgstr ""
    65556555
    65566556#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:327
    65576557msgid "title"
    65586558msgstr ""
    65596559
    65606560#: includes/addons/product_accordion.php:385
    65616561msgid "Title Area"
    65626562msgstr ""
    65636563
    65646564#: includes/addons/product_flash_sale.php:420
    65656565#: includes/addons/wl_archive_title.php:144
    65666566#: includes/addons/product_image_accordion.php:374
    65676567#: includes/addons/product_accordion.php:415
    65686568#: includes/addons/product_curvy.php:427 includes/addons/product_curvy.php:441
    65696569#: includes/addons/wb_product_categories.php:95
    65706570#: includes/addons/wb_product_title.php:70
    65716571#: includes/addons/wb_product_sku.php:95
    65726572#: includes/addons/wb_wishsuite_table.php:292
    65736573#: includes/addons/wb_product_tags.php:95
    65746574msgid "Title Color"
    65756575msgstr ""
    65766576
    65776577#: includes/addons/product_tabs.php:1000 includes/addons/product_tabs.php:1082
    65786578msgid "Title color"
    65796579msgstr ""
    65806580
    65816581#: includes/addons/product_flash_sale.php:441
    65826582#: includes/addons/product_image_accordion.php:386
    65836583#: includes/addons/product_curvy.php:456
    65846584msgid "Title Hover Color"
    65856585msgstr ""
    65866586
    65876587#: includes/addons/wl_archive_title.php:50
    65886588#: includes/addons/wb_product_title.php:49
    65896589#: includes/addons/wl_recently_viewed_products.php:179
    65906590msgid "Title HTML Tag"
    65916591msgstr ""
    65926592
    65936593#: includes/modules/ajax-search/widget-product-search-ajax.php:41
    65946594msgid "Title:"
    65956595msgstr ""
    65966596
    65976597#: includes/addons/wl_product_horizontal_filter.php:214
    65986598#: includes/addons/wl_product_horizontal_filter.php:229
    65996599msgid "to"
    66006600msgstr ""
    66016601
    66026602#: includes/addons/product_flash_sale.php:1224
    66036603msgid "To show the stock progress bar. Set the initial stock amount from"
    66046604msgstr ""
    66056605
    66066606#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:71
    66076607#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:235
    66086608#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:345
    66096609msgid "Tooltip Image"
    66106610msgstr ""
    66116611
    66126612#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:256
    66136613#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:366
    66146614msgid "Tooltip Image Size"
    66156615msgstr ""
    66166616
    66176617#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:63
    66186618#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:227
    66196619#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:337
    66206620msgid "Tooltip Text"
    66216621msgstr ""
    66226622
    66236623#: includes/addons/special_day_offer.php:54
    66246624#: includes/addons/wl_product_video_gallery.php:69
    66256625#: includes/admin/include/template-library/templates_list.php:54
    66266626#: includes/admin/include/template-library/templates_list.php:57
    66276627#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:411
    66286628#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:474
    66296629#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:488
    66306630#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:502
    66316631#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:523
    66326632#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:553
    66336633msgid "Top"
    66346634msgstr ""
    66356635
    66366636#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:97
    66376637msgid "Top On Image"
    66386638msgstr ""
    66396639
    6640 #: includes/helper-function.php:1280
     6640#: includes/helper-function.php:1294
    66416641msgid "Top Rated"
    66426642msgstr ""
    66436643
    66446644#: includes/addons/product_image_accordion.php:70
    66456645#: includes/addons/product_accordion.php:91
    66466646#: includes/addons/product_curvy.php:126 includes/addons/product_tabs.php:83
    66476647msgid "Top Rated Products"
    66486648msgstr ""
    66496649
    6650 #: includes/helper-function.php:1279
     6650#: includes/helper-function.php:1293
    66516651msgid "Top Seller"
    66526652msgstr ""
    66536653
    66546654#: includes/modules/shopify-like-checkout/templates/review-order.php:58
    66556655msgid "Total"
    66566656msgstr ""
    66576657
    66586658#: includes/modules/popup-builder/includes/class-repeater-helper.php:321
    66596659msgid "Total price is greater than X ammount"
    66606660msgstr ""
    66616661
    66626662#: includes/modules/popup-builder/includes/class-repeater-helper.php:322
    66636663msgid "Total price is Less than X ammount"
    66646664msgstr ""
    66656665
    66666666#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:109
    66676667msgid "Triggers"
    66686668msgstr ""
    66696669
    66706670#: includes/addons/wl_testimonial.php:197
    66716671#: includes/addons/wb_customer_review.php:185
    66726672#: includes/addons/wl_recently_viewed_products.php:77
    66736673#: includes/addons/wl_category_grid.php:253
    66746674msgid "Two"
    66756675msgstr ""
    66766676
    66776677#: includes/admin/include/class.template-manager.php:96
    66786678#: includes/admin/include/class.template-manager.php:456
    66796679#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:555
    66806680msgid "Type"
    66816681msgstr ""
    66826682
    66836683#: includes/addons/wl_onepage_slider.php:105
    66846684msgid "Type your button link here"
    66856685msgstr ""
    66866686
    66876687#: includes/addons/wl_onepage_slider.php:95
    66886688msgid "Type your button text here"
    66896689msgstr ""
    66906690
    66916691#: includes/addons/product_image_accordion.php:192
    66926692#: includes/addons/product_accordion.php:213
    66936693msgid "Type your cart button text"
    66946694msgstr ""
    66956695
    66966696#: includes/addons/wl_faq.php:71
    66976697msgid "Type your faq title here"
    66986698msgstr ""
    66996699
    67006700#: includes/addons/wl_onepage_slider.php:85
    67016701msgid "Type your sub title here"
    67026702msgstr ""
    67036703
    67046704#: includes/addons/wl_onepage_slider.php:75 includes/addons/wl_brand.php:77
    67056705msgid "Type your title here"
    67066706msgstr ""
    67076707
    67086708#: includes/addons/wl_faq.php:452 includes/addons/wl_faq.php:565
    67096709#: includes/addons/wb_product_short_description.php:95
    67106710#: includes/addons/wb_product_price.php:63
    67116711#: includes/addons/wb_product_price.php:104
    67126712#: includes/addons/wb_wishsuite_counter.php:168
    67136713#: includes/addons/wl_product_horizontal_filter.php:445
    67146714#: includes/addons/wl_product_horizontal_filter.php:512
    67156715#: includes/addons/wl_product_horizontal_filter.php:598
    67166716#: includes/addons/wb_wc_multicurrency.php:90
    67176717#: includes/addons/wl_onepage_slider.php:232
    67186718#: includes/addons/wl_onepage_slider.php:274
    67196719#: includes/addons/wl_onepage_slider.php:338
    67206720#: includes/addons/wb_product_upsell.php:132
    67216721#: includes/addons/special_day_offer.php:349
    67226722#: includes/addons/special_day_offer.php:408
    67236723#: includes/addons/special_day_offer.php:467
    67246724#: includes/addons/special_day_offer.php:526
    67256725#: includes/addons/special_day_offer.php:585
    67266726#: includes/addons/special_day_offer.php:652
    67276727#: includes/addons/wb_product_meta.php:84
    67286728#: includes/addons/wl_store_features.php:478
    67296729#: includes/addons/wl_store_features.php:524
    67306730#: includes/addons/wb_product_data_tab.php:137
    67316731#: includes/addons/wb_product_data_tab.php:229
    67326732#: includes/addons/wb_product_data_tab.php:264 includes/addons/wb_whols.php:68
    67336733#: includes/addons/wb_archive_catalog_ordering.php:53
    67346734#: includes/addons/wb_product_related.php:144
    67356735#: includes/addons/wb_product_call_for_price.php:104
    67366736#: includes/addons/wb_archive_result_count.php:71
    67376737#: includes/addons/wb_product_description.php:92
    67386738#: includes/addons/wl_category.php:373 includes/addons/product_curvy.php:592
    67396739#: includes/addons/wb_just_table.php:87
    67406740#: includes/addons/wb_product_categories.php:52
    67416741#: includes/addons/wb_product_suggest_price.php:577
    67426742#: includes/addons/wb_product_suggest_price.php:720
    67436743#: includes/addons/wb_product_title.php:82
    67446744#: includes/addons/wl_product_filter.php:203
    67456745#: includes/addons/wl_product_filter.php:289
    67466746#: includes/addons/wl_product_filter.php:456
    67476747#: includes/addons/wb_product_sku.php:52
    67486748#: includes/addons/wb_product_stock.php:63
    67496749#: includes/addons/wb_wishsuite_table.php:108
    67506750#: includes/addons/wb_wishsuite_table.php:145
    67516751#: includes/addons/wb_wishsuite_table.php:185
    67526752#: includes/addons/wb_wishsuite_table.php:224
    67536753#: includes/addons/wb_wishsuite_table.php:303
    67546754#: includes/addons/wb_wishsuite_table.php:356
    67556755#: includes/addons/wb_product_add_to_cart.php:153
    67566756#: includes/addons/wb_product_add_to_cart.php:1063
    67576757#: includes/addons/wb_ever_compare_table.php:88
    67586758#: includes/addons/wb_product_additional_information.php:91
    67596759#: includes/addons/wb_product_additional_information.php:137
    67606760#: includes/addons/add_banner.php:180 includes/addons/add_banner.php:210
    67616761#: includes/addons/add_banner.php:264 includes/addons/wl_category_grid.php:664
    67626762#: includes/addons/wl_category_grid.php:710
    67636763#: includes/addons/wl_category_grid.php:790
    67646764#: includes/addons/wb_product_tags.php:52
    67656765#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:197
    67666766#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:148
    67676767#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:237
    67686768msgid "Typography"
    67696769msgstr ""
    67706770
    67716771#: includes/addons/product_flash_sale.php:1270
    67726772msgid "Unfortunately, no products were found in the deal you selected."
    67736773msgstr ""
    67746774
    67756775#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:478
    67766776#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:492
    67776777#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:506
    67786778#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:527
    67796779#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:557
    67806780msgid "Unit"
    67816781msgstr ""
    67826782
    67836783#: classes/class.widgets_control.php:220
    67846784msgid "Universal Product"
    67856785msgstr ""
    67866786
    67876787#: includes/addons/product_flash_sale.php:52
    67886788msgid "Unnamed Deal"
    67896789msgstr ""
    67906790
    67916791#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:133
    67926792msgid "Up"
    67936793msgstr ""
    67946794
    67956795#: includes/admin/include/class.template_cpt.php:57
    67966796msgid "Update Template"
    67976797msgstr ""
    67986798
    67996799#: includes/admin/templates/dashboard-freevspro.php:204
    68006800msgid "Upgrade Now"
    68016801msgstr ""
    68026802
    68036803#: includes/admin/admin-init.php:129 includes/admin/admin-init.php:130
    68046804msgid "Upgrade to Pro"
    68056805msgstr ""
    68066806
    68076807#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:264
    68086808#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:227
    68096809#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:252
    68106810msgid "Upload"
    68116811msgstr ""
    68126812
    68136813#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:264
    68146814msgid "Upload Image"
    68156815msgstr ""
    68166816
    68176817#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:230
    68186818msgid "Upload you custom icon from here."
    68196819msgstr ""
    68206820
    68216821#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:247
    68226822#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:357
    68236823#: includes/modules/variation-swatch/includes/Admin/Product_Metabox.php:407
    68246824msgid "Upload/Add image"
    68256825msgstr ""
    68266826
    68276827#: includes/admin/include/class.template_cpt.php:68
    68286828msgid "Uploaded to this Template"
    68296829msgstr ""
    68306830
    68316831#: includes/addons/wb_product_upsell.php:43
    68326832msgid "Upsells"
    68336833msgstr ""
    68346834
    68356835#: classes/class.widgets_control.php:778
    68366836#, php-format
    68376837msgid ""
    68386838"Use %s widget and numerous advanced features to enhance the functionality of "
    68396839"build quickview."
    68406840msgstr ""
    68416841
    68426842#: classes/class.widgets_control.php:771
    68436843#, php-format
    68446844msgid ""
    68456845"Use %s widget and numerous advanced features to enhance the functionality of "
    68466846"build side mini cart template."
    68476847msgstr ""
    68486848
    68496849#: classes/class.widgets_control.php:603
    68506850#, php-format
    68516851msgid ""
    68526852"Use %s widget and numerous advanced features to enhance the functionality of "
    68536853"your cart / empty cart page."
    68546854msgstr ""
    68556855
    68566856#: classes/class.widgets_control.php:568 classes/class.widgets_control.php:575
    68576857#: classes/class.widgets_control.php:582 classes/class.widgets_control.php:589
    68586858#, php-format
    68596859msgid ""
    68606860"Use %s widget and numerous advanced features to enhance the functionality of "
    68616861"your cart page."
    68626862msgstr ""
    68636863
    68646864#: classes/class.widgets_control.php:610 classes/class.widgets_control.php:617
    68656865#: classes/class.widgets_control.php:624 classes/class.widgets_control.php:631
    68666866#: classes/class.widgets_control.php:638 classes/class.widgets_control.php:645
    68676867#: classes/class.widgets_control.php:652 classes/class.widgets_control.php:659
    68686868#, php-format
    68696869msgid ""
    68706870"Use %s widget and numerous advanced features to enhance the functionality of "
    68716871"your checkout page."
    68726872msgstr ""
    68736873
    68746874#: classes/class.widgets_control.php:596
    68756875#, php-format
    68766876msgid ""
    68776877"Use %s widget and numerous advanced features to enhance the functionality of "
    68786878"your empty cart page."
    68796879msgstr ""
    68806880
    68816881#: classes/class.widgets_control.php:666 classes/class.widgets_control.php:673
    68826882#: classes/class.widgets_control.php:680 classes/class.widgets_control.php:687
    68836883#: classes/class.widgets_control.php:694 classes/class.widgets_control.php:701
    68846884#: classes/class.widgets_control.php:708 classes/class.widgets_control.php:715
    68856885#: classes/class.widgets_control.php:722 classes/class.widgets_control.php:729
    68866886#: classes/class.widgets_control.php:736 classes/class.widgets_control.php:743
    68876887#, php-format
    68886888msgid ""
    68896889"Use %s widget and numerous advanced features to enhance the functionality of "
    68906890"your myaccount page."
    68916891msgstr ""
    68926892
    68936893#: classes/class.widgets_control.php:505
    68946894#, php-format
    68956895msgid ""
    68966896"Use %s widget and numerous advanced features to enhance the functionality of "
    68976897"your shop page template."
    68986898msgstr ""
    68996899
    69006900#: classes/class.widgets_control.php:498
    69016901#, php-format
    69026902msgid ""
    69036903"Use %s widget and numerous advanced features to enhance the functionality of "
    69046904"your shop/archive page template filter widget."
    69056905msgstr ""
    69066906
    69076907#: classes/class.widgets_control.php:512
    69086908#, php-format
    69096909msgid ""
    69106910"Use %s widget and numerous advanced features to enhance the functionality of "
    69116911"your single product page template image widget."
    69126912msgstr ""
    69136913
    69146914#: classes/class.widgets_control.php:519
    69156915#, php-format
    69166916msgid ""
    69176917"Use %s widget and numerous advanced features to enhance the functionality of "
    69186918"your single product page template image."
    69196919msgstr ""
    69206920
    69216921#: classes/class.widgets_control.php:547
    69226922#, php-format
    69236923msgid ""
    69246924"Use %s widget and numerous advanced features to enhance the functionality of "
    69256925"your single product page template related product widget."
    69266926msgstr ""
    69276927
    69286928#: classes/class.widgets_control.php:554
    69296929#, php-format
    69306930msgid ""
    69316931"Use %s widget and numerous advanced features to enhance the functionality of "
    69326932"your single product page template upsell product widget."
    69336933msgstr ""
    69346934
    69356935#: classes/class.widgets_control.php:526 classes/class.widgets_control.php:533
    69366936#: classes/class.widgets_control.php:540 classes/class.widgets_control.php:561
    69376937#, php-format
    69386938msgid ""
    69396939"Use %s widget and numerous advanced features to enhance the functionality of "
    69406940"your single product page template."
    69416941msgstr ""
    69426942
    69436943#: classes/class.widgets_control.php:750 classes/class.widgets_control.php:757
    69446944#: classes/class.widgets_control.php:764
    69456945#, php-format
    69466946msgid ""
    69476947"Use %s widget and numerous advanced features to enhance the functionality of "
    69486948"your thankyou page."
    69496949msgstr ""
    69506950
    69516951#: includes/admin/include/class.template_cpt.php:66
    69526952msgid "Use as featured image"
    69536953msgstr ""
    69546954
    69556955#: includes/modules/variation-swatch/includes/Admin/Attribute_Taxonomy_Metabox.php:52
    69566956msgid "Use Global Setting"
    69576957msgstr ""
    69586958
    69596959#: includes/modules/variation-swatch/includes/Admin.php:52
    69606960msgid "Use image"
    69616961msgstr ""
    69626962
    69636963#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:98
    69646964#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:146
    69656965msgid "Use Shortcode"
    69666966msgstr ""
    69676967
    69686968#: includes/modules/shopify-like-checkout/templates/form-login.php:24
    69696969#: includes/modules/shopify-like-checkout/templates/form-login.php:25
    69706970msgid "Username or email"
    69716971msgstr ""
    69726972
    69736973#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:410
    69746974msgid "Value"
    69756975msgstr ""
    69766976
    69776977#: includes/addons/wb_archive_result_count.php:103
    69786978#: includes/addons/wb_product_categories.php:109
    69796979#: includes/addons/wb_product_sku.php:109
    69806980#: includes/addons/wb_product_tags.php:109
    69816981msgid "Value Color"
    69826982msgstr ""
    69836983
    69846984#: includes/addons/wb_product_categories.php:121
    69856985#: includes/addons/wb_product_tags.php:121
    69866986msgid "Value Hover Color"
    69876987msgstr ""
    69886988
    69896989#: includes/admin/templates/dashboard-freevspro.php:129
    69906990msgid "Variation Swatches"
    69916991msgstr ""
    69926992
    69936993#: includes/addons/special_day_offer.php:227
    69946994#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:483
    69956995msgid "Vertical Position"
    69966996msgstr ""
    69976997
    69986998#: woolentor-blocks/src/blocks/product-reviews/index.php:42
    69996999#: woolentor-blocks/production/src/blocks/product-reviews/index.php:42
    70007000msgid "Very poor"
    70017001msgstr ""
    70027002
    70037003#: includes/class.product_video_gallery.php:27
    70047004msgid "Video"
    70057005msgstr ""
    70067006
    70077007#: includes/addons/wl_onepage_slider.php:113
    70087008#: includes/addons/wl_onepage_slider.php:378
    70097009msgid "Video Button"
    70107010msgstr ""
    70117011
    70127012#: includes/addons/wl_onepage_slider.php:133
    70137013msgid "Video Icon"
    70147014msgstr ""
    70157015
    70167016#: includes/addons/wl_onepage_slider.php:121
    70177017msgid "Video Link"
    70187018msgstr ""
    70197019
    70207020#: includes/addons/wl_product_video_gallery.php:49
    70217021msgid "Video Thumbnails"
    70227022msgstr ""
    70237023
    70247024#: includes/admin/templates/dashboard-welcome.php:30
    70257025#: includes/admin/templates/dashboard-welcome.php:32
    70267026msgid "Video Tutorial"
    70277027msgstr ""
    70287028
    70297029#: includes/modules/variation-swatch/includes/ajax-actions.php:90
    70307030msgid "View Cart"
    70317031msgstr ""
    70327032
    70337033#: includes/modules/backorder/class.backorder.php:195
    70347034msgid "View cart"
    70357035msgstr ""
    70367036
    70377037#: includes/admin/include/class.template_cpt.php:58
    70387038msgid "View Template"
    70397039msgstr ""
    70407040
    70417041#: includes/admin/include/class.template_cpt.php:59
    70427042msgid "View Templates"
    70437043msgstr ""
    70447044
    70457045#: classes/class.widgets_control.php:456
    70467046msgid "WC Multicurrency"
    70477047msgstr ""
    70487048
    70497049#: includes/admin/templates/dashboard-welcome.php:31
    70507050msgid ""
    70517051"We create videos to make our customers comprehend the product quickly. Using "
    70527052"video tutorials is a fantastic method to learn how to use our plugins. We've "
    70537053"compiled a list of videos for you."
    70547054msgstr ""
    70557055
    70567056#: includes/admin/templates/dashboard-welcome.php:20
    70577057msgid ""
    70587058"We've organized the documentation and kept it up to date on a regular basis. "
    70597059"This manual will assist you in using our plugin effectively."
    70607060msgstr ""
    70617061
    70627062#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:334
    70637063msgid "weight"
    70647064msgstr ""
    70657065
    70667066#: includes/admin/templates/dashboard-welcome.php:8
    70677067msgid "Welcome To WooLentor"
    70687068msgstr ""
    70697069
    70707070#: includes/addons/wl_faq.php:168
    70717071msgid "What Curling Irons Are The Best Ones"
    70727072msgstr ""
    70737073
    70747074#: includes/addons/product_tabs.php:220
    70757075msgid "When the product tab is off, Then working slider."
    70767076msgstr ""
    70777077
    70787078#: classes/class.widgets_control.php:449
    70797079#: includes/admin/include/class.extension-manager.php:67
    70807080msgid "Whols"
    70817081msgstr ""
    70827082
    70837083#: includes/admin/include/class.extension-manager.php:99
    70847084msgid ""
    70857085"Whols is an outstanding WordPress plugin for WooCommerce that allows store "
    70867086"owners to set wholesale prices for the products of their online stores. This "
    70877087"plugin enables you to show special wholesale prices to the wholesaler. Users "
    70887088"can easily request to become a wholesale customer by filling out a simple "
    70897089"online registration form. Once the registration is complete, the owner of "
    70907090"the store will be able to review the request and approve the request either "
    70917091"manually or automatically."
    70927092msgstr ""
    70937093
    70947094#: includes/admin/include/class.extension-manager.php:96
    70957095msgid "Whols Pro – WooCommerce Wholesale Prices"
    70967096msgstr ""
    70977097
    70987098#: woolentor-blocks/includes/classes/Manage_Styles.php:127
    70997099#: woolentor-blocks/production/includes/classes/Manage_Styles.php:127
    71007100msgid "Widget CSS Saved."
    71017101msgstr ""
    71027102
    71037103#: includes/addons/wl_onepage_slider.php:433
    71047104#: includes/addons/wl_onepage_slider.php:507
    71057105#: includes/addons/special_day_offer.php:173
    71067106#: includes/addons/wb_product_add_to_cart.php:806
    71077107#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:434
    71087108#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:384
    71097109msgid "Width"
    71107110msgstr ""
    71117111
    71127112#: includes/admin/templates/dashboard-freevspro.php:121
    71137113#: includes/modules/wishlist/includes/classes/Admin/Dashboard.php:65
    71147114#: includes/modules/wishlist/includes/classes/Admin/Dashboard.php:66
    71157115msgid "Wishlist"
    71167116msgstr ""
    71177117
    71187118#: includes/addons/wb_product_add_to_cart.php:566
    71197119#: includes/addons/wb_product_add_to_cart.php:660
    71207120msgid "Wishlist Background Color"
    71217121msgstr ""
    71227122
    71237123#: includes/addons/wb_product_add_to_cart.php:551
    71247124#: includes/addons/wb_product_add_to_cart.php:645
    71257125msgid "Wishlist Icon Color"
    71267126msgstr ""
    71277127
    71287128#: includes/addons/wb_wishsuite_table.php:49
    71297129msgid "WishSuite"
    71307130msgstr ""
    71317131
    71327132#: classes/class.widgets_control.php:428
    71337133#: includes/addons/wb_wishsuite_counter.php:38
    71347134msgid "WishSuite Counter"
    71357135msgstr ""
    71367136
    71377137#: classes/class.widgets_control.php:424
    71387138msgid "WishSuite Table"
    71397139msgstr ""
    71407140
    71417141#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:231
    71427142msgid "Within (%)"
    71437143msgstr ""
    71447144
    71457145#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:201
    71467146#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:290
    71477147msgid "Within (sec)"
    71487148msgstr ""
    71497149
    71507150#: includes/modules/variation-swatch/includes/Admin/Woo_Config.php:32
    71517151msgid "WL Color"
    71527152msgstr ""
    71537153
    71547154#: includes/modules/variation-swatch/includes/Admin/Woo_Config.php:33
    71557155msgid "WL Image"
    71567156msgstr ""
    71577157
    71587158#: includes/modules/variation-swatch/includes/Admin/Woo_Config.php:31
    71597159msgid "WL Label"
    71607160msgstr ""
    71617161
    71627162#: includes/addons/add_banner.php:13
    71637163msgid "WL: Add Banner"
    71647164msgstr ""
    71657165
    71667166#: includes/addons/wb_product_add_to_cart.php:13
    71677167msgid "WL: Add To cart"
    71687168msgstr ""
    71697169
    71707170#: classes/class.widgets_control.php:495
    71717171msgid "WL: Advance Product Filter"
    71727172msgstr ""
    71737173
    71747174#: classes/class.widgets_control.php:509
    71757175msgid "WL: Advance Product Image"
    71767176msgstr ""
    71777177
    71787178#: includes/addons/wb_archive_catalog_ordering.php:13
    71797179msgid "WL: Archive Catalog Ordering"
    71807180msgstr ""
    71817181
    71827182#: includes/addons/wb_archive_result_count.php:13
    71837183msgid "WL: Archive Result Count"
    71847184msgstr ""
    71857185
    71867186#: includes/addons/wl_archive_title.php:13
    71877187msgid "WL: Archive Title"
    71887188msgstr ""
    71897189
    71907190#: classes/class.widgets_control.php:530
    71917191msgid "WL: Available Stock Progressbar"
    71927192msgstr ""
    71937193
    71947194#: includes/addons/wl_brand.php:13
    71957195msgid "WL: Brand Logo"
    71967196msgstr ""
    71977197
    71987198#: includes/addons/wl_breadcrumbs.php:13
    71997199msgid "WL: Breadcrumbs"
    72007200msgstr ""
    72017201
    72027202#: includes/addons/wb_product_call_for_price.php:13
    72037203msgid "WL: Call For Price"
    72047204msgstr ""
    72057205
    72067206#: classes/class.widgets_control.php:565
    72077207msgid "WL: Cart Table"
    72087208msgstr ""
    72097209
    72107210#: classes/class.widgets_control.php:572
    72117211msgid "WL: Cart Table(List Style)"
    72127212msgstr ""
    72137213
    72147214#: classes/class.widgets_control.php:579
    72157215msgid "WL: Cart Total"
    72167216msgstr ""
    72177217
    72187218#: includes/addons/wl_category_grid.php:12
    72197219msgid "WL: Category Grid"
    72207220msgstr ""
    72217221
    72227222#: includes/addons/wl_category.php:13
    72237223msgid "WL: Category List"
    72247224msgstr ""
    72257225
    72267226#: classes/class.widgets_control.php:621
    72277227msgid "WL: Checkout Additional info Form"
    72287228msgstr ""
    72297229
    72307230#: classes/class.widgets_control.php:607
    72317231msgid "WL: Checkout Billing Form"
    72327232msgstr ""
    72337233
    72347234#: classes/class.widgets_control.php:642
    72357235msgid "WL: Checkout Payment Method"
    72367236msgstr ""
    72377237
    72387238#: classes/class.widgets_control.php:614
    72397239msgid "WL: Checkout Shipping Form"
    72407240msgstr ""
    72417241
    72427242#: classes/class.widgets_control.php:649
    72437243msgid "WL: Checkout Shipping Method"
    72447244msgstr ""
    72457245
    72467246#: classes/class.widgets_control.php:628
    72477247msgid "WL: Coupon Form"
    72487248msgstr ""
    72497249
    72507250#: classes/class.widgets_control.php:586
    72517251msgid "WL: Cross Sell"
    72527252msgstr ""
    72537253
    72547254#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:12
    72557255msgid "WL: Currency Switcher"
    72567256msgstr ""
    72577257
    72587258#: classes/class.widgets_control.php:747
    72597259msgid "WL: Customer Address Details"
    72607260msgstr ""
    72617261
    72627262#: includes/addons/wb_customer_review.php:13
    72637263msgid "WL: Customer Review"
    72647264msgstr ""
    72657265
    72667266#: classes/class.widgets_control.php:593
    72677267msgid "WL: Empty Cart Message"
    72687268msgstr ""
    72697269
    72707270#: includes/addons/wb_ever_compare_table.php:13
    72717271msgid "WL: EverCompare"
    72727272msgstr ""
    72737273
    72747274#: includes/addons/wl_faq.php:13
    72757275msgid "WL: FAQ"
    72767276msgstr ""
    72777277
    72787278#: classes/class.widgets_control.php:489
    72797279msgid "WL: Filterable Product Grid"
    72807280msgstr ""
    72817281
    72827282#: includes/addons/wb_image_marker.php:13
    72837283msgid "WL: Image Marker"
    72847284msgstr ""
    72857285
    72867286#: includes/addons/wb_just_table.php:13
    72877287msgid "WL: JustTable"
    72887288msgstr ""
    72897289
    72907290#: classes/class.widgets_control.php:635
    72917291msgid "WL: Login Form"
    72927292msgstr ""
    72937293
    72947294#: classes/class.widgets_control.php:768
    72957295msgid "WL: Mini Cart"
    72967296msgstr ""
    72977297
    72987298#: includes/addons/wb_wc_multicurrency.php:13
    72997299msgid "WL: Multi Currency"
    73007300msgstr ""
    73017301
    73027302#: classes/class.widgets_control.php:656
    73037303msgid "WL: Multi Step Checkout"
    73047304msgstr ""
    73057305
    73067306#: classes/class.widgets_control.php:663
    73077307msgid "WL: My Account"
    73087308msgstr ""
    73097309
    73107310#: classes/class.widgets_control.php:677
    73117311msgid "WL: My Account Address"
    73127312msgstr ""
    73137313
    73147314#: classes/class.widgets_control.php:670
    73157315msgid "WL: My Account Dashboard"
    73167316msgstr ""
    73177317
    73187318#: classes/class.widgets_control.php:684
    73197319msgid "WL: My Account Download"
    73207320msgstr ""
    73217321
    73227322#: classes/class.widgets_control.php:691
    73237323msgid "WL: My Account Edit"
    73247324msgstr ""
    73257325
    73267326#: classes/class.widgets_control.php:698
    73277327msgid "WL: My Account Login Form"
    73287328msgstr ""
    73297329
    73307330#: classes/class.widgets_control.php:705
    73317331msgid "WL: My Account Logout"
    73327332msgstr ""
    73337333
    73347334#: classes/class.widgets_control.php:712
    73357335msgid "WL: My Account Lost Password Form"
    73367336msgstr ""
    73377337
    73387338#: classes/class.widgets_control.php:719
    73397339msgid "WL: My Account Navigation"
    73407340msgstr ""
    73417341
    73427342#: classes/class.widgets_control.php:726
    73437343msgid "WL: My Account Order"
    73447344msgstr ""
    73457345
    73467346#: classes/class.widgets_control.php:733
    73477347msgid "WL: My Account Register Form"
    73487348msgstr ""
    73497349
    73507350#: classes/class.widgets_control.php:740
    73517351msgid "WL: My Account Reset Password Form"
    73527352msgstr ""
    73537353
    73547354#: includes/addons/wl_onepage_slider.php:12
    73557355msgid "WL: One page slider"
    73567356msgstr ""
    73577357
    73587358#: classes/class.widgets_control.php:754
    73597359msgid "WL: Order Details"
    73607360msgstr ""
    73617361
    73627362#: includes/modules/popup-builder/includes/widgets/wl_popup_trigger_button.php:12
    73637363msgid "WL: Popup Close Trigger Button"
    73647364msgstr ""
    73657365
    73667366#: includes/addons/product_accordion.php:14
    73677367msgid "WL: Product Accordion"
    73687368msgstr ""
    73697369
    73707370#: includes/addons/wb_product_additional_information.php:13
    73717371msgid "WL: Product Additional Information"
    73727372msgstr ""
    73737373
    73747374#: classes/class.widgets_control.php:502
    73757375msgid "WL: Product Archive Layout (Custom)"
    73767376msgstr ""
    73777377
    73787378#: includes/addons/wb_archive_product.php:13
    73797379msgid "WL: Product Archive Layout (Default)"
    73807380msgstr ""
    73817381
    73827382#: includes/addons/wb_product_categories.php:13
    73837383msgid "WL: Product Categories"
    73847384msgstr ""
    73857385
    73867386#: includes/addons/product_curvy.php:14
    73877387msgid "WL: Product Curvy"
    73887388msgstr ""
    73897389
    73907390#: includes/addons/wb_product_data_tab.php:13
    73917391msgid "WL: Product Data Tabs"
    73927392msgstr ""
    73937393
    73947394#: includes/addons/wb_product_description.php:13
    73957395msgid "WL: Product Description"
    73967396msgstr ""
    73977397
    73987398#: classes/class.widgets_control.php:483
    73997399msgid "WL: Product Expanding Grid"
    74007400msgstr ""
    74017401
    74027402#: includes/addons/wl_product_filter.php:13
    74037403msgid "WL: Product Filter"
    74047404msgstr ""
    74057405
    74067406#: classes/class.widgets_control.php:417
    74077407#: includes/addons/product_flash_sale.php:13
    74087408msgid "WL: Product Flash Sale"
    74097409msgstr ""
    74107410
    74117411#: classes/class.widgets_control.php:477
    74127412msgid "WL: Product Grid"
    74137413msgstr ""
    74147414
    74157415#: includes/addons/wl_product_horizontal_filter.php:13
    74167416msgid "WL: Product Horizontal Filter"
    74177417msgstr ""
    74187418
    74197419#: includes/addons/wb_product_image.php:13
    74207420msgid "WL: Product Image"
    74217421msgstr ""
    74227422
    74237423#: includes/addons/product_image_accordion.php:14
    74247424msgid "WL: Product Image Accordion"
    74257425msgstr ""
    74267426
    74277427#: classes/class.widgets_control.php:516
    74287428msgid "WL: Product Image With Zoom"
    74297429msgstr ""
    74307430
    74317431#: includes/addons/wb_product_meta.php:13
    74327432msgid "WL: Product Meta"
    74337433msgstr ""
    74347434
    74357435#: includes/addons/wb_product_price.php:13
    74367436msgid "WL: Product Price"
    74377437msgstr ""
    74387438
    74397439#: includes/addons/wb_product_rating.php:13
    74407440msgid "WL: Product Rating"
    74417441msgstr ""
    74427442
    74437443#: includes/addons/wb_product_reviews.php:13
    74447444msgid "WL: Product Reviews"
    74457445msgstr ""
    74467446
    74477447#: classes/class.widgets_control.php:537
    74487448msgid "WL: Product Sale Schedule"
    74497449msgstr ""
    74507450
    74517451#: includes/addons/wb_product_short_description.php:13
    74527452msgid "WL: Product Short Description"
    74537453msgstr ""
    74547454
    74557455#: includes/addons/wb_product_sku.php:13
    74567456msgid "WL: Product SKU"
    74577457msgstr ""
    74587458
    74597459#: classes/class.widgets_control.php:523
    74607460msgid "WL: Product Social Share"
    74617461msgstr ""
    74627462
    74637463#: includes/addons/wb_product_stock.php:13
    74647464msgid "WL: Product Stock"
    74657465msgstr ""
    74667466
    74677467#: includes/addons/product_tabs.php:13
    74687468msgid "WL: Product Tab"
    74697469msgstr ""
    74707470
    74717471#: includes/addons/wb_product_tags.php:13
    74727472msgid "WL: Product Tags"
    74737473msgstr ""
    74747474
    74757475#: includes/addons/wb_product_title.php:13
    74767476msgid "WL: Product title"
    74777477msgstr ""
    74787478
    74797479#: includes/addons/wb_product_upsell.php:13
    74807480msgid "WL: Product Upsell"
    74817481msgstr ""
    74827482
    74837483#: includes/addons/wl_product_video_gallery.php:13
    74847484msgid "WL: Product Video Gallery"
    74857485msgstr ""
    74867486
    74877487#: includes/addons/wb_product_qr_code.php:13
    74887488msgid "WL: QR Code"
    74897489msgstr ""
    74907490
    74917491#: classes/class.widgets_control.php:775
    74927492msgid "WL: Quickview Product Image"
    74937493msgstr ""
    74947494
    74957495#: includes/addons/wl_recently_viewed_products.php:13
    74967496msgid "WL: Recently Viewed Products"
    74977497msgstr ""
    74987498
    74997499#: includes/addons/wb_product_related.php:13
    75007500msgid "WL: Related Product"
    75017501msgstr ""
    75027502
    75037503#: classes/class.widgets_control.php:544
    75047504msgid "WL: Related Product layout(Custom)"
    75057505msgstr ""
    75067506
    75077507#: classes/class.widgets_control.php:600
    75087508msgid "WL: Return To Shop Button"
    75097509msgstr ""
    75107510
    75117511#: classes/class.widgets_control.php:558
    75127512msgid "WL: Single Product Navigation"
    75137513msgstr ""
    75147514
    75157515#: includes/addons/special_day_offer.php:13
    75167516msgid "WL: Special Day Offer"
    75177517msgstr ""
    75187518
    75197519#: includes/addons/wl_store_features.php:13
    75207520msgid "WL: Store Feature"
    75217521msgstr ""
    75227522
    75237523#: includes/addons/wb_product_suggest_price.php:13
    75247524msgid "WL: Suggest Price"
    75257525msgstr ""
    75267526
    75277527#: includes/addons/wl_testimonial.php:13
    75287528msgid "WL: Testimonial"
    75297529msgstr ""
    75307530
    75317531#: classes/class.widgets_control.php:761
    75327532msgid "WL: Thank You Order"
    75337533msgstr ""
    75347534
    75357535#: woolentor-blocks/src/blocks/universal-product/old_index.php:48
    75367536#: woolentor-blocks/src/blocks/universal-product/sort_index.php:48
    75377537msgid "WL: Universal Product Layout"
    75387538msgstr ""
    75397539
    75407540#: classes/class.widgets_control.php:551
    75417541msgid "WL: Upsell Product layout(Custom)"
    75427542msgstr ""
    75437543
    75447544#: includes/addons/wb_whols.php:13
    75457545msgid "WL: Whols"
    75467546msgstr ""
    75477547
    75487548#: includes/addons/wb_wishsuite_counter.php:13
    75497549msgid "WL: WishSuite Counter"
    75507550msgstr ""
    75517551
    75527552#: includes/addons/wb_wishsuite_table.php:13
    75537553msgid "WL: WishSuite Table"
    75547554msgstr ""
    75557555
    75567556#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:291
    75577557#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:348
    75587558msgid "wobble"
    75597559msgstr ""
    75607560
    75617561#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:141
    75627562msgid "WooCommerce"
    75637563msgstr ""
    75647564
    75657565#: includes/modules/popup-builder/includes/class-repeater-helper.php:25
    75667566#: includes/modules/popup-builder/includes/admin/tmpl-popup-builder-modal.php:152
    75677567msgid "WooCommerce (Pro)"
    75687568msgstr ""
    75697569
    75707570#: includes/admin/templates/dashboard-freevspro.php:11
    75717571msgid "WooCommerce Template Builder"
    75727572msgstr ""
    75737573
    75747574#: includes/manage_wc_template.php:106
    75757575msgid "WooLentor"
    75767576msgstr ""
    75777577
    75787578#: includes/manage_wc_template.php:106
    75797579msgid "WooLentor Admin Menu"
    75807580msgstr ""
    75817581
    75827582#: includes/modules/ajax-search/widget-product-search-ajax.php:12
    75837583msgid "WooLentor Ajax Product Search Widget"
    75847584msgstr ""
    75857585
    75867586#: woolentor-blocks/includes/classes/Manage_Styles.php:160
    75877587#: woolentor-blocks/production/includes/classes/Manage_Styles.php:160
    75887588msgid "WooLentor Blocks CSS Delete."
    75897589msgstr ""
    75907590
    75917591#: woolentor-blocks/includes/classes/Manage_Styles.php:150
    75927592#: woolentor-blocks/production/includes/classes/Manage_Styles.php:150
    75937593msgid "WooLentor Blocks css file update."
    75947594msgstr ""
    75957595
    75967596#: includes/admin/include/class.template-manager.php:233
    75977597msgid "WooLentor Canvas"
    75987598msgstr ""
    75997599
    76007600#: includes/admin/include/class.template-manager.php:234
    76017601msgid "WooLentor Full width"
    76027602msgstr ""
    76037603
    76047604#: includes/admin/templates/dashboard-sidebar.php:8
    76057605msgid "Woolentor Logo"
    76067606msgstr ""
    76077607
    76087608#: includes/admin/include/class.template_cpt.php:76
    76097609msgid "WooLentor Template"
    76107610msgstr ""
    76117611
    76127612#: includes/modules/ajax-search/widget-product-search-ajax.php:14
    76137613msgid "WooLentor: Product Search Ajax"
    76147614msgstr ""
    76157615
    76167616#: includes/addons/wl_faq.php:153
    76177617msgid "Words To Live By"
    76187618msgstr ""
    76197619
    76207620#: includes/addons/wb_just_table.php:129
    76217621msgid "Wrapper Background"
    76227622msgstr ""
    76237623
    76247624#: includes/addons/wb_product_suggest_price.php:143
    76257625#: includes/addons/wb_product_suggest_price.php:144
    76267626msgid "Write your message"
    76277627msgstr ""
    76287628
    76297629#: classes/class.quickview_manage.php:25
    76307630msgid "X"
    76317631msgstr ""
    76327632
    76337633#: includes/addons/wb_image_marker.php:118
    76347634msgid "X Position"
    76357635msgstr ""
    76367636
    76377637#: includes/addons/wb_image_marker.php:139
    76387638msgid "Y Position"
    76397639msgstr ""
    76407640
    76417641#: includes/admin/include/class.template-manager.php:137
    76427642msgid "YES"
    76437643msgstr ""
    76447644
    76457645#: classes/class.assest_management.php:335 includes/addons/wl_faq.php:113
    76467646#: includes/addons/wl_faq.php:192 includes/addons/wl_faq.php:205
    76477647#: includes/addons/wl_testimonial.php:217
    76487648#: includes/addons/wl_testimonial.php:333 includes/addons/wl_category.php:183
    76497649#: includes/addons/wb_customer_review.php:205
    76507650#: includes/addons/wl_recently_viewed_products.php:120
    76517651#: includes/addons/product_tabs.php:478
    76527652#: includes/addons/wl_category_grid.php:176
    76537653#: includes/addons/wl_category_grid.php:200
    76547654#: includes/addons/wl_category_grid.php:215
    76557655#: includes/addons/wl_category_grid.php:273
    76567656#: includes/addons/wl_category_grid.php:359
    76577657#: includes/admin/include/class.template-manager.php:491
    76587658#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:62
    76597659#: includes/modules/currency-switcher/includes/widgets/wl_currency_switcher.php:90
    76607660msgid "Yes"
    76617661msgstr ""
    76627662
    76637663#: includes/admin/include/template-library.php:78
    76647664msgid "You are not permitted to import the template."
    76657665msgstr ""
    76667666
    76677667#: woolentor-blocks/includes/classes/Manage_Styles.php:146
    76687668#: woolentor-blocks/includes/classes/Manage_Styles.php:199
    76697669#: woolentor-blocks/production/includes/classes/Manage_Styles.php:146
    76707670#: woolentor-blocks/production/includes/classes/Manage_Styles.php:199
    76717671msgid "You are not permitted to save CSS."
    76727672msgstr ""
    76737673
     7674#: includes/admin/include/class.template-manager.php:513
     7675#: includes/admin/include/class.template-manager.php:696
     7676#: includes/admin/include/class.template-manager.php:741
     7677#: includes/admin/include/class.template-manager.php:857
     7678msgid "You are unauthorize to adding template!"
     7679msgstr ""
     7680
    76747681#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:350
    76757682msgid "You can change heading text from here."
    76767683msgstr ""
    76777684
    76787685#: includes/admin/templates/dashboard-gutenberg.php:29
    76797686msgid "You can enable or disable all blocks by one click."
    76807687msgstr ""
    76817688
    76827689#: includes/admin/templates/dashboard-element.php:16
    76837690#: includes/admin/templates/dashboard-module.php:18
    76847691msgid "You can enable or disable all options by one click."
    76857692msgstr ""
    76867693
    76877694#: includes/admin/include/template-library/popup-template.php:23
    76887695msgid ""
    76897696"You can import the template either into the Elementor Template Library or "
    76907697"the ShopLentor Builder."
    76917698msgstr ""
    76927699
    76937700#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:91
    76947701msgid "You can manage compare button position in product list page."
    76957702msgstr ""
    76967703
    76977704#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:138
    76987705msgid "You can manage compare button position in single product page."
    76997706msgstr ""
    77007707
    77017708#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:358
    77027709msgid "You can manage message for maximum product added in the compare table."
    77037710msgstr ""
    77047711
    77057712#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:188
    77067713msgid "You can manage the popup window from here."
    77077714msgstr ""
    77087715
    77097716#: includes/modules/compare/includes/classes/Admin/Admin_Fields.php:311
    77107717msgid "You can manage your maximum compare quantity from here."
    77117718msgstr ""
    77127719
    77137720#: includes/addons/wl_recently_viewed_products.php:108
    77147721msgid "You haven't viewed at any of the products yet."
    77157722msgstr ""
    77167723
    77177724#: includes/addons/wl_recently_viewed_products.php:751
    77187725#: woolentor-blocks/src/blocks/recently-viewed-products/index.php:23
    77197726#: woolentor-blocks/production/src/blocks/recently-viewed-products/index.php:23
    77207727msgid ""
    77217728"You haven't viewed at any of the products yet. Below are demo product for "
    77227729"the editing mode."
    77237730msgstr ""
    77247731
    77257732#: woolentor-blocks/src/blocks/product-reviews/index.php:26
    77267733#: woolentor-blocks/production/src/blocks/product-reviews/index.php:26
    77277734msgid "Your rating"
    77287735msgstr ""
    77297736
    77307737#: woolentor-blocks/src/blocks/product-reviews/index.php:47
    77317738#: woolentor-blocks/production/src/blocks/product-reviews/index.php:47
    77327739msgid "Your review"
    77337740msgstr ""
    77347741
    77357742#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:450
    77367743msgid "Z-Index"
    77377744msgstr ""
    77387745
    77397746#: includes/addons/wl_onepage_slider.php:484
    77407747msgid "Zippers cotton jogger"
    77417748msgstr ""
    77427749
    77437750#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:321
    77447751msgid "zoomIn"
    77457752msgstr ""
    77467753
    77477754#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:322
    77487755msgid "zoomInDown"
    77497756msgstr ""
    77507757
    77517758#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:323
    77527759msgid "zoomInLeft"
    77537760msgstr ""
    77547761
    77557762#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:324
    77567763msgid "zoomInRight"
    77577764msgstr ""
    77587765
    77597766#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:325
    77607767msgid "zoomInUp"
    77617768msgstr ""
    77627769
    77637770#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:378
    77647771msgid "zoomOut"
    77657772msgstr ""
    77667773
    77677774#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:379
    77687775msgid "zoomOutDown"
    77697776msgstr ""
    77707777
    77717778#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:380
    77727779msgid "zoomOutLeft"
    77737780msgstr ""
    77747781
    77757782#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:381
    77767783msgid "zoomOutRight"
    77777784msgstr ""
    77787785
    77797786#: includes/modules/popup-builder/includes/admin/class-manage-metabox.php:382
    77807787msgid "zoomOutUp"
    77817788msgstr ""
    77827789
    77837790#: includes/addons/wl_testimonial.php:153
    77847791msgid ""
    77857792"“ Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod "
    77867793"tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, "
    77877794"consectetur adipisicing elit ”"
    77887795msgstr ""
    77897796
    77907797#: includes/addons/wl_testimonial.php:130
    77917798#: includes/addons/wl_testimonial.php:147
    77927799#: includes/addons/wl_testimonial.php:159
    77937800msgid ""
    77947801"“ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod "
    77957802"tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, "
    77967803"laboris consequat. ”"
    77977804msgstr ""
    77987805
    77997806#: includes/admin/include/diagnostic-data.php:502
    78007807#, php-format
    78017808msgid "🌟 Enhance Your %1$s Experience as a Valued Contributor!"
    78027809msgstr ""
  • woolentor-addons/trunk/readme.txt

    r3037382 r3044764  
    11=== ShopLentor – WooCommerce Builder for Elementor & Gutenberg +12 Modules – All in One Solution (formerly WooLentor) ===
    22Contributors: hasthemes, htplugins, devitemsllc, zenaulislam, tarekht, aslamhasib
    33Tags: Elementor, WooCommerce, WooCommerce Elementor, WooCommerce Builder, WooCommerce Product, Woo Builder, Variation Swatches, woocommerce blocks, Product Slider, Product Compare, Wishlist, Product Filter
    44Requires at least: 4.7
    55Tested up to: 6.4
    6 Stable tag: 2.8.1
     6Stable tag: 2.8.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
    99
    1010Elementor WooCommerce Builder Addons, Quick View, Wishlist, Products Compare, Product Filter, Variation Swatches, Woo builder are functionalities that ShopLentor offers to your online store.
    1111
    1212== Description ==
    1313If you own a WooCommerce website, you'll almost certainly want to use these capabilities: Woo Builder (Elementor WooCommerce Builder), WooCommerce Templates, WooCommerce Widgets, Elementor Widgets, product compare or Products Comparison table, WooCommerce order notifications, WooCommerce slider addons (Woo sliders), Woo recently viewed products widget, Sold out count, Elementor Addons, Woocommerce variation swatches module, Elementor Templates, WooCommerce Product Addons, WooCommerce products blocks, WooCommerce Gutenberg Blocks, custom product archive builder, WooCommerce product quick view, out of stock label customization, count sold product, flash sale countdown, Woo wishlist, etc.
    1414
    1515By using ShopLentor - Elementor WooCommerce Builder, you will get all in one plugin.
    1616
    1717Have you ever searched for a WooCommerce Addons plugin for Elementor Page Builder or WooCommerce template builder for an online store that does not look ordinary like most of the stores out there? ShopLentor is an all-in-one solution that will not only give you complete control over the WooCommerce page designs but also provide you with several features.
    1818
    1919The plugin comes with a powerful WooCommerce page builder for Elementor, allowing you to effortlessly design all WooCommerce pages from scratch using the Elementor page builder. As a result, you no longer have to rely on the default page designs of WooCommerce.
    2020
    2121ShopLentor gives you the flexibility to design a custom Shop and Product details page using the free version of the plugin. The rest of the pages are also customizable with the pro version. Furthermore, ShopLentor - Elementor WooCommerce builder offers a plethora of Elementor widgets with extensive customization options that you can leverage for creating your store as per your needs.
    2222
    2323Apart from a large number of Elementor WooCommerce widgets, there are plenty of useful functionalities available in the form of modules. For example, product comparison, woo wishlist, quick view, Shopify style checkout, flash sale countdown, and so on. The main purpose of these modules is to offer the users as many options as users would need to enhance their website further. That way, they don't have to look for another third-party plugin just for a single feature.
    2424
    2525[Live Demo](https://woolentor.com/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=demo) | [Documentation](https://woolentor.com/documentation/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=doc) | [Purchase Pro](https://woolentor.com/pricing/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=purchasepro)
    2626
    2727
    2828== Elementor WooCommerce Woo Builder Includes ==
    2929🛍️ WooCommerce Elementor Widgets / Elementor WooCommerce Widgets
    3030🛍️ Single Product Page Builder
    3131🛍️ Custom Product Template Builder for Individual Product (Pro)
    3232🛍️ Shop / Archive Page Builder
    3333🛍️ Individual Archive Page Builder (Pro)
    3434🛍️ Cart / Checkout / My account / WooCommerce custom thank you page Builder (Pro)
    3535
    3636
    3737You can see the plugin demo here 👉 [Live Demo](https://woolentor.com/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=demo)
    3838
    3939
    4040==❤️ Free Features: ==
    4141
    4242* WooCommerce Template Builder
    4343* Elementor WooCommerce Builder
    4444* WooCommerce Widgets
    4545* Woocommerce Product Grid
    4646* Woocommerce Responsive Grid
    4747* WooCommerce Product List
    4848* WooCommerce Product Sort
    4949* WooCommerce Slider Layout
    5050* Shopify Style Checkout Page / Shopify-like Checkout
    5151* Woocommerce Product Slider Addons / Woo Sliders Widget
    5252* WooCommerce Testimonial Widget
    5353* WooCommerce Featured Product Slider
    5454* WooCommerce Featured Slider
    5555* Promotional Product Slider
    5656* WooCommerce Gutenberg Blocks / Gutenberg WooCommerce blocks
    5757* Recently Viewed Products / Woo Recently Viewed Products Widget
    5858* Woocommerce Product Compare / Products Comparison Table
    5959* Quick View WooCommerce / WooCommerce Quickview
    6060* Woocommerce Product Wishlist / Woo Wishlist
    6161* Woocommerce Product Tab
    6262* Grid and List View WooCommerce
    6363* Action Buttons in different Positions
    6464* Customize WooCommerce Buttons Color
    6565* Sales Countdown WooCommerce Addon / Discount Schedule Counter
    6666* WooCommerce Image Gallery
    6767* Enable / Disable WooCommerce Product Gallery
    6868* WooCommerce Product Gallery Carousel
    6969* Unlimited Color and Font Variations
    7070* WooCommerce Slider or Woo Sliders Control Options
    7171* WooCommerce Variation Swatches Module / Variation Switcher
    7272* Woocommerce Live Sales Notifications (Real)
    7373* Woocommerce Sales Notification (Custom)
    7474* Rename labels / WooCommerce Text / WooCommerce add custom text.
    7575* WooCommerce Upsell Widget
    7676* WooCommerce Cross-sell Widget
    7777* WooCommerce Related Products Widget (Custom Related Products Layout, Disable / Remove / Hide Related Products)
    7878* WooCommerce Category Carousel / WooCommerce Category Showcase / WooCommerce Product Category Slider
    7979* WooCommerce Category and Product List
    8080* Call for Price Button for WooCommerce
    8181* Suggest Price / Suggest Product Price
    8282* Special Day Offer Banner / Banner Widget
    8383* Product QR Code / WooCommerce QR Widget
    8484* WooCommerce Marker / WooCommerce Hotspot
    8585* Archive page with Pagination
    8686* Product Share Widget
    8787* Multi-language Support
    8888* Works with Free Elementor and WooCommerce
    8989* Custom WooCommerce Product Template Builder
    9090* Product Grid (Curvy)
    9191* Product Accordion Listing / Responsive Accordion
    9292* Product Image Accordion / WooCommerce Accordion
    9393* WooCommerce Shop Page Builder
    9494* AJAX Search Widget
    9595* WordPress post or WooCommerce Product Duplicator
    9696* Single product AJAX Add to Cart (In Product Detail Page)
    9797* Horizontal WooCommerce Product Filter [Demo](https://woolentor.com/demo/horizontal-filter/)
    9898* Vertical WooCommerce Product Filter [Demo](https://woolentor.com/demo/filter-vertical/)
    9999* WooCommerce Template Library (Basic)
    100100* Product Reviews widget for WooCommerce
    101101
    102102
    103103==🔥 Premium Features: ==
    104104
    105105✅ 100+ WooCommerce Elementor Widgets / Elementor WooCommerce Widgets
    106106✅ 24 WooCommerce Modules
    107107✅ 29 WordPress Gutenberg Blocks / WoCommerce Gutenberg Blocks
    108108✅ Custom WooCommerce Product Template Builder for Individual Product
    109109✅ Individual Archive Page Builder / WooCommerce Template Builder
    110110✅ WooCommerce Checkout Field Editor / Checkout Field Manager
    111111✅ Custom Cart Page Builder / WooCommerce Template Builder
    112112✅ Custom Checkout Page Builder / WooCommerce Template Builder
    113113✅ Custom My Account Page Builder / WooCommerce Template Builder
    114114✅ Custom Thank you Page for WooCommerce
    115115✅ WooCommerce Partial Payment
    116116✅ WooCommerce Multi step checkout
    117117✅ Order Confirmations Widget
    118118✅ Product Variation Swatches for WooCommerce
    119119✅ Product Size Chart / Size Chart WooCommerce Module
    120120✅ WooCommerce Progress Bar / WooCommerce Stock Progress
    121121✅ Related Products Slider for WooCommerce
    122122✅ WooCommerce Upsell Products / Upsells Carousel
    123123✅ WooCommerce Pre Order Module / Pre-order for WooCommerce
    124124✅ Side Mini Cart / WooCommerce Minicart / Cart Drawer
    125125✅ Redirect to Checkout Page (Direct Checkout)
    126126✅ Social Share Product / Social Share Buttons / Quick Share
    127127✅ GTM Conversion Tracking (Google Tag Manager) with Data layer
    128128✅ Sticky Add to Cart
    129129✅ Template Library
    130130✅ 15 Product Custom Template Layouts (Deafult + Invidual)
    131131✅ WooCommerce Template Builder (Advanced)
    132132✅ Access to our Premium Udemy Course for WooCommerce (On Request)
    133133✅ Zoom / Skype / TeamViewer Support
    134134✅ Free Store Setup / (Maximum 2)
    135135✅ Phone Call Support
    136136✅ Premium Support
    137137
    138138
    139139<strong>[WooCommerce Checkout Page Customization and Field Editor (Pro)](https://woolentor.com/doc/build-a-custom-checkout-page-template/)</strong>
    140140ShopLentor Pro (Elementor WooCommerce Builder) allows you to customize the checkout page to reduce the bounce rate and increase the conversion rate. Sometimes, a custom checkout page is necessary for an eCommerce store or online storefront. ShopLentor Pro (Elementor WooCommerce Builder) makes it easy by providing several WooCommerce custom checkout options.
    141141
    142142Besides creating a custom checkout page, ShopLentor allows removing or editing existing checkout page fields (billing and shopping fields). You can also add custom checkout page field like WooCommerce phone field or WooCommerce checkout phone.
    143143
    144144By creating a custom Elementor WooCommerce Checkout page template according to your needs, you can get rid of the default Checkout page layout of WooCommerce. To help you achieve this, ShopLentor – Elementor WooCommerce Addon offers loads of Elementor WooCommerce builder widgets (Woo builder) specifically designed to create a custom Elementor WooCommerce Checkout page design.
    145145
    146146If you want to improve customer experience through the checkout page of your store, you can utilize these WP WooCommerce checkout widgets or Elementor WooCommerce checkout widgets that enable you to do things like WooCommerce checkout customization, customize WooCommerce checkout page, customize checkout WooCommerce, Elementor WooCommerce checkout customization, etc.
    147147
    148148Furthermore, the plugin comes with several beautifully designed pre-built Elementor WooCommerce checkout templates or WooCommerce templates for checkout that will allow you to create a custom checkout page within a minute.
    149149
    150150<strong>[Customize WooCommerce Single Product Template](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/)</strong>
    151151ShopLentor (Elementor WooCommerce Builder) allows you to create a custom single product template. With all the powerful WooCommerce product addons or Woo addons available in ShopLentor, creating a unique design for your WooCommerce product page is a breeze.
    152152
    153153The free version has the option to create a common product page template layout throughout the entire store, and the pro version allows you to create different WooCommerce single templates for various WooCommerce single product pages individually.
    154154
    155155With all the WooCommerce extra product addons or Elementor WooCommerce widgets offered by ShopLentor (Elementor WooCommerce Builder), you can easily manage the WooCommerce single product page or WooCommerce single templates. In addition, these WooCommerce extra product addons, or WooCommerce product addons, are compatible with other popular Elementor WooCommerce plugins.
    156156
    157157ShopLentor (Elementor WooCommerce Builder) lets you assign a separate Elementor template for each of your WooCommerce products from the WooCommerce product settings. For example, in the product setting WooCommerce screen, you will find a dropdown option where you can choose a custom template for the details page of that specific WooCommerce product.     
    158158
    159159
    160160==⭐ Available Widgets: ==
    161161
    162162<strong>General Widgets</strong>
    163163
    164164<strong>[Product Tabs](https://woolentor.com/demo/product-tabs)</strong> – Display your WooCommerce products in a tabbed format based on different categories. With the help of this Elementor WooCommerce product tabs widget, WooCommerce category tabs widget, or Woo product tabs widget you can dynamically list your WooCommerce products category wise in various WooCommerce category tabs. It even allows you to choose which WooCommerce product categories you want to display as tabs.
    165165
    166166Furthermore, you can filter what type of WooCommerce products to showcase under a single WooCommerce product category or multiple WooCommerce product categories. For example, WooCommerce category recent products.
    167167
    168168Since the Elementor WooCommerce widget for product tabs (woo product tabs) allows you to display recent products while at the same time supporting category based products, you can effortlessly showcase your newest WooCommerce products or WooCommerce recent products in your online storefront. In addition, WooCommerce category recent products can be handy to show products for specific categories or all WooCommerce categories.
    169169
    170170You can even control the number of products that are displayed. So, whether you're launching a new product line or simply want to keep your customers informed about your latest WooCommerce products or WooCommerce recent products, WooCommerce category recent products is a great way to do it.
    171171
    172172Other noteworthy features of this Elementor WooCommerce widget include controlling the WooCommerce product layout, the number of WooCommerce products to show, the WooCommerce category list, the customization of WooCommerce product ordering, etc.
    173173
    174174<strong>[Product Grid](https://woolentor.com/demo/product-grid)</strong> – Display your WooCommerce products within a WooCommerce responsive grid layout with the WooCommerce product grid widget. This Elementor WooCommerce builder widget (Woo builder) offers 5 different WooCommerce grid layouts to showcase your WooCommerce products in a responsive grid for WooCommerce store with its WooCommerce widget responsive settings. Meaning the WooCommerce product grid widget will adjust to fit any screen size.
    175175
    176176A key feature of this Elementor WooCommerce widget is its WooCommerce responsive grid, which displays your WooCommerce products in a WooCommerce grid layout or responsive grid for WooCommerce while ensuring that your WooCommerce website adapts to the screen size of the customer's device. You can rest assured that with the WooCommerce responsive grid system, your WooCommerce products are always displayed in an optimal way, regardless of what device your customers use. The WooCommerce responsive grid or responsive grid for WooCommerce is a significant selling point for WooCommerce, as it helps businesses reach a wider audience. You can even use this WooCommerce widget to control how many columns you want to display on each device.
    177177
    178178By using a responsive grid for WooCommerce, you can ensure that your customers will be able to see your WooCommerce products no matter what device they're using. The WooCommerce product grid or Elementor grid widget can be of tremendous help if you want to showcase your WooCommerce products in a WooCommerce grid layout or responsive grid for WooCommerce. With this Elementor WooCommerce widget, you can enjoy the flexibility to exhibit your WooCommerce products in a grid view or WooCommerce grid layout.
    179179
    180180Furthermore, the Elementor grid widget allows you to control the number of columns, gutter width, and breakpoints. A grid view is a type of WooCommerce product display that arranges items in a WooCommerce grid layout or a responsive grid for WooCommerce instead of displaying them in a single column. The grid view products or grid products make it easy for visitors to scroll through the WooCommerce products and find their desired ones.
    181181
    182182Apart from choosing and configuring a WooCommerce product layout, you can control which WooCommerce products to display and how to display them in a WooCommerce product grid or WooCommerce grid layout based on multiple query settings such as product type, product categories, product order, number of products, and so on. Meaning that you can also leverage this Elementor WooCommerce product grid widget like a WooCommerce category product widget to display products based on categories. This WooCommerce category product widget is handy when it comes to getting the ability to control which category based products to display.
    183183
    184184Since the Elementor WooCommerce widget enables store owners to display their WooCommerce products in a responsive grid for WooCommerce stores, rest assured that the WooCommerce products will look great no matter which device visitors use to browse the store. If you prefer using the WooCommerce grid, WooCommerce grid layout, or WooCommerce responsive grid, this WooCommerce product grid widget will be tremendously helpful.
    185185
    186186ShopLentor's product grid widget lets you showcase WooCommerce products in a WooCommerce grid layout. WooCommerce product grids are commonly used to display WooCommerce products on your online storefront. With this WooCommerce product grid widget or display product widget you can present your WooCommerce products on the WooCommerce shop and archive pages.
    187187
    188188Aside from displaying WooCommerce products in a responsive grid for WooCommerce, this product grid widget offers a wide range of customization options so that you can control many aspects of this widget, such as the number of columns, the number of WooCommerce products, WooCommerce product order, and so on. If you want your WooCommerce product display to be visually appealing, so it captures potential customers' attention, you should try out the WooCommerce product grid widget. This WooCommerce product grid widget is perfect for an online storefront that wants to display their WooCommerce products in a more organized and visually appealing way.
    189189
    190190In this Elementor WooCommerce widget, there are a few different WooCommerce product layout or product layouts for WooCommerce options available for store owners to choose from. Some of the most popular WooCommerce product layouts or product layouts for WooCommerce include the grid layout, the list layout, and the carousel layout.
    191191
    192192Each WooCommerce product layout has its own advantages and disadvantages, so it's important to choose the right WooCommerce product layout for your online store based on your WooCommerce products and your customer's needs.
    193193
    194194A WooCommerce product slider or Woo slider is a great way to showcase your WooCommerce products on your website. With a WooCommerce product slider or Woo slider, you can easily display your WooCommerce products in a stylish and eye-catching way. In addition, customers can scroll through your WooCommerce products in a WooCommerce product slider or Woo slider.
    195195
    196196Furthermore, the Woo slider is easy to use and comes with many customization options. That means you can control the WooCommerce slider or eCommerce slider and configure the WooCommerce widget product slider as per your needs. If you're looking for a way to improve the look and feel of your online storefront and make it more user-friendly, then a WooCommerce product slider or Woo slider is definitely worth considering.
    197197
    198198ShopLentor's feature to create a WooCommerce product carousel or product carousel WooCommerce is very handy when it comes to showcasing your WooCommerce products in a responsive product carousel or responsive product slider (Woo product slider / Woo slider). With this product carousel WooCommerce or WooCommerce product carousel widget, you can choose how many WooCommerce products to display, what order to display them in, and whether or not to show navigation arrows.
    199199
    200200You can also choose to autoplay the responsive product slider carousel or have it pause on hover. With just a few clicks, you can configure the product carousel WooCommerce or product slider for WooCommerce widget to display products from specific WooCommerce product categories.
    201201
    202202You can also choose to show WooCommerce featured products slider, sale product list, new product list, or recent products list. With all the options available in this WooCommerce widget product slider addons (Woo product slider) or product carousel WooCommerce widget, you can create a WordPress product carousel, WooCommerce product slider (eCommerce slider), or WooCommerce widget product slideshow that looks great on any screen size.
    203203
    204204Whether you're looking to increase conversions or simply showcase your WooCommerce products more effectively, the product carousel WooCommerce, Elementor WooCommerce product carousel slider, Elementor product carousel slider addons, or WooCommerce product carousel slider widget is an excellent solution.
    205205
    206206If you are interested in displaying your WooCommerce products in an eye-catching WooCommerce slider, WooCommerce products slider, or Woo product slider, you can do so simply by enabling an option. After activating the WooCommerce product slider or Woo product slider option, this Elementor WooCommerce widget product slideshow, WooCommerce widget product slider, or product carousel WooCommerce widget will display your WooCommerce products in a wonderful Elementor WooCommerce product carousel slider, WooCommerce product slider, or WooCommerce slideshow.
    207207
    208208<strong>[Add Banner](https://woolentor.com/demo/add-banner)</strong> – Create an eye-catching banner section anywhere you want on your WooCommerce store with this banner widget. A beautifully designed banner can help you with product exposure, advertisement of various WooCommerce offers or WooCommerce discounts, and strengthening your brand's identity. This Elementor WooCommerce builder widget (Woo builder) can be utilized as a banner designer that helps you add a banner image. For example, a promo banner, WooCommerce products announcement banner, responsive banner, etc.
    209209
    210210You can also use this banner widget to alert your potential store visitor about the WooCommerce offers of your store. All you have to do is add an Elementor banner on your storefront, whether the discount type is WooCommerce cart discount, WooCommerce category discounts for WooCommerce, or any other WooCommerce custom discounts.
    211211
    212212<strong>[Special Day Offer Banner](https://woolentor.com/demo/special-day-offer/)</strong> – Create a captivating banner with engaging offer texts to make an offer for WooCommerce store or show product discounts on any special days like Black Friday, Cyber Monday, Christmas, etc. There are many special days like Black Friday, Christmas, Halloween. Discounts and hot offers can increase store sales or work as WooCommerce booster these days. A wonderful Elementor banner can grab the attention of visitors and sometimes it increases a 15-30% conversion rate. We have added this Elementor WooCommerce widget for adding a special day offer.
    213213
    214214If you want to give WooCommerce offers, WooCommerce discounts, or show product discounts on special days like Christmas and New Year, you can utilize this banner widget to display an eye-catching banner on your WooCommerce website. This special day offer banner encourages customers to purchase WooCommerce products that are on sale or with WooCommerce discounts. So on the occasion of special days, you should definitely give this banner widget a try!
    215215
    216216<strong>[Image marker](https://woolentor.com/demo/image-marker/)</strong> – Describe specific parts of a WooCommerce product by adding multiple markers or WooCommerce hotspots to the WooCommerce image of that particular WooCommerce product. This WooCommerce marker widget or WooCommerce tooltip widget will also let you display detailed information about various parts of a WooCommerce product image via tooltip options that can be seen by hovering over the WooCommerce markers, WooCommerce product markers, or WooCommerce hotspots. Besides, you can include as many WooCommerce hotspot markers, WooCommerce markers, or WooCommerce product tooltips as you want in a WooCommerce image.
    217217
    218218Product markers or image markers are a great way to help define WooCommerce products and WooCommerce images in a store. When product markers or image markers are used on a WooCommerce product image, customers can find their desired WooCommerce products faster and without any confusion.
    219219
    220220This way, you can engage with your store visitors by giving them a visual representation of a product where they can see detailed information about different parts of it. All they need to do is hover over a WooCommerce hotspot or WooCommerce marker. It will help them decide whether or not to purchase a product.
    221221
    222222<strong>[Universal Product Layouts for WooCommerce](https://woolentor.com/demo/product-layout/)</strong> – Create your own customized layout to display your WooCommerce products from several different options available in this Elementor WooCommerce builder widget (Woo builder). You can also choose from a selection of WooCommerce product layouts to better match your website’s look and feel.
    223223
    224224That's not all; The Universal Product Layout WooCommerce widget of ShopLentor (all in one for WooCommerce) can also be used as a WooCommerce product slider plugin, WooCommerce widget product slider, WooCommerce widget product slideshow, WooCommerce slider addons, or Woo product slider for WooCommerce using which you can add a product carousel WooCommerce, WooCommerce carousel, WooCommerce product carousel, WooCommerce products carousel, Elementor WooCommerce product carousel slider, Woocommerce products slider, or WooCommerce slider to your WooCommerce store.
    225225
    226226A WooCommerce products carousel or WooCommerce product carousel slider is a wonderful way to showcase your WooCommerce products on your website. Using a WooCommerce product carousel, WooCommerce widget product slideshow, WooCommerce widget product slider, or Woo product slider addons you can highlight multiple WooCommerce products in a single space, making it easy for visitors to browse and choose the WooCommerce products they want.
    227227
    228228You can also use an Elementor WooCommerce product carousel slider, WooCommerce product carousel slider, or promotional product slider to promote special WooCommerce offers or WooCommerce discounts. A promotional product slider allows businesses to display promotional WooCommerce products or WooCommerce sale product list on their WooCommerce store, making it easy for customers to find and purchase these specific WooCommerce products. Promotional product sliders are a simple and effective way to boost sales and improve the visibility of your WooCommerce products to potential customers.
    229229
    230230If you're using WooCommerce with Elementor, you can easily incorporate an Elementor WooCommerce product carousel slider, WooCommerce widget product slider, WooCommerce widget product slideshow, or Woo carousel to your website using the Universal Product Layouts widget of ShopLentor (Elementor WooCommerce Builder) as a WooCommerce product slider plugin. A shop page product slider, WooCommerce slider, or WooCommerce widget product slideshow can help to increase conversion rates by making it easier for customers to find and purchase the WooCommerce products they're interested in.
    231231
    232232All you have to do is drag and drop the Elementor WooCommerce widget product slideshow, WooCommerce slider, or responsive slider into your WooCommerce layout and enable the Elementor WooCommerce product carousel slider or WooCommerce products slider (eCommerce slider) option. Moreover, the WooCommerce products carousel, product carousel WooCommerce or Elementor product carousel slider itself is mobile-friendly, so your potential visitors can easily scroll through the responsive slider or responsive product slider (Woo product slider / Woo slider) on their phone or tablet.
    233233
    234234Another fantastic fact about this Elementor WooCommerce builder widget (Woo builder) or WooCommerce widget product slider is that it offers a useful option that allows showing WooCommerce products in different product layouts for WooCommerce or WooCommerce product layouts. For example, WooCommerce slider, WooCommerce tab, and WooCommerce grid.
    235235
    236236Aside from that, you can choose what type of WooCommerce products to display in your store, such as WooCommerce featured products, WooCommerce category recent products, best selling products, top rated products, wp products on sale, WooCommerce best sale products, and so on.
    237237
    238238For example, if you want to use this versatile Elementor WooCommerce widget like a WooCommerce product slider plugin or WooCommerce slider plugin to display only the featured WooCommerce products in a WooCommerce products carousel, WooCommerce product slider, or Woo product slider, this Elementor WooCommerce widget can help you achieve that by giving you the ability to create a WooCommerce featured products slider or WooCommerce featured product slider. You can also control the number of products and manage the featured product by category or category name.
    239239
    240240<strong>[WooCommerce Category List](https://woolentor.com/demo/category-view/)</strong> – WooCommerce category list widget helps you to show categories vertically and horizontally. There are several styles that you can choose from like category icon/image, and the number of products in the category. This helps visitors to understand how much product you have in the specific category. Control the WooCommerce product category list or WooCommerce category list style according to your requirements.
    241241
    242242<strong>[WooCommerce Category Carousel / Slider / Grid for Elementor](https://woolentor.com/demo/category-grid/)</strong> – WooCommerce store can be represented in a WooCommerce category slider, subcategory slider, or WooCommerce category carousel. This is an elegant way to showcase WooCommerce product categories and subcategories on your website. WooCommerce Category Carousel is a powerful Elementor WooCommerce builder widget by ShopLentor (Woo builder) that helps you add a WooCommerce product category slider, WooCommerce categories slider, subcategory slider, or category slider for WooCommerce.
    243243
    244244You can also control the WooCommerce category carousel according to your requirements. This Elementor WooCommerce widget work like a Woocommerce category slider plugin that can be used for WooCommerce product category slider for Elementor, WooCommerce product category slider, product category slider, product category carousel, WooCommerce product category, WooCommerce category carousel, WooCommerce category slider, or subcategory slider.
    245245
    246246If you're looking for a way to showcase your WooCommerce product categories in a stylish and engaging way, then a WooCommerce category carousel or WooCommerce category slider is the way to go. With ShopLentor (Elementor WooCommerce Builder), you can easily create a WooCommerce product category carousel or WooCommerce product category slider using the category grid WooCommerce widget. By using a WooCommerce product category slider for Elementor or category slider for WooCommerce, you can easily highlight different WooCommerce product categories on your site.
    247247
    248248The WooCommerce category carousel or WooCommerce category slider are two popular ways to showcase WooCommerce product category on your WooCommerce site. By leveraging a WooCommerce category carousel or WooCommerce category slider, you can have the flexibility to display WooCommerce product categories in a WooCommerce carousel or WooCommerce slider format. This WooCommerce category recent products feature of this ShopLentor (WooCommerce builder) widget also allows you to showcase your most recent products in a user-friendly WooCommerce carousel or WooCommerce slider layout.
    249249
    250250If you are planning to make your online storefront more accessible and easier to explore, then this wonderful Elementor WooCommerce widget or WooCommerce category showcase widget can help you achieve that by letting you showcase WooCommerce category list or WooCommerce category and product list in an eye-catching manner. You may be surprised at how easy it is to use this Elementor WooCommerce widget and how helpful it can be in showcasing your WooCommerce category.
    251251
    252252This category slider for WooCommerce or WooCommerce category slider can help you encourage customers to browse through your WooCommerce product catalog. Additionally, a WooCommerce category carousel or product category carousel can also be helpful to increase the chances that customers will find the WooCommerce product they are looking for. So if you're looking for an easy way to incorporate a WooCommerce product category carousel or WooCommerce category carousel for WooCommerce category showcase, then be sure to check out this Elementor WooCommerce widget of ShopLentor (WooCommerce addon for wp page builder).
    253253
    254254<strong>[WooCommerce Category Grid](https://woolentor.com/demo/category-grid/)</strong> – A very useful Elementor WooCommerce builder category product widget that can be utilized to showcase WooCommerce product category or Woocommerce category in a responsive grid layout on your WooCommerce store. This WooCommerce category post widget can also help you create a WooCommerce category list, WooCommerce category menu, or WooCommerce category showcase including WooCommerce category images.
    255255
    256256There are options to manage WooCommerce category list and WooCommerce category image. Moreover, the WooCommerce category grid widget is fully responsive and mobile-friendly. In short, you can showcase WooCommerce product categories on your store in many different ways with the help of this Elementor WooCommerce builder widget. WooCommerce category grid is a great way to ehance the look of your WooCommerce store and make it more user friendly.
    257257
    258258<strong>[WooCommerce Brands](https://woolentor.com/demo/brand-logo/)</strong> – Showcase brand logos within a grid or Woo carousel layout.  WooCommerce Brands widget lets you display brands in different layouts. WooCommerce product brands is a ShopLentor's widget (Elementor WooCommerce builder widget) that helps you to showcase product brands in your store. With this Woo builder widget for brand logo showcase, you can display the brand logos of your partners or sponsors within a rotating brand logo carousel or brand logo slider.
    259259
    260260A brand carousel or brand slider makes it easy for you to display the brand logos in a way that is creative and engaging. Not to mention, they can help you attract new customers and build brand loyalty. Aside from showcasing your partner’s logo, you can show the product brands or WooCommerce brands whose products you sell on your online storefront. Furthermore, the brand logo Carousel or brand logo slider is fully responsive and mobile-friendly. If you want to make your business trustworthy to your customers, this brand carousel or brands slider widget is worth considering.
    261261
    262262
    263263
    264264
    265265<strong>[WooCommerce Breadcrumbs](https://woolentor.com/demo/product-layout/)</strong> – Add WooCommerce breadcrumbs to your WooCommerce store so that visitors can clearly understand which page they are currently viewing by seeing the WooCommerce navigation links, WooCommerce pages links, or WooCommerce menu links of the WooCommerce breadcrumbs.
    266266
    267267<strong>[Customer Review](https://woolentor.com/demo/customer-review/)</strong> – Display customer reviews and control the style and layout of the reviews. With the help of this Elementor WooCommerce builder widget (Woo builder), you can increase the credibility of your business by allowing potential customers to see what the previous customers are saying about a particular product.
    268268
    269269<strong>[WooCommerce Testimonial](https://woolentor.com/demo/testimonial/)</strong> – Display product testimonials on your WooCommerce site using the testimonial widget of ShopLentor. A testimonial widget or testimonials widget can be an excellent way to showcase customer testimonials on your online storefront. You can place the testimonial widget on any page you want. With this testimonials widget, you can show product testimonials in a testimonial grid format.
    270270
    271271Furthermore, the testimonial widget will allow you to create an Elementor testimonial carousel and display multiple product testimonials in a testimonial slider or testimonial carousel format. Not to mention, the testimonials widget is also responsive, so it will look great on all devices. If you are looking for a way to show off product testimonials from satisfied customers and build trust with store visitors, be sure to check out this testimonial widget!
    272272
    273273<strong>[Product Curvy](https://woolentor.com/demo/product-curvy/)</strong> – Showcase your WooCommerce products in an attractive card layout with circular images. Apart from drawing the attention of your store visitors, this Elementor WooCommerce builder widget (Woo builder) will also make your WooCommerce website stand out from the thousands of other stores.
    274274
    275275<strong>[Product Image Accordion](https://woolentor.com/demo/product-image-accordion/)</strong> – Add a stunning product image accordion for your WooCommerce products to grab the attention of your customers. This powerful WordPress accordion widget will allow you to design an advanced accordion and control the necessary styles of the WooCommerce widgets accordion elements.
    276276
    277277Product image accordion is a powerful WooCommerce accordion widget that allows you to showcase your WooCommerce product images in a beautiful and responsive accordion. The WordPress accordion widget comes with a number of different customization options, so you can personalize the image accordion to fit your needs. You can also configure how many WooCommerce products to show in the image accordion or WooCommerce widgets accordion. Once you create a responsive accordion using this WooCommerce widgets accordion or WooCommerce accordion, it will look great on all devices.
    278278
    279279With this wonderful WooCommerce widgets accordion, you can even set filter as to what type of WooCommerce products you want to display on your online storefront. WoCommerce accordion is a great way to increase the visibility of your WooCommerce products and boost sales. So if you're looking for an easy way to add a WooCommerce accordion or image accordion to your WooCommerce site, a product Image Accordion or a responsive accordion is the perfect solution. Besides, the Product Image WooCommerce Accordion widget is easy to use and comes with a detailed documentation.
    280280
    281281<strong>[Product Accordion](https://woolentor.com/demo/product-accordion/)</strong> – Add a simple but effective product accordion to your store and customize it according to your needs. ShopLentor's product accordion widget lets you showcase your WooCommerce products in a jQuery accordion or WooCommerce accordion where each product is displayed individually in an accordion pane. You can use this wp accordion widget to display certain WooCommerce products of your store differently.
    282282
    283283<strong>[AJAX Search Form](https://woolentor.com/demo/ajax-search-form/)</strong> –  Incorporate an AJAX search form into your store so that your customers can get live WooCommerce search suggestions or WooCommerce search content when searching for a WooCommerce product or performing a WooCommerce search. Customers can find their desired WooCommerce products in a matter of seconds with the help of an AJAX-powered WooCommerce search bar.
    284284
    285285You can use this Elementor WooCommerce widget for AJAX search form to add an advanced WooCommerce search bar to your WooCommerce website. This advanced search widget or WooCommerce search bar will help customers find the exact WooCommerce product they are looking for. With the WooCommerce advanced search widget, you can provide your visitors with an extra level of convenience and functionality on your online storefront. If WooCommerce powers your online store, you should definitely incorporate an AJAX-powered WooCommerce search bar or WooCommerce advanced search option to your WooCommerce site.
    286286
    287287Besides, this powerful AJAX WooCommerce search form module allows you to perform WooCommerce search by category. If you want to provide your customers with an incredible WooCommerce product search experience while they search WooCommerce store, you should definitely consider adding an efficient WooCommerce advanced search option to your WooCommerce store.
    288288
    289289<strong>[WooCommerce Recently Viewed Products](https://woolentor.com/doc/recently-viewed-products/)</strong> – When it comes to displaying the recently viewed products or recent viewed WooCommerce products by shoppers on a WooCommerce store, this WooCommerce recently viewed products widget or recent viewed products widget will come in handy. This way, visitors can see what WooCommerce products they recently viewed in a store, making it easier for them to decide. Moreover, you can control the number of products (recent viewed products) to showcase, product order, columns, visibility of elements, and some necessary styles to change the look and feel of these woo recently viewed products or recent viewed products.
    290290
    291291With this WooCommerce recently viewed products widget or recent viewed WooCommerce products widget of ShopLentor, you can enable your store visitors to keep track of the WooCommerce products they have viewed recently on your online storefront. This Elementor WooCommerce widget for recent viewed products can be used to remind your customers of items they were interested in but didn't purchase or to keep track of WooCommerce products they have already purchased so they don't accidentally buy them again.
    292292
    293293Customers who visit your WooCommerce store might not purchase anything on their first visit. However, you can encourage them to return and make a purchase by showing them the WooCommerce products they recently viewed or recent viewed products using the WooCommerce recently viewed products widget or Woo recently viewed products widget. This WooCommerce recently viewed products widget or recent viewed WooCommerce products widget displays a list of WooCommerce products that the customer has previously viewed, making it simple for them to find and purchase WooCommerce products they're interested in. The WooCommerce recently viewed products widget or Woo recently viewed products widget can be highly convenient for boosting customer engagement and conversion rates.
    294294
    295295You can add the recent viewed products widget or recently viewed products widget to any page on your WooCommerce site, and it will automatically update itself with the recently viewed products or recent viewed products. You can also customize the number of Woo recently viewed products that are displayed. Once you place the WooCommerce widget, it will automatically track the WooCommerce products your customers view and show them in a recently viewed products section on your website. When it comes to allowing your store visitors to see what WooCommerce products they have recently viewed, this WooCommerce recently viewed products widget or recent viewed products widget is pretty helpful.
    296296
    297297<strong>Frequently Asked Questions</strong> – Incorporate a section for the most commonly asked questions by providing their answers on your WooCommerce store using this Elementor WooCommerce builder widget for WooCommerce faqs. You can utilize this widget to create a WooCommerce ask question tab, WooCommerce faq tab, or product faq for WooCommerce section that will undoubtedly improve the user experience. If you are running a WooCommerce store, you must have known that visitors ask question about WooCommerce products. Right? So, you should definitely make use of this Elementor WooCommerce widget to showcase the answers to their product based questions WooCommerce.
    298298
    299299<strong>Template Selector</strong> – Create a custom Elementor template by utilizing this very widget and use it anywhere you want.
    300300
    301301
    302302<strong>For Single Product Page:</strong>
    303303
    304304<strong>[Product Title](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Control the layout and styling of your product title. In addition, you can dynamically display a product title on the WooCommerce product page or WooCommerce product templates by using the product title WooCommerce widget, which is available in this WordPress WooCommerce builder plugin (Woo builder). You can hide product title as well.
    305305
    306306<strong>[Product Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Get control over the layout and style of your product description. The product description WooCommerce widget included in this WooCommerce builder (Woo builder) allows you to showcase the WooCommerce product description anywhere you want on the WooCommerce single product page.
    307307
    308308If you want to create a professional looking WooCommerce product page, this product description for WooCommerce or WooCommerce product description widget will come in handy as you'll be able to manage the necessary style for the WooCommerce product description.
    309309
    310310<strong>[Product Short Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the layout and style of your product short description with this simple widget. When store owners want to display a short description of their WooCommerce products instead of a long description on the WooCommerce single product page, this Elementor WooCommerce widget or product widget WooCommerce can be pretty useful.
    311311
    312312<strong>[Add to Cart](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Manage the style and layout of the Add to Cart button for WooCommerce or WooCommerce single product cart button. Moreover, you can place this Elementor WooCommerce widget or product widget WooCommerce anywhere on the WooCommerce product page, WooCommerce product templates, or WooCommerce single templates to display the WooCommerce add to cart button link, Woocommerce cart link, single product cart button, or the cart button for WooCommerce.
    313313
    314314That’s not all; This WooCommerce add to cart widget allows you to change the Woocommerce add to cart button text or WooCommerce add to cart button label, including all the necessary button styles to match your brand needs so that you can create a custom add to cart button WooCommerce. Place the single product cart button in any position you prefer and personalize the single product cart button as per your requirements while designing a custom add to cart button WooCommerce.
    315315
    316316<strong>[Additional Information or Additional Description](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Display additional product information on the WooCommerce single product page or WooCommerce product templates. Here, additional information refers to a product's weight, height, color, dimension, and other information. If you want to show such information, this Elementor WooCommerce widget for product additional description or additional information can be handy.
    317317
    318318<strong>[Product Data Tabs](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Gives you the flexibility to display WooCommerce product tabs in any place you prefer on the WooCommerce single product page. Also, with this WooCommerce tabs widget or WooCommerce product tab widget, you can control how product page tabs will appear, applying WooCommerce product custom tabs or WooCommerce custom tabs styling. You can even manage the appearance of WooCommerce product tabs for different devices using its WooCommerce widget responsive settings.
    319319
    320320<strong>[Related Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Set the number of WooCommerce related products to display and change the style according to your needs. This Elementor WooCommerce widget or product widget WooCommerce is designed to showcase WooCommerce related products, similar products, or product recommendations based on the product whose details page you are on.
    321321
    322322Showing WooCommerce related products can be a fantastic way to prompt customers to purchase additional items, and it can also help to boost your sales. You can utilize this WooCommerce related products widget to show products related to category. This Elementor WooCommerce widget or product widget WooCommerce will help your customers find their desired WooCommerce related product or related products.
    323323
    324324Even though showing product related to the one customer are currently viewing is quite a useful feature, some store owners may think of it otherwise. For example, some businesses prefer to disable related products on their WooCommerce store because they don't want to clutter up their WooCommerce product pages or WooCommerce single product pages with an additional Woocommerce related products section. The main reason for doing so is that they believe that it might make it more difficult for customers to find what WooCommerce products they're looking for.
    325325
    326326<strong>[Related Product Layout (Custom)](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Create a more customized layout to display the WooCommerce related products or recommended products on the WooCommerce product page. You can even utilize this Elementor WooCommerce widget as a WooCommerce related products slider plugin to design a striking WooCommerce related products slider and personalize all the settings available for the related products slider for WooCommerce.
    327327
    328328If you are looking for a way to increase sales and conversions in your store, leverage this related products slider for WooCommerce widget that works like a WooCommerce related product slider plugin or WooCommerce related products slider plugin. The handy Woo builder widget for WooCommerce related products slider offers a plethora of options to add and configure a related products slider for WooCommerce stores.
    329329
    330330When it comes to enhancing your WooCommerce site, one of the best things you can do is to add WooCommerce recommendations. There are several ways to accomplish this, but one of the most effective is to add a related products slider for woocommerce or WooCommerce related products slider. A related product slider will allow you to show your visitors other WooCommerce products that they may be interested in, based on what WooCommerce product they're currently viewing. 
    331331
    332332The WooCommerce related products slider or related products slider for WooCommerce is an excellent way to showcase product recommendations on the WooCommerce product page or WooCommerce single product page. By displaying WooCommerce related products in a related products slider format, you can easily highlight a wide range of product recommendations or WooCommerce recommendations without overwhelming your potential customers. So if you're looking for a way to boost your WooCommerce site, adding WooCommerce recommendations through a related products slider for WooCommerce or WooCommerce related products slider is a great place to start.
    333333
    334334Furthermore, the WooCommerce related products slider addons is highly customizable, so you can ensure that it perfectly matches the look and feel of your online storefront. The related products slider allows you to showcase recommended products in a prominently displayed, easy-to-use product widget WooCommerce. If you're running a WooCommerce store, WooCommerce related products slider or related products slider for WooCommerce is a must-have feature.
    335335
    336336WooCommerce recommended products are a great way to increase customer satisfaction. By showing WooCommerce recommended products on your WooCommerce product pages or WooCommerce product templates, you can increase the chances that customers will add additional items to their cart. It’s super easy to include a woocommerce recommendations or product recommendations section using the related products slider for WooCommerce widget.
    337337
    338338The WooCommerce related products slider plugin like widget is super easy to use and comes with plenty of features. If you are running a WooCommerce store, embellish your WooCommerce product pages or WooCommerce product templates with a beautiful related products slider for WooCommerce. Furthermore, by showing WooCommerce related products slider or related products slider for WooCommerce, you can make it convenient for customers to find other WooCommerce products they might be interested in. (Pro)
    339339
    340340<strong>[Product Price](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Show WooCommerce product prices dynamically on your store. This Elementor WooCommerce widget or product widget WooCommerce will automatically render the WooCommerce prices of a specific WooCommerce product. Even when a product is on sale, this simple widget will display both the WooCommerce sale price and the regular price. Besides, you can manage the style for the WooCommerce product price using this WooCommerce price addon.
    341341
    342342<strong>[Product Rating](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Display your WooCommerce product ratings on the product page using the product ratings widget of ShopLentor (Woo Builder). You can also control the product rating or WooCommerce rating style with this product widget WooCommerce or WooCommerce product page widget.
    343343
    344344<strong>[Product Reviews](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Show WooCommerce product reviews or WooCommerce reviews along with a review form for the customers to submit WooCommerce reviews on a product. Customer reviews on the WooCommerce product page can be helpful for potential customers to understand how people are reviewing a particular product.
    345345
    346346Customers can leave WooCommerce reviews and ratings on a WooCommerce product they have purchased by using the review form of this WooCommerce product reviews widget. These customer reviews WooCommerce provide other potential store visitors with valuable insights into the quality of a particular product a business offers.
    347347
    348348WooCommerce product reviews can be beneficial in improving the overall user experience on your WooCommerce store. Apart from that, many of your potential customers can easily decide whether or not to purchase a WooCommerce product after checking the WooCommerce reviews available on a product.
    349349
    350350<strong>[Product Image](https://woolentor.com/demo/product/ninja-silhouette/)</strong> – Display WooCommerce product images or WooCommerce photos on the WooCommerce single product page and take control over the styling of your WooCommerce product images and product thumbnails. Shoppers can also view the WooCommerce product images, Woocommerce featured images, or WooCommerce images in a user-friendly WooCommerce lightbox or WooCommerce popup.
    351351
    352352A WooCommerce product image is one of the most significant elements on a WooCommerce product page. When a customer visits your WooCommerce store, the first thing they will see is the WooCommerce product image. It allows shoppers to view how the WooCommerce product looks like and get an idea of its size and shape. A good WooCommerce product image can make all the difference in whether or not a shopper decides to add a product to their cart. In addition, a WooCommerce product image can convey additional information about a WooCommerce product, such as color options, features, and materials. A well-chosen WooCommerce product image can help to improve the shopper's experience and increase the conversion rates.
    353353
    354354<strong>[Advanced Product Thumbnails](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Get full control over the product thumbnails layout with this advanced Elementor WooCommerce builder widget or Woo builder widget. It allows showcasing product thumbnails in a WooCommerce product gallery slider, WooCommerce gallery slider, WooCommerce gallery carousel, or WooCommerce product gallery carousel, which makes the thumbnail images look quite appealing. You can even show or hide the WooCommerce sale badges or WooCommerce badges (Woo badges) if you want.
    355355
    356356A WooCommerce gallery slider or WooCommerce gallery carousel is a great way to showcase your WooCommerce product thumbnails in an eye-catching and engaging way. This Elementor WooCommerce product gallery carousel allows you to showcase multiple product thumbnails of a WooCommerce product at once, and the sleek design is sure to capture your audience's attention.
    357357
    358358In addition, the WooCommerce product gallery slider or WooCommerce product gallery carousel is fully responsive, meaning it will look great on any device. So, if you want to add some flair to your online storefront, try this Elementor WooCommerce widget to showcase your WooCommerce product thumbnails within an eye-catching WooCommerce gallery slider or WooCommerce gallery carousel. (Pro)
    359359
    360360<strong>[Advanced Product Thumbnails with Zoom](https://woolentor.com/demo/product/image-zoom/)</strong> – One of the most useful WooCommerce product addons that helps you showcase your product images or WooCommerce images with a WooCommerce zoom effect. This Elementor WooCommerce builder widget (Woo builder) for WooCommerce product zoom plays the role of a WooCommerce zoom image plugin, WooCommerce zoom plugin, or product image zoom for WooCommerce plugin.
    361361
    362362As ShopLentor's advanced product thumbnails with zoom widget works like a WooCommerce zoom image plugin or product image zoom for WooCommerce plugin, rest assured that you can effortlessly add a product image zoom or product photo zoom effect to the WooCommerce images of your store.
    363363
    364364This product zoom WooCommerce or WooCommerce product zoom widget allows your customers to zoom in on WooCommerce product images, making it easier for them to see details and get a better idea of what WooCommerce product they are buying. If you're looking for an easy way to improve the usability of your WooCommerce site, the WooCommerce image zoom or WooCommerce product zoom can be a great solution to help you achieve that.
    365365
    366366By leveraging this WooCommerce product zoom or WooCommerce zoom widget as a product image zoom for WooCommerce plugin, WooCommerce zoom image plugin, or WooCommerce zoom plugin, add versatile product zoom, product photo zoom, or hover over image zoom functionality to your WooCommerce product images, making it easy for customers to see detailed WooCommerce product information and get a closer look at the WooCommerce product they are interested in. With product zoom WooCommerce or WooCommerce product zoom, your customers will be able to see your WooCommerce products in greater detail, making it more likely that they'll make a purchase.
    367367
    368368On top of that, you can create a beautiful WooCommerce product thumbnails slider or WooCommerce product image slider on your store with this WooCommerce product addon or WooCommerce product options. Using such functionality of product zoom WooCommerce and WooCommerce product thumbnails slider on WooCommerce product templates or WooCommerce single templates, you can enhance the look and feel of the WooCommerce single product page.
    369369
    370370A product slider (Woo product slider / Woo slider) with thumbnails or WooCommerce product thumbnails slider is a great way to showcase a WooCommerce product on the WooCommerce product page. By displaying product thumbnails in a slider, you can give your customers a better idea of what they are looking at and make it easier for them to find their desired WooCommerce product. You can easily create a WooCommerce product thumbnails slider or WooCommerce product image slider using this Elementor WooCommerce widget.
    371371
    372372This way, customers can quickly browse through the WooCommerce product thumbnails slider or product slider with thumbnails and get an idea of what each WooCommerce product looks like. The product thumbnails provide a clear overview of a specific WooCommerce product, and the WooCommerce product thumbnails slider helps increase product visibility as well as encourage customer engagement.
    373373
    374374<strong>[Product Video Gallery](https://woolentor.com/demo/product/video-in-product-gallery/)</strong> – Add WooCommerce product videos to the product thumbnails gallery and get control over the WooCommerce gallery position. This video gallery widget or WooCommerce product video widget is not limited to including WooCommerce videos or product videos in the thumbnails gallery. In addition, you will be able to create an engaging video gallery of your WooCommerce products.
    375375
    376376You can also use this Elementor WooCommerce widget to add a products promo video of your WooCommerce product to the single product page. The products promo video in WooCommerce is a crucial part of the shopping experience. A products promo video allows customers to see a WooCommerce product in action and understand how they work. In addition, the products promo video can help to build brand awareness and establish an emotional connection with potential customers.
    377377
    378378<strong>[Product Share Widget](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Product sharing is a great way to promote your WooCommerce products and get word-of-mouth marketing. By displaying the product share options to your customers in a lively manner, you can make it easy for them to share WooCommerce products on their social media. This product share widget will help your visitors or customers to share products or spread the word about your WooCommerce products and increase sales.
    379379
    380380This product share widget works like a WooCommerce booster or booster for WooCommerce. In addition, by making it easy for customers to share products, you will build trust and goodwill. Customers who have a positive experience with your company are more likely to return in the future and recommend your WooCommerce products to others. Therefore, product sharing or product share is an essential part of any good marketing strategy.
    381381
    382382<strong>[Upsell Product](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Set the number of WooCommerce upsell products to display and change the style based on your needs. With this WooCommerce builder (Woo builder) upsell products widget or WooCommerce product upsell widget, you can encourage potential customers to include some more expensive WooCommerce products or add-ons to their orders so that it increases the overall order value.
    383383
    384384You can also use the WooCommerce upsell products widget or WooCommerce product upsell widget like a WooCommerce upsell plugin to display similar or related upsells products on a specific product's detail page and persuade customers to spend more on those WooCommerce upsells products.
    385385
    386386Upselling WooCommerce products is a common marketing technique that encourages customers to purchase higher-priced WooCommerce products. By showcasing upsells products or WooCommerce upsell products, you can increase your store's average order value and boost profits.
    387387
    388388So, what are you waiting for? Make sure to leverage the WooCommerce product upsell feature in your store and multiply your sales.
    389389
    390390<strong>[Upsell Product Layout (Custom)](https://woolentor.com/demo/product/ship-your-idea/)</strong> – Create a more personalized layout to display the WooCommerce upsell products. This WooCommerce builder product upsell widget or upsell WooCommerce widget gives you the ability to have even more control over the look and feel of the WooCommerce upsell products or upsells products section. You can even showcase WooCommerce upsell products in an attractive WooCommerce upsell carousel or upsells carousel.
    391391
    392392A WooCommerce upsell carousel or upsells carousel is an excellent way to increase your average order value and boost your sales. By offering upsell carousel or upsells carousel products, you can encourage customers to add items to their cart that they may not have otherwise considered. Upsell carousels or upsells carousels can be used to promote other WooCommerce products in your store.
    393393
    394394WooCommerce upsells carousel or WooCommerce upsell carousel is a great way to showcase and sell WooCommerce products. The WooCommerce upsells carousel displays WooCommerce products in a rotating carousel. ShopLentor (Woo builder) makes it easy to create a WooCommerce upsells carousel or WooCommerce upsell carousel to showcase WooCommerce upsells products on your store.
    395395
    396396With this Woo Builder widget for upsells products or product upsell, you can upsell WooCommerce products to your customers by displaying them within a beautiful upsell carousel or upsells carousel.
    397397
    398398WooCommerce upsells can be a great strategy to boost your purchase total. You can quickly promote several WooCommerce upsell products on your site using a WooCommerce upsells carousel. By including WooCommerce upsell products in an upsells carousel, you can increase the chances that shoppers will see and purchase them.
    399399
    400400The main key is to offer WooCommerce upsells products that customers might be interested in, based on what they're already looking at. Furthermore, a WooCommerce upsells carousel or product upsell carousel is easy to set up and configure. So you should definitely check this Elementor WooCommerce widget out.
    401401
    402402With this Woo builder or Elementor WooCommerce widget, you can upsell products on the WooCommerce product page for each of your WooCommerce products. This feature to display WooCommerce upsell products or upsells products in a WooCommerce upsells carousel or WooCommerce upsell carousel can be leveraged to increase sales and encourage customers to buy higher-quality items.
    403403
    404404Upsell products, upsell WooCommerce products, or WooCommerce upsell products can be displayed in many ways, including a product upsell carousel, WooCommerce upsell carousel, or WooCommerce upsells carousel, which allows customers to browse upsells products easily. So if you're looking for a way to increase your sales, consider utilizing the WooCommerce upsell products, or the product upsell widget of ShopLentor. With just a few clicks, you can start promoting additional WooCommerce products and generating additional revenue.
    405405
    406406And because the Elementor WooCommerce widget for upsells products or product upsell is highly customizable, store owners can tailor the experience to best fit their individual business needs. So if you're looking for a way to boost your eCommerce sales, consider using the WooCommerce upsells carousel widget or WooCommerce upsell carousel widget on your store. (Pro)
    407407
    408408<strong>[Product Stock](https://woolentor.com/demo/product/stock-progress-bar/)</strong> – Show the stock status of your WooCommerce products on the WooCommerce single product page or WooCommerce product templates using this product stock widget. When you show stock or stock available notice to your potential customers, including the number of WooCommerce stock available for a product (i.e. stock count), they will get a clear idea of whether a product is available for purchase. Besides, you can control the style of your product stock status.
    409409
    410410<strong>[Product Meta](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Show or hide WooCommerce product meta on the WooCommerce product page. Here product meta refers to product category, WooCommerce product tag, product SKU, etc. With the product meta widget, you can also customize the style of your WooCommerce product meta data.
    411411
    412412With the WooCommerce show terms feature of this WooCommerce product meta widget, you can display WooCommerce terms like product category and Woo product tags on the WooCommerce product page or WooCommerce single product page.
    413413
    414414Therefore, if you intend to display the WooCommerce category and WooCommerce tags of your WooCommerce products on the WooCommerce single product page of your store, this WooCommerce product meta widget will come in handy.
    415415
    416416<strong>[Call for Price](https://woolentor.com/doc/call-for-price/)</strong> – Allows you to add a click to call button to a WooCommerce store using which your customers will be able to call you to know the price of your WooCommer products. You may want to add WooCommerce products without showing the WooCommerce price, so your customers can call you to know the WooCommerce price. We found many websites that hide WooCommerce price for some of their WooCommerce products. For this type of website, we added this Elementor WooCommerce widget or WooCommerce price addon. If anyone clicks on the “Call for price” button from a mobile, he/she can easily contact you by phone call.
    417417
    418418On a WooCommerce site, the "WooCommerce no price" and "call for price" button can be used when a seller does not want to display the price of a WooCommerce product upfront or when the customer needs to request a quote based on their requirements. For example, ShopLentor's "WooCommerce no price" or "call for price" button widget or WooCommerce price addon lets you hide the price of a WooCommerce product until the customer calls the store admin to know the WooCommerce price.
    419419
    420420The "call for price" button is typically used to link to a phone number, which customers can directly call through their mobile devices. This type of WooCommerce button can be pretty helpful when selling WooCommerce products that are made to order or when the WooCommerce price is variable based on customer needs.
    421421
    422422<strong>[Suggest Price](https://woolentor.com/doc/suggest-price/)</strong> – Insert a button to get suggestions from your customers regarding the price of your WooCommerce products. Your customers can suggest a price for your WooCommerce products. You can add this button widget or WooCommerce price addon anywhere on your product details page. We recommend putting it on the right side of the add to cart button for WooCommerce. When a customer clicks the button, a contact form will open to send a WooCommerce product price suggestion or suggest product price. Finally, you can add a suggest product price button to any WooCommerce product page, allowing visitors to provide product price suggestion or price suggestion for the WooCommerce products of your store..
    423423
    424424Suggest Price Elementor WooCommerce widget works like a feature called WooCommerce name your price or name your price for WooCommerce products. In simple words, customers can use the suggest price button to name their own WooCommerce product prices or suggest product prices simply by submitting a simple form. A store owner or admin will then take the customer's input and review the price. The WooCommerce builder widget or Woo builder widget could be a great way to get customers interested in WooCommerce products they may not have considered of purchasing in the beginning.
    425425
    426426<strong>[QR Code](https://woolentor.com/demo/product/qr-code/)</strong> – Let your customers add any WooCommerce products to their cart just by scanning a simple QR code from their mobile phone. You can add this WooCommerce QR code widget or QR widget on the WooCommerce product page.
    427427
    428428This QR WooCommerce or WooCommerce QR widget makes it easy for customers to add a WooCommerce product to their cart. All they need to do is scan the simple QR code or WooCommerce QR code using their mobile devices, and the QR widget will automatically add the product to their cart. So if you're looking for a way to make your WooCommerce product or website more accessible, consider using a WooCommerce QR code widget.
    429429
    430430<strong>[Social Share](https://woolentor.com/demo/product/ship-your-idea-3/)</strong> – Enable your customers to share your WooCommerce products on different social media platforms. This Social Share for WooCommerce widget makes it easy for customers to share products with their friends and followers on various social media sites. Furthermore, you can share products with just a few clicks using this product share widget of ShopLentor. Whether you're looking to increase traffic to your WooCommerce product pages or offer customers a quick share option to share products with their friends, Social Share for WooCommerce widget is a wonderful option. (Pro)
    431431
    432432<strong>[Stock Progress Bar](https://woolentor.com/demo/product/stock-progress-bar/)</strong> – Add a WooCommerce stock progress bar to display the number of WooCommerce ordered products and available products. This Elementor WooCommerce widget lets you visually represent the available stock of a specific product by using a WooCommerce progress bar or product stock count progress bar for WooCommerce. Once your prospective customers see the amount of WooCommerce ordered products, sales count WooCommerce, or WooCommerce sales count, it becomes easier for them to understand how much demand that particular WooCommerce product has on your store.
    433433
    434434When it comes to online shopping, one of the most important factors for customers is knowing how much stock is available. This is where the WooCommerce stock progress bar widget comes in. This handy WooCommerce progress bar or stock progress bar widget allows you to display a product stock count progress bar on WooCommerce single product pages, WooCommerce product templates, or WooCommerce single templates letting customers know how much stock is left at a glance. Adding a WooCommerce progress bar can encourage customers to buy WooCommerce products before they sell out, and it can also help to avoid customer disappointment.
    435435
    436436In addition, the product stock count progress bar for WooCommerce module can also be configured to display the number of WooCommerce ordered products. Whether you're running a small online storefront or a large eCommerce operation, the WooCommerce Stock Progress Bar or WooCommerce progress bar is a valuable feature to keep your business running smoothly. (Pro)
    437437
    438438<strong>[Product Sale Schedule](https://woolentor.com/demo/product/patient-ninja/)</strong> – Set up a discount scheduler or WooCommerce sale schedule for every WooCommerce product of your store that is on sale. (Pro)
    439439
    440440
    441441<strong>Cart Page Widgets (Pro):</strong>
    442442
    443443<strong>[Cart Table](https://woolentor.com/demo/cart/)</strong> – Control each and every element of the cart table and customize the action buttons.
    444444
    445445<strong>[Cart Total](https://woolentor.com/demo/cart/)</strong> – Manage the style and layout of the cart total table. Aside from displaying the cart total, this cart WooCommerce widget lets you show product discount, WooCommerce cart discount, WooCommerce discounts, WooCommerce coupons, etc. WooCommerce discounts on the WooCommerce cart page are an excellent way to show appreciation for your customers and encourage them to purchase more WooCommerce products from your store.
    446446
    447447<strong>[Empty Cart Message](https://woolentor.com/demo/cart/)</strong> – Show a WooCommerce cart message when the cart is empty. This WooCommerce empty cart message widget will also allow you to change the WooCommerce cart message text and customize some essential styles.
    448448
    449449If you're running a WooCommerce store, it's important to setup a WooCommerce cart message. This message will let your customers know that they've reached the limit for the number of items they can purchase. By doing this, you can prevent oversold items and help keep your inventory levels in check. There are a few different ways to setup a WooCommerce cart message, so be sure to consult the WooCommerce documentation to find the best method for your store. Remember, a well-run WooCommerce store requires careful planning and attention to detail - setting up a WooCommerce cart message or cart message WooCommerce is just one small part of this process.
    450450
    451451<strong>[Empty Cart Redirect Button](https://woolentor.com/demo/cart/)</strong> – Get full control over the redirect button of an empty Cart page or WooCommerce add to cart redirect.
    452452
    453453<strong>[Cross Sell Product](https://woolentor.com/demo/cart/)</strong> – Showcase WooCommerce cross sell products on your WooCommerce store and control the styles for each cross sell widget element.
    454454
    455455Cross selling WooCommerce products is an incredible technique for selling related WooCommerce products to a customer who has already purchased something. For example, a customer who is buying a dress may also be interested in purchasing a matching handbag.
    456456
    457457ShopLentor’s Elementor WooCommerce widget to showcase WooCommerce cross sell products, or crosssell products which is fully compatible with WooCommerce's built-in feature for cross selling. By showing the customer relevant cross sell products or cross-sells products to the customer, businesses can increase the value of each transaction and boost their overall sales.
    458458
    459459When used correctly, cross selling can be an effective way to increase revenue and grow a business by recommending genuinely useful WooCommerce cross sell, cross-sells, or crosssell WooCommerce products to your potential store visitors.
    460460
    461461<strong>[Cross Sell Product Layout (Custom)](https://woolentor.com/demo/cart/)</strong> – Get even more control over the cross selling products or WooCommerce cross sell products using this fantastic Cross-sell products widget or crosssells products widget.
    462462
    463463ShopLentor can assist you with product promotion on Cart for WooCommerce. If you are wondering how you can achieve this, ShopLentor's WooCommerce cross-sell products widget or WooCommerce cross sell widget is the way to go. With a little creativity, you can showcase WooCommerce crosssell products in a stunning cross sells or crosssells carousel.
    464464
    465465Adding a beautiful carousel for WooCommerce cross sell products on the Cart page, product promotion on Cart becomes a lot easier than you might expect. This WooCommerce cross-sell products slider can be utilized as a promotional product slider as well to urge customers to purchase more items by showing relevant WooCommerce products to them.
    466466
    467467If you use this Elementor WooCommerce widget for cross-selling WooCommerce products properly, you can effectively set up an engaging section for WooCommerce cross sell product promotion, multiple product promotions, or any other WooCommerce promotion. If you want to enhance sales and conversion rates, WooCommerce product promotion on cart is definitely worth considering.
    468468
    469469
    470470<strong>Checkout Page Widgets (Pro):</strong>
    471471
    472472<strong>[Checkout Additional Info Form](https://woolentor.com/demo/checkout/)</strong> – Modify the fields and style of the additional information form.
    473473
    474474<strong>[Checkout Billing Form](https://woolentor.com/demo/checkout/)</strong> – Get full control over the fields and styles of the billing form.
    475475
    476476<strong>[Checkout Shipping Form](https://woolentor.com/demo/checkout/)</strong> – Manage all the fields and necessary styles of the shipping form.
    477477
    478478<strong>[Checkout Payment Method](https://woolentor.com/demo/checkout/)</strong> – Set your own style for the payment method section of the Checkout page.
    479479
    480480<strong>[Checkout Coupon Form](https://woolentor.com/demo/checkout/)</strong> – Control the layout and style of the coupon form effortlessly.
    481481
    482482<strong>[Checkout Login Form](https://woolentor.com/demo/checkout/)</strong> – Customize the login form as per your requirements.
    483483
    484484<strong>[Checkout Order Review](https://woolentor.com/demo/checkout/)</strong> – Allow your customers to review the order details before placing their orders. To name a few, WooCommerce ordered products, subtotal, WooCommerce discounts, WooCommerce shipping cost, WooCommerce additional cost, WooCommerce extra cost, WooCommerce checkout cost, WooCommerce costs, etc. With this Elementor WooCommerce builder widget or Woo builder widget, you can also change the style of the order review form exactly the way you want.
    485485
    486486
    487487<strong>My Account Page Widgets (Pro):</strong>
    488488
    489489<strong>[My Account](https://woolentor.com/demo/my-account/)</strong> – Control the navigation menu items and style of the account page.
    490490
    491491<strong>[My Account Dashboard](https://woolentor.com/demo/my-account/)</strong> – Display the dashboard options from the account page separately and set your own style.
    492492
    493493<strong>[My Account Download](https://woolentor.com/demo/my-account/)</strong> – Display the download options from the account page separately.
    494494 
    495495<strong>[My Account Edit](https://woolentor.com/demo/my-account/)</strong> – Show a WooCommerce form for your customers to edit the account information and control the style of the form elements.
    496496
    497497<strong>[My Account Address](https://woolentor.com/demo/my-account/)</strong> – Enable your customers to provide their billing and shipping details.
    498498 
    499499<strong>[My Account Login Form](https://woolentor.com/demo/my-account/)</strong> – Control the layout and style of the customer login form.
    500500
    501501<strong>[My Account Register Form](https://woolentor.com/demo/my-account/)</strong> – Control the layout and style of the customer registration form.
    502502
    503503<strong>[My Account Logout](https://woolentor.com/demo/my-account/)</strong> – Show a link to log out and customize the link based on your needs.
    504504
    505505<strong>[My Account Order](https://woolentor.com/demo/my-account/)</strong> – Display the order details from the account page separately.
    506506
    507507
    508508<strong>Shop or Archive Page Widgets:</strong>
    509509
    510510<strong>[Product Archive Layout](https://woolentor.com/demo/shop/)</strong> – Display your WooCommerce products in the WooCommerce layout supported by your theme and customize some necessary styles if necessary. This Elementor WooCommerce builder widget fetches all your WooCommerce products and displays them depending on your theme style alongside a WooCommerce product sort or WooCommerce sort and WooCommerce pagination.
    511511
    512512One of the great things about WooCommerce is that it gives customers a lot of flexibility when it comes to sorting WooCommerce products. For example, WooCommerce product sort or WooCommerce sort options can be configured to sort products by popularity, product price, or product rating. With WooCommerce product sort or WooCommerce sort, your customers can sort WooCommerce products any way they want. WooCommerce store owners or visitors can use the WooCommerce sort or WooCommerce product sort feature to control how WooCommerce products are displayed on a WooCommerce site. So if you're looking for a way to give your online storefront an edge, be sure to leverage the WooCommerce product sort or WooCommerce sort option.
    513513
    514514You can also make use of this Elementor Woo builder widget to create an eye-catching WooCommerce product catalog to showcase your WooCommerce products and make it easy for customers to find what they're looking for. To put it in a nutshell, this WooCommerce products archive widget is mainly designed for WooCommerce product display based on your theme style.
    515515
    516516<strong>[Product Archive Layout (Custom)](https://woolentor.com/demo/product-category/clothing/hoodies/)</strong> – Display your WooCommerce products using a more customized layout and get control over the styles of every element. You can easily create an appealing product list for WooCommerce websites with this Elementor WooCommerce builder widget or Woo builder widget.
    517517
    518518You can also use this product catalog WooCommerce or WooCommerce catalog widget to showcase your WooCommerce products in a WooCommerce product catalog. So even if you want to create multiple WooCommerce categories designs for every WooCommerce category your online storefront has, this WooCommerce category product widget or WooCommerce widget has you covered.
    519519
    520520This incredible Elementor WooCommerce widget allows you to display your WooCommerce products in a WooCommerce responsive grid view. WooCommerce grid products or grid view products can be helpful if you want to show off multiple WooCommerce products at once or if you want to give customers a better way to browse through your WooCommerce products.
    521521
    522522In addition, the grid products or grid view products could be the better option when you're selling WooCommerce products that are visually appealing. WooCommerce grid products or grid view products can also be displayed in various ways with this Elementor WooCommerce widget.
    523523
    524524Furthermore, you can use WooCommerce product filters and WooCommerce search bar along with this Woo builder widget for WooCommerce grid products or grid view products. This way, customers can easily filter through the WooCommerce products to find what they're looking for.
    525525
    526526You can even have the flexibility to tailor the WooCommerce product display to your specific needs. Ultimately, the WooCommerce product grid for shop and archive pages is a powerful Elementor WooCommerce widget that can be leveraged to create an engaging and user-friendly shopping experience.
    527527
    528528The WooCommerce Product listing page is the most important page on your WooCommerce store. It's where customers go to browse and buy your WooCommerce products. By default, WooCommerce displays products in a WooCommerce grid layout. But sometimes, customers may want to view WooCommerce products or product list for WooCommerce in a list layout instead. That's where this Elementor WooCommerce widget for grid and list view WooCommerce comes in. This Elementor WooCommerce widget lets you add both grid and list view WooCommerce options to your product list for WooCommerce.
    529529
    530530Customers can shift between the two views simply by clicking on the grid and list view WooCommerce tabs or toggle buttons while browsing the WooCommerce products of your online storefront. Best of all, the WooCommerce product listing page with list and grid view WooCommerce will be responsive and mobile friendly! If you are looking for a way to provide your customer with an amazing user experience, this grid and list view WooCommerce widget is a must-have for any WooCommerce store. (Pro)
    531531
    532532<strong>[Horizontal Filter](https://woolentor.com/demo/horizontal-filter/)</strong> – Provide your store visitors with various Woocommerce products filters or Woo products filters horizontally (Woo filters) while having absolute control over the styles and layouts of those WooCommerce product filters or product filter for WooCommerce. You can leverage this WooCommerce product filter widget or Elementor filter widget like a WooCommerce filter plugin to add several product filters for WooCommerce or WooCommerce shop filters, such as WooCommerce search filter, category filter WooCommerce, WooCommerce search by price filter, WooCommerce search by tag, WooCommerce sort, and so on.
    533533
    534534The horizontal product filter for WooCommerce is one of the powerful Elementor WooCommerce widgets of ShopLentor (all in one for WooCommerce), which allows customers to narrow down their WooCommerce search results by various product options, such as product categories, WooCommerce tags, etc.
    535535
    536536These WooCommerce filters or WooCommerce products filter (Woo products filter) can be useful for shoppers and store owners, as it helps to improve the best shopping experience and increase conversions. On the other hand, this WooCommerce shop filter widget or WordPress WooCommerce product filter widget works like a WooCommerce filter plugin or product filter for WooCommerce plugin that provides your customers with intuitive WooCommerce filters when they search for a WooCommerce product in your store.
    537537
    538538Different types of filtering options are offered by this product filter, WooCommerce shop filter, or Elementor filter widget of ShopLentor (WooCommerce addon for wp page builder). So, what are you waiting for? Leverage this incredible WordPress WooCommerce product filter widget on your store and enhance the user experience ans start converting more of your visitors into customers.
    539539
    540540<strong>[Vertical Filter](https://woolentor.com/demo/filter-vertical/)</strong> – Display several WordPress WooCommerce product filters vertically (Woo filters) on your WooCommerce store and get complete control over the styles and layouts of those WooCommerce product filters or product filter for WooCommerce. When you associate this WooCommerce product filter widget, Elementor filter widget, or vertical filter widget with an archive widget, your products will become WooCommerce filterable products. It means that store visitors can filter through the WooCommerce products or filterable products based on different WooCommerce filters or WooCommerce shop filters and easily find or view products they are looking for.
    541541
    542542WooCommerce filterable products are a great way to keep WooCommerce products of your online storefront organized and allow customers to find precisely what they're looking for. Using this WooCommerce product filter widget or vertical filter widget, you can incorporate a WooCommerce products filter (Woo products filter) on the shop and archive pages that will enable your customers to filter products by various product attributes or criteria.
    543543
    544544This WordPress WooCommerce product filter, WooCommerce shop filter or Elementor filter widget of ShopLentor (Woo builder) provides different types of filterting options such as WooCommerce search filter, category filter WooCommerce that can be nifty to improve the shopping experience on your WooCommerce store while driving more sales.
    545545
    546546If you don't want your visitors to jump to another store, you must ensure that they don't have to wade through a long list of WooCommerce products in your store. In this case, you can add WooCommerce filterable products to your store by using the WooCommerce product filter widget offered in ShopLentor (Woo builder). This product filter widget or Woo products filter widget can help you enhance the overall user experience by allowing the users to filter down the WooCommerce products that don't comply with their needs.
    547547
    548548== 🧱 Available Gutenberg Blocks: ==
    549549
    550550<strong>General Gutenberg Blocks</strong>
    551551
    552552<strong>[Product Tab](https://woolentor.com/demo/block-product-tab/)</strong> – WooCommerce product tabs Gutenberg block by ShopLentor lets you showcase your WooCommerce products category wise in a tabbed format. If you want to organize your WooCommerce products and make them easier to find for your store visitors, this Gutenberg WooCommerce block for WooCommerce product tabs can be handy.
    553553
    554554You can leverage the tabbed category product listing feature to display WooCommerce products from different product categories in various WooCommerce category tabs. Hence it becomes easy for customers to browse through WooCommerce products from each product category simply by clicking on a WooCommerce category tab. Furthermore, customers are not required to visit an individual archive or category page to view WooCommerce products from a specific product category.
    555555
    556556If you want to remove product tab, you can also achieve this in the settings panel of this Gutenberg WooCommerce block. Doing so is helpful for customers who don't want to show particular WooCommerce product tabs or WooCommerce product categories in a tabbed format on their websites. The WooCommerce Gutenberg block for product tabs can be used on any page you want to showcase your WooCommerce products in a tabbed format based on product categories.
    557557
    558558This WooCommerce block for Gutenberg block editor includes everything you need to get started with WooCommerce product tabs. Plus, the Gutenberg WooCommerce block offers the same functionalities as the WooCommerce product tabs widget or category tabs widget of ShopLentor, designed exclusively for the Elementor page builder. Meaning you are not forced to use the Elementor page builder anymore.
    559559
    560560You can now include a tabbed category product listing section in your online storefront using the WooCommerce Gutenberg block editor of WordPress alone. This product tab WooCommerce block for Gutenberg offers customers a wide variety of customization options using which a store owner can control almost every element of this WooCommerce Gutenberg block or Gutenberg WooCommerce block.
    561561
    562562<strong>[Product Grid](https://woolentor.com/demo/product-grid-block/)</strong> – The WooCommerce product grid Gutenberg block of ShopLentor enables you to display WooCommerce products in a responsive grid. You can place this product grid Gutenberg block anywhere you like on your WooCommerce site. The output rendered by this WooCommerce Gutenberg block is fully responsive and will adjust to the screen size of the device it is being viewed on. It is also possible to customize the WooCommerce products grid block from the Gutenberg block settings.
    563563
    564564If you don't want to use the Elementor Page Builder and stick with the native Gutenberg editor, you should try out this Gutenberg block for WooCommerce product grid. It works exactly the same as the Elementor grid widget or product grid widget of ShopLentor. Meaning you can utilize this WooCommerce Gutenberg block to showcase your WooCommerce products in a responsive grid for WooCommerce. All you have to do is enable Gutenberg product block for WooCommerce responsive grid.
    565565
    566566Furthermore, this Gutenberg block for WooCommerce gives you full control over the WooCommerce grid layout or WooComerce product grids. You can also choose how many WooCommerce products to display per page and what order they are displayed in. Displaying WooCommerce products in a responsive grid is crucial for a WooCommerce store, as it will ensure that visitors can browse through the store no matter what type of devices they use.
    567567
    568568So, what are you waiting for? Leverage this WooCommerce product grid block for the Gutenberg block editor and exhibit your WooCommerce products in a more visually appealing way. If you are interested in displaying your WooCommerce products using the Gutenberg block editor only, this WooCommerce Gutenberg block could be a great solution.
    569569
    570570<strong>[Customer Review](https://woolentor.com/demo/customer-review-block/)</strong> – Customer reviews are an essential part of any eCommerce business, and WooCommerce is no exception. The default customer review system in WooCommerce is basic, but you can improve it with ShopLentor's customer review Gutenberg block. This customer reviews WooCommerce Gutenberg block allows you to add and display customer reviews on any post or page you wish.
    571571
    572572There is no limitation to using this customer reviews block or WooCommerce product reviews block only on a single product page. Customer reviews, WooCommerce reviews, or WooCommerce product reviews can even assist you in boosting conversion rates by fostering a sense of trust and credibility among potential customers.
    573573
    574574The customer review Gutenberg block for WooCommerce can also be customized to match the look and feel of your website. Besides, the WooCommerce Gutenberg block includes an option to insert star ratings, making it easy for customers to leave ratings and feedback on a WooCommerce product. It also helps potential customers to make informed decisions about WooCommerce products.
    575575
    576576<strong>[Promo Banner](https://woolentor.com/demo/block-promo-banner/)</strong> – In this competitive world of eCommerce business, it's important to make sure your WooCommerce products stand out from the crowd. One way to do this is to promote products using promo banners. Promo Banners are a great way to grab attention and draw potential customers to your WooCommerce site or online storefront. With ShopLentor's promo banner Gutenberg block, you can easily create and customize promo banners to promote products on your WooCommerce store.
    577577
    578578You can even use this Gutenberg block, like a banner widget or banner designer, to add banners or banner images to your website or blog. It doesn't have to be a WooCommerce page. This promo banner block for Gutenberg will help you design responsive banners or responsive banner images, so you can rest assured that all the promo banners will look great on any device.
    579579
    580580You can also utilize an announcement banner in your WooCommerce store to notify customers of new WooCommerce products promo or product promotions. So, if you're looking for an easy way to promote products through a promo banner or announcement banner, adding promo banners is a great option.
    581581
    582582<strong>[Special Day Offer](https://woolentor.com/demo/block-special-day-offer/)</strong> – Make an offer for WooCommerce to your customers by adding a beautiful banner with the special day offer block. This Gutenberg block is easy to use and has various customization options that make it ideal for businesses of all sizes. You can leverage this Gutenberg block to add banners on your WooCommerce store during any sort of special days like Christmas, Halloween, Black Friday, Cyber Monday, etc. businesses can easily create WooCommerce special offers and banners to promote their WooCommerce products and any other services. WooCommerce special offers can be used to attract new customers and keep existing ones coming back for more.
    583583
    584584A special day offer banner can be a great way to attract attention and boost sales. By making special product offer and product promotions, businesses can encourage customers to buy more products and services. You can even use special offers to promote seasonal products, clearance items, or anything else you want to move quickly. With this Gutenberg block for special day offer, making special offers is easy and effective in a WooCommerce site. Just create a banner image and display it on your WooCommerce site. You can even use special offers to drive traffic to specific landing pages or product pages. So if you're looking for a way to boost sales and drive traffic, WooCommerce special offers are a great option.
    585585
    586586<strong>[Image Marker](https://woolentor.com/demo/blocks-image-marker/)</strong> – Add image markers or image hotspots to an image using the image marker Gutenberg block of ShopLentor. This image marker block will allow you to add multiple markers to any image you want. Usually, store owners use WordPress markers or WooCommerce markers on various positions of a product image to show detailed information for every specific part of that product where the WooCoomerce markers are added.
    587587
    588588This Gutenberg image marker block allows you to add a title and description for each product marker or WooCommerce marker. Customers can view the details in a tooltip option simply by hovering over the WooCommerce hotspots or image hotspots. Adding multiple markers to product images is a wonderful way to highlight specific parts of WooCommerce products on an online storefront. Not only do product markers add a touch of interactivity, but they can also help to boost engagement and encourage website visitors to explore your WooCommerce products in greater depth.
    589589
    590590With this WooCommerce product marker or image marker Gutenberg block, you can quickly and easily add multiple markers to your product images with just a few clicks. Overall, WooCommerce product markers or WooCommerce product image hotspots can be a valuable option for creating a more interactive experience for your users. So if you're looking for a way to add some extra flair to your product photos, product markers are worth considering.
    591591
    592592<strong>[Category Grid](https://woolentor.com/demo/block-category-grid/)</strong> – WooCommerce product category grid block allows you to show WooCommerce product categories in a grid view. The category grid view or categories grid is an excellent way for WooCommerce category showcase and makes it easy for customers to find what they're looking for. You can also use this category grid block or WooCommerce product category block for Gutenberg editor like a WooCommerce category product widget or WooCommerce product category widget to create an eye-catching WooCommerce category list, WooCommerce category carousel, product category carousel, WooCommerce category slider, product category slider, or category slider for WooCommerce.
    593593
    594594This WooCommerce Gutenberg block for WooCommerce product category grid gives you the flexibility to control the style of WooCommerce category grid view and WooCommerce product category slider. You can even leverage this WooCommerce Gutenberg block to order category, limit the number of product categories, show count, set the number of columns, gutter space, and many more. On top of that, the WooCommerce category grid block is fully responsive and mobile-friendly. If you are looking for a way to display your WooCommerce product category compellingly, you should definitely check this WooCommerce Gutenberg block of ShopLentor.
    595595
    596596<strong>[Frequently Asked Questions](https://woolentor.com/demo/block-faq/)</strong> – If you're selling products online, then you know that product FAQ for WooCommerce is an important part of the customer journey. Not only do they help to provide common product question and answer, but they can also help to reduce returns and increase customer satisfaction.
    597597
    598598Fortunately, ShopLentor has a Gutenberg FAQ block for product FAQ for WooCommerce or WooCommerce FAQs that enables you to add a WordPress responsive accordion with FAQ or responsive frequently asked questions section to your WooCommerce store. With this useful WooCommerce product FAQ block for Gutenberg editor or Gutenberg FAQ block, you can also include category wise FAQs or category wise frequently asked question.
    599599
    600600It is also possible to leverage this Gutenberg FAQ block for WooCommerce FAQ or product FAQ to place a FAQ in single product page or a responsive frequently asked questions section on any page you want on your WooCommerce website. The FAQ Gutenberg block or Gutenberg FAQ block even comes with many customization options using which you can design a stylish FAQ to improve the customer experience.
    601601
    602602Adding a product FAQ or WooCommerce FAQ section to your WooCommerce store can be a great way to provide additional information about your WooCommerce products and help customers make informed purchase decisions. Customers usually ask question about WooCommerce products to know more detail about specific products.
    603603
    604604That's where a WordPress responsive accordion with FAQ can assist in reducing customer support inquiries, as customers can find answers to their commonly asked questions without needing to contact you directly.
    605605
    606606Even though the Gutenberg FAQ block is mainly designed to add a WordPress responsive accordion with FAQ, you can still utilize the FAQ Gutenberg block as a Gutenberg accordion block or an accordion Gutenberg block to design and add a Gutenberg custom accordion to your WooCommerce site.
    607607
    608608<strong>[Brand Logo](https://woolentor.com/demo/block-brand-logo/)</strong> – Showcase the brand logos of your clients, partners, or sponsors on your WooCommerce website using this brand logo block for Gutenberg blocks editor. You can also add a title and URL along with the logo image. You can provide proof that your business is credible by displaying multiple brand logos in a beautiful logo grid. That's why it's essential to have a brand logo showcase on your website.
    609609
    610610This brand logo showcase Gutenberg block or brand logo gallery Gutenberg block enables you to display a group of brand logo images in an eye-catching logo grid. In this Gutenberg logo block settings, you will find some customization options as well, using which you can personalize the look and feel of the brand logo grid section. If you're looking for a way to take your website to the next level, consider adding a brand logo showcase to your website leveraging the Gutenberg logo block of ShopLentor (Addons for Gutenberg).
    611611
    612612Apart from showing the logos in a grid format, there are other ways to make them look even more attractive. For example, you can showcase brand logos in a brand logo carousel or brand logo slider, making it easy for visitors to browse through them. Even though the option to showcase the logos in a sliding format is not present in this brand logo showcase block for Gutenberg editor, we'll introduce them very soon. Make sure to keep an eye on our plugin update!
    613613
    614614<strong>[Product Curvy](https://woolentor.com/demo/block-product-curvy/)</strong> – As the block name "Product Curvy" suggests, this WooCommerce Gutenberg block is a wonderful way to showcase your WooCommerce products in a captivating manner where the product images are shown inside a circular shape. This WooCommerce block for Gutenberg editor works precisely like the Elementor WooCommerce widget available in ShopLentor named "Product Curvy."
    615615
    616616You can also have the power to choose a layout for your WooCommerce product display. Besides, the WooCommerce product block for Gutenberg editor offers a plethora of customization options to manage each element rendered by this WooCommerce Gutenberg block.
    617617
    618618Do you want to display your WooCommerce products in a unique WooCommerce layout as well as grab the attention of your potential store visitors? If you do, then enable Gutenberg product block and leverage this WooCommerce Gutenberg block.
    619619
    620620<strong>[WooCommerce Breadcrumbs](https://woolentor.com/demo/woolentor-template/shop-for-gutenberg-block/)</strong> – Breadcrumbs are an important part of website navigation, especially on websites with a lot of content. They help users to see their position in the store and make it easy to backtrack if they need to. Breadcrumbs nav or breadcrumb navigation can also be a great way to improve the usability of your WooCommerce website.
    621621
    622622WooCommerce breadcrumb is a simple breadcrumbs block for Gutenberg editor that allows you to add breadcrumbs nav, breadcrumb nac, or breadcrumb navigation to your online storefront. The Gutenberg block for WooCommerce breadcrumb is super easy to use, and gives you the ability to customize the breadcrumbs navigation trail to your desire.
    623623
    624624Breadcrumb navigation is typically displayed as a row of links, with the current page represented by a disabled link. The WooCommerce breadcrumb feature is a fantastic way to improve the navigation of your website.
    625625
    626626Additionally, woocommerce breadcrumb makes it easy to return to a specific page if you need to. For example, if you are looking for a specific product on a woocommerce website, you can use the breadcrumbs to quickly find the page that you need. woocommerce breadcrumb is a simple, yet essential, tool for anyone who uses woocommerce websites.
    627627
    628628<strong>[Archive Title](https://woolentor.com/demo/woolentor-template/shop-for-gutenberg-block/)</strong> – Show a custom archive title and a description on any archive page or archive template of your WooCommerce site using this custom Gutenberg block available in ShopLentor. You can also use this WooCommerce Gutenberg block for the product archive title to customize some necessary styles of the archive title and description. All you need to do is enable this custom Gutenberg block.
    629629
    630630<strong>[Store Feature](https://woolentor.com/demo/block-product-curvy/)</strong> – When setting up a WooCommerce store, it is essential to showcase your business or store features in order to attract customers. Therefore, showing off your WooCommerce store features is one of the most crucial aspects of running a successful eCommerce business. By informing your potential customers about the special features or perks of your WooCommerce store, you can let them know what you have to offer and why they should choose you.
    631631
    632632With the help of this block for Gutenberg editor, you can highlight some of the unique features of your WooCommerce store in different layouts that let potential customers know what your store has to offer and set your WooCommerce store or business apart from the competition.
    633633
    634634
    635635<strong>For Single Product Page:</strong>
    636636
    637637<strong>[Product Title](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display WooCommerce product title dynamically on the single product page or WooCommerce product page of your WooCommerce site. This WooCommerce product block for Gutenberg editor also gives you the ability to customize tha necessary layout and style for the WooCommerce product title. You can even choose what HTML heading tag you want to use for your WooCommerce product title.
    638638
    639639<strong>[Product Description](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Another Gutenberg dynamic block by ShopLentor (Gutenberg addon) fetches the product description for every WooCommerce product on the WooCommerce single product page or the WooCommerce product page. You can place the WooCommerce Gutenberg block anywhere on the product details page. This Gutenberg ready block for WooCommerce product description also allows you to customize the styles according to your requirements.
    640640
    641641<strong>[Product Price](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Use this WooComerce Gutenberg block to display WooCommerce product prices dynamically on the single product page. You can leverage this dynamic Gutenberg block or WordPress Gutenberg block to render the WooCommerce prices of your WooCommerce products. This advanced Gutenberg block can even display both the WooCommerce sale price and the regular price even when a product is on sale. Besides, you can manage the style for the WooCommerce product price using this Gutenberg block for WooCommerce.
    642642
    643643<strong>[Product Short Description](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Show a brief overview of your WooCommerce product on the product details page using this Gutenberg block for WooCommerce Product Short Description. WooCommerce product short description helps potential customers understand your product and what it can do for them. You can also highlight the key features of your WooCommerce product by including a short description on the WooCommerce single product page. Besides, this WooCommerce product block for Gutenberg editor allows you to manage the layout and style of your WooCommerce product short description.
    644644
    645645This way, you can focus on a particular feature of your WooCommerce product, especially if your WooCommerce product has multiple features. WooCommerce product short description is an essential part of any WooCommerce store as it helps improve the usability of your online storefront. So, if you are building your WooCommerce store with WordPress Gutenberg block editor, make sure you take advantage of this useful WooCommerce Gutenberg block.
    646646
    647647<strong>[Add to Cart](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display a WooCommerce add to cart button on your website's WooCommerce product page or single product page by using this WooCommerce Gutenberg block of ShopLentor (Gutenberg addon). By default, this single product cart button is usually located at the bottom of the WooCommerce product page, next to the WooCommerce product price and description.
    648648
    649649Still, this WooCommerce Gutenberg block will not force you to place the single product cart button or add to cart button for WooCommerce in the same place. Meaning you can place this WordPress Gutenberg dynamic block anywhere you wish on the WooCommerce product page, WooCommerce product template, or WooCommerce single templates.
    650650
    651651The single product cart button or WooCommerce add to cart button can also be customized to match the style of your site. The best part about this WooCommerce Gutenberg block is that it doesn't limit the functionality only to placing and customizing the Woo add to cart button or add to cart button for WooCommerce.
    652652
    653653You can even change the WooCommerce add to cart button label, or the WooCommerce add to cart button text of the single product cart button or cart button for WooCommerce with this WooCommerce add to cart Gutenberg block. All these features available in this dynamic Gutenberg block, make it easier for store owners to design a custom add to cart button WooCommerce by personalizing the WooCommerce add to cart button style as per their needs.
    654654
    655655<strong>[Product Image](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – This product image block for the WordPress Gutenberg block editor lets you showcase WooCommerce product images on the single product page or the WooCommerce product page. It also allows you to include WooCommerce product thumbnails alongside the WooCommerce featured image. In addition, by clicking on a magnifying glass icon, visitors can view the WooCommerce product images in an interactive WooCommerce modal or WooCommerce popup which can help give your customers a closer look at your WooCommerce products.
    656656
    657657Viewing WooCommerce product images is an essential part of the buying process for any online shopper. The WooCommerce product images provide potential customers with a way to see what they're buying and can be incredibly helpful in making a final purchase decision. Since WooCommerce sites don't have the same brick-and-mortar presence as traditional stores, it's even more vital for them to have clear and attractive product images. After all, they are the first thing that potential customers will see when they visit your site.
    658658
    659659A quality WooCommerce product image can influence the decision of a customer to add a product to their cart. In addition, a WooCommerce product image can convey extra details about a WooCommerce product, such as color options, features, and materials. Therefore, a great WooCommerce product image can help to enhance the shopper's experience and boost the conversion rates. So, make sure to this give this Gutenberg photo block a try!
    660660
    661661<strong>[Product Rating](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display product ratings on the WooCommerce products of your store using this product rating Gutenberg block. For a shopper, product rating is one of the most important things to consider when choosing a product from an online store. ShopLentor (Gutenberg addon) offers a rating Gutenberg block or star rating block that allows businesses to showcase product ratings on the WooCommerce product page using the WordPress Gutenberg block editor.
    662662
    663663WooCommerce product ratings give your potential customers an insight into what other customers think about a specific WooCommerce product that can help them make a more informed purchasing decision. When visitors look at a WooCommerce rating or product rating, they get an honest opinion from someone who has actually used the product.
    664664
    665665If you are interested in using the Gutenberg builder or Gutenberg editor, be sure to add this product rating block, star rating block, or rating Gutenberg block to the WooCommerce single product page. This WooCommerce rating Gutenberg block even lets you customize the product rating style from the Gutenberg styling tab of this WooCommerce Gutenberg block.
    666666
    667667<strong>[Product Data Tabs](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – WooCommerce product tabs block offers you the flexibility to display WooCommerce product tabs in any place you wish on the WooCommerce single product page. Plus, with this product page tabs block or Woo product tabs block, you can control how WooCommerce product tabs will appear, personalizing the necessary style for WooCommerce product tabs or Woo product tabs.
    668668
    669669This WooCommerce Gutenberg block will give you full control over the presentation of the WooCommerce product tabs or product page tabs on the single product pages of your WooCommerce website. Aside from that, you can manage the appearance of product page tabs
    670670for various devices by using the settings offered by this tabs block for Gutenberg block editor.
    671671
    672672<strong>[Related Products](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – ShopLentor (Gutenberg addon) has made it possible to showcase WooCommerce related products on your online storefront using the WordPress Gutenberg block editor. WooCommerce related products help boost your sales and encourage customers to purchase additional items. You can enable Gutenberg product block and use it on the WooCommerce product page or WooCommerce product template to show products related to the category you are currently viewing, making it easy for customers to find the right WooCommerce product.
    673673
    674674In short, this WooCommerce Gutenberg block or product block for Gutenberg editor is mainly designed to display WooCommerce related products, similar products, or product recommendations based on the WooCommerce product whose details page you are on. Since the WooCommerce Gutenberg block for WooCommerce related products lets you show products related to a specific category, it can be really handy for your customers to find the WooCommerce related products they are looking for.
    675675
    676676You can also customize the style of the WooCommerce related products block to better match your website's overall look and feel. You can also control a couple of settings for the WooCommerce related products block, such as the number of columns you want in the WooCommerce responsive grid, the number of WooCommerce related products per page, WooCommerce product order, and so on.
    677677
    678678Showing WooCommerce recommendations or WooCommerce product recommendations on the product details page can improve the usability of your WooCommerce site. There are multiple ways to accomplish this, but one of the most effective ways is to add a WooCommerce related products section in a WooCommerce responsive grid or responsive grid for WooCommerce. By utilizing this WooCommerce Gutenberg block, you can easily achieve that.
    679679
    680680<strong>[Product Meta](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display WooCommerce product meta on the single product page of your online storefront using ShopLentor's product meta block for Gutenberg block editor. WooCommerce Product meta refers to product categories, WooCommerce product tags, product SKUs, and so on. You can also change the appearance of your WooCommerce product meta data using this WooCommerce Gutenberg block for product meta data.
    681681
    682682You can even customize WooCommerce terms or WooCommerce product meta like product category and Woo product tags on the WooCommerce product page or WooCommerce single product page using the product meta block of ShopLentor (Gutenberg addon). For example, WooCommerce product meta color, meta link color, meta link hover color, etc.
    683683
    684684Therefore, if you intend to display the WooCommerce category and WooCommerce tags of your WooCommerce products on the WooCommerce product page of your store, this WooCommerce product meta block for Gutenberg editor is an ideal solution.
    685685
    686686<strong>[Additional Information or Additional Description](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – When it comes to providing customers with as much information about your WooCommerce product as possible, adding a product additional description or product additional information on the WooCommerce product page is very important. Enable Gutenberg product block for product additional information offered by ShopLentor (Gutenberg addon). The additional WooCommerce product description can include additional descriptions, such as weight, color, dimension, and some other information.
    687687
    688688Displaying such information on the single product page can be handy for customers as they can view specific details for a WooCommerce product they are interested in. You can also customize some necessary styles to change the look and feel of the additional description block for the Gutenberg block editor. As a result, the description under products or additional Woo description can lead to happier customers and increased sales for your business.
    689689
    690690Including product additional information or additional description under products on the product details page can also help to improve your search engine ranking, as it provides more content for search engines to index. If you're looking for a way to enhance your WooCommerce store, consider using this WooCommerce Gutenberg block and show additional product information for WooCommerce products on the WooCommerce product pages.
    691691
    692692<strong>[Product Stock](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display the product stock or stock count on the WooCommerce product page or WooCommerce single product page using the product stock block of ShopLentor (Gutenberg addon). WooCommerce product stock refers to the number of units of a particular WooCommerce product available for sale. This WooCommerce Gutenberg block helps your customers get an idea about the stock status of the stock quantity of your WooCommerce products.
    693693
    694694Plus, they can see which WooCommerce product is low in terms of stock count. So, you can utilize this product page block to show WooCommerce stock currently available for the WooCommerce products of your store. On top of that, this stock quantity or stock count block for the WordPress Gutenberg editor can work like a WooCommerce products stock notification, stock available notice, stock alert, stock label, etc.
    695695
    696696If a store owner manages the product stock for any WooCommerce product, this WooCommerce block displays a stock label on the WooCommerce product page. In addition, it will show a WooCommerce out of stock text when there is no item left in stock, which can be helpful for customers to see at a glance whether an item is available or not. On the other hand, if customers cannot see that a WooCommerce product is out of stock, they may attempt to purchase it and be disappointed when they find out that the WooCommerce product is not available.
    697697
    698698Once the store owner takes steps to update product stock from the WooCommerce product inventory, the out of stock message will be replaced by the new stock count. Aside from helping customers make informed purchase decisions, this Gutenberg builder block for product stock allows you to customize the style of your WooCommerce product stock status.
    699699
    700700<strong>[QR Code](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Add a WooCommerce QR code to the product details page of your WooCommerce site using this WooCommerce QR block for the WordPress Gutenberg block editor. Once you include a WooCommerce QR code into the WooCommerce single product page, it will allow your customers to add their desired WooCommerce products to their carts from their mobile devices. To do so, they only need to scan the QR WooCommerce code or QR image generated by this simple QR code block of ShopLentor (Gutenberg addon).
    701701
    702702After customers are done performing a WooCommerce QR scan or simple QR code scan on a specific product page, the product will automatically be added to their cart by the WooCommerce QR block designed for the Gutenberg editor. Adding a WooCommerce QR code to the product details page is a great way to streamline the shopping experience for your customers.
    703703
    704704This WooCommerce block for the Gutenberg block editor functions exactly like the QR code widget or QR widget available in ShopLentor for the Elementor page builder. If you want to provide a positive customer experience and boost sales, don’t forget to enable this Gutenberg ready product block.
    705705
    706706<strong>[Product Upsell](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Showcase WooCommerce upsell products on your WooCommerce store using this WooCommerce Gutenberg block for product upsells. In this product upsell block for Gutenberg editor, you will find settings to control the number of columns in a grid, the number of products, product order, etc. Furthermore, you can customize some styles for the upsell WooCommerce products section heading.
    707707
    708708Product upselling is an effective marketing strategy for any business that sells products online. Displaying WooCommerce upsell products can help you convince customers to purchase higher-priced items and boost your profits at the same time. By offering customers a more expensive WooCommerce product related to the one they are already interested in, businesses can encourage them to spend more money.
    709709
    710710The product upsell or upsells products block can also play the role of a WooCommerce upsell plugin that lets you build an upsell system in your online store. This WooCommerce Gutenberg block will display WooCommerce upsell products on the product details page and persuade customers to spend more on those WooCommerce upsells products.
    711711
    712712If you are managing your online storefront using the Gutenberg block editor or Gutenberg builder and want to increase the average order value of your WooCommerce site, you should definitely check the WooCommerce product upsell or upsell WooCommerce block.
    713713
    714714
    715715<strong>For Cart Page</strong>
    716716
    717717<strong>[Cart Table](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Display all the cart items in a WooCommerce table layout or WooCommerce table view with this Gutenberg table block. This Cart table block provides a quick and easy way for customers to view the WooCommerce products they have added to their cart, along with the product images, quantities, and prices. You can also customize various elements of this Gutenberg table block to match the look and feel of your website.
    718718
    719719That's not all; Aside from showing the cart contents in a WooCommerce product list table or Woo product table, this WooCommerce Gutenberg table block gives you the flexibility to control what product attributes to display in the cart table row. You can even personalize the action button styles and other necessary cart table styles.
    720720
    721721The WooCommerce cart table is a great way to view what items are available in a shopping cart and ensure that customers have everything they need before they checkout. If you want to provide a smooth and efficient shopping experience for customers by making some tweaks in the cart table, this WooCommerce Gutenberg table block is worth considering.
    722722
    723723<strong>[Cart Total](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Add a cart total table on the cart page and get control over the table styles and layout. With this WooCommerce Gutenberg table block, you can display the subtotal and total price in a WooCommerce table along with a WooCommerce button to proceed to checkout. If your store offers WooCommerce cart discounts or WooCommerce coupons, it will also be shown in the cart total table.
    724724
    725725You can leverage this WordPress Gutenberg table block to give customers a clear idea about what is subtotal of all WooCommerce products and what the total price will be after taxes, shipping, and discounts (if available). The Gutenberg table block lets you customize different elements of your cart total table like the table header, tabel cell, table content, checkout, etc.
    726726
    727727<strong>[Cross Sell](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Enables you to display WooCommerce cross-sell products on the cart page of your online storefront while having control to customize the styles for various elements of this WooCommerce cross-sell products block.
    728728
    729729WooCommerce cross-sell products are a great way to increase your sales and encourage customer loyalty. Cross selling is when you offer a related product to a customer who is already interested in what you're selling or has already purchased something from your store. ShopLentor makes it easy to set up cross sells or crosssells with this WooCommerce Gutenberg block.
    730730
    731731You can add this WooCommerce cross-sell block to your cart page. It is also possible to manage the number of WooCommerce cross-sell products to show, the number of columns you want in a single WooCommerce cross-sell products row, the product order they are shown in, etc. Cross-selling is an incredibly effective way to persuade customers to buy more from your WooCommerce store.
    732732
    733733Another important fact is that this WooCommerce Gutenberg block for WooCommerce cross-sell products or cross-selling offered by ShopLentor is perfectly compatible with WooCommerce's built-in feature for cross selling, crosssell, or cross-sells.
    734734
    735735<strong>[Return to Shop](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> – Allows you to add a return to shop button anywhere in your WooCommerce store. By default, this button block for Gutenberg editor usually links to the shop page. Meaning customers can visit the shop page no matter what WooCommerce page they are on. Even though the WooCommerce Gutenberg block can be used anywhere you want, it is mainly designed to be used on the Cart page, so customers can quickly return to shop page when there are no items available in the cart.
    736736
    737737In short, this button block for Gutenberg will help your customers return to shop page from an empty cart page, so they can continue shopping. If you are using Gutenberg, you should leverage this return to shop button block on your WooCommerce store.
    738738
    739739The Gutenberg block even lets you insert a custom link for the return to shop button. This WooCommerce block feature for the WordPress Gutenberg editor will come in handy if you want to avoid linking the button to the shop page. So, make sure to check this Gutenberg button block from ShopLentor.
    740740
    741741<strong>[Empty Cart Message](https://woolentor.com/demo/product/rock-colorful-suit/)</strong> –
    742742
    743743
    744744== 💪 ShopLentor's WooCommerce Module: ==
    745745
    746746= 🎨 WooCommerce Variation Swatches Module =
    747747Love the look of those variations swatches in your favorite online store, but don’t know how to get that effect on your own site?
    748748
    749749We feel you. That’s why we created this WooCommerce product Variation Swatches Module – to help you turn those boring old WooCommerce product drop down options into more visually appealing WooCommerce variation swatches or woo variation swatches (variation switcher). Now your customers can see all the variations at a glance, making their shopping experience much better.
    750750
    751751Plus, with WooCommerce product variation swatches module or variation swatches addons, you can choose from WooCommerce color swatches, button swatches, Label Swatches or image swatch (WooCommerce Color and Label Variations, Link Variation, etc..) – whichever suits your store’s style best. So why wait? Start using this variation swatches module or product attribute swatches today and watch your sales soar!
    752752
    753753With the WooCommerce color swatches, you can provide your customers with a wide range of colors to choose from while streamlining their shopping experience. Furthermore, WooCommerce color swatches are a great way to make your WooCommerce store more user-friendly and efficient. When all the WooCommerce color swatches are displayed together, it becomes easier for shoppers to compare and contrast different options and find the perfect WooCommerce product quickly.
    754754
    755755Using WooCommerce variation swatches module Addon, as opposed to the traditional dropdown method of displaying product variants (variation switcher), provides exceptional convenience for your customers and gives your store a professional look. Product variation swatches for WooCommerce provide a user-friendly way for your customers to select product variations (variations checkbox for WooCommerce swatches attributes swatches) without having to click on the dropdown menu. Customers can quickly identify and choose from different colors, sizes, styles (color and label variations), or other attributes that you have selected for each product.
    756756
    757757If you need a lot of flexibility and customizability, then WooCommerce variation swatches module or variation swatches addons is an excellent option. ShopLentor's variation swatches module is easy to use and comes with a powerful variation switcher. With this variation switcher, you can incorporate WooCommerce colors and labels variations in the form of variation swatches or Woo variation swatches. On the other hand, these product variation swatches for WooCommerce will enable your customers to easily switch between different WooCommerce product variation swatches on your product.
    758758
    759759Start using WooCommerce product variation swatches or variations swatches module now!
    760760
    761761[More Details](https://woolentor.com/doc/variation-swatches/)
    762762
    763763= 🌟 POPUP BUILDER =
    764764ShopLentor's Popup Builder is a powerful and easy-to-use module that can help boost your store's engagement by up to 500%. Whether you're a fan of Elementor or Gutenberg, our Popup Builder is compatible with both, so you can use either one to create stunning popups to captivate your website visitors. The module even provides some beautifully designed, ready-to-use templates, and you can customize your popups according to your needs.
    765765
    766766If you don't have design skills, you can utilize these pre-built popup templates to build an attractive popup in just seconds. Furthermore, you can build an unlimited number of popups and tailor them to align perfectly with your brand's identity and message.
    767767
    768768Using the smart display conditions, you can control when and where your popup will appear. The module also provides options to trigger popups based on various events. In addition, there are several other settings available to enhance the user experience.
    769769
    770770When it comes to keeping your visitors engaged through implementing eye-catching popups, this module can be really handy. You can use it to highlight special offers, create a sense of urgency, collect leads, or even turn visitors into potential customers.
    771771
    772772If you are looking for an effective solution to improve the engagement and conversion rates of your website, you should definitely try this module out.
    773773
    774774[More Details](https://woolentor.com/popup-builder/)
    775775
    776776💱 CURRENCY SWITCHER
    777777Reach potential customers from multiple countries and expand your business to new heights With ShopLentor's Currency Switcher module. With this incredible module, you are no longer constrained to change the default currency of your store only.
    778778
    779779You can incorporate an intuitive currency switcher into your WooCoomerce store according to the needs of your customers from multiple countries. It enables them to effortlessly switch currencies to their preferred ones, regardless of your store's base currency.
    780780
    781781When it comes to scaling up your online business, the currency-switching features can be tremendously effective. Why? Because customers around the world will have the flexibility to view product prices and purchase their desired products in their local currencies.
    782782
    783783Apart from the currency-switching features, the module comes with a couple of useful customization and styling options to alter the look and feel to reflect your brand style.
    784784
    785785If you want to reach a wider audience while offering them a seamless shopping experience, you should definitely give the Currency Switcher module a try!
    786786
    787787[More Details](https://woolentor.com/woocommerce-multi-currency/)
    788788
    789789= 🔔 Sales Notification =
    790790This feature allows showing the sales notification or sales popup to display real/custom WooCommerce orders. Furthermore, you can customize the design of the WooCommerce sales popup or live notification for WooCommerce from the module settings. Even though this recent sales popup WordPress module’s name suggests that is meant for displaying sales notifications, WooCommerce order notifications, or WooCommerce pop ups, nevertheless, you can also do other things like showing WooCommerce product announcements, WooCommerce announcements, WooCommerce product notices, or WooCommerce notices regarding WooCommerce product price drop or WooCommerce drop price. To achieve this, all you need to do is create a custom notification.
    791791
    792792If you're running a WooCommerce store, then you must know how important it is to keep your customers engaged. A great way to do this is by displaying recent sales notifications or recent sales popup on your WooCommerce site to show WooCommerce recent purchases, recent purchase orders, or recent orders. Not only does this help to keep customers informed about what's going on at your WooCommerce store, but it also allows you to create a sense of urgency and encourage them to make a purchase.
    793793
    794794This way, shoppers can see what others have bought and get excited about their own upcoming purchases. So if you are planning to enhance customer engagement and boost your overall sales, this recent sales notifications or recent sales popup module is the way to go.
    795795
    796796[More Details](https://woolentor.com/doc/sales-notification-for-woocommerce/)
    797797
    798798= 🎨 WooCommerce Product Filter Module =
    799799ShopLentor has recently introduced a powerful WooCommerce products filter module that enables store owners to incorporate multiple WooCommerce product filters or Woo products filters into their shop page or product archive page. With the help of this remarkable WordPress WooCommerce product filter or product filter for WooCommerce module, your potential customers can easily filter WooCommerce products by various product filters or criteria of your WooCommerce products.
    800800
    801801This way it becomes way more easier for them to find exactly what WooCommerce products they're looking for. And when customers can find their desired WooCommerce products, they're more likely to make a purchase.
    802802
    803803You can effortlessly add different product filters, products filter items, or Woo filters to your WooCommerce store as per their needs. The WordPress WooCommerce product filter also allows you to choose the field type and terms type for each particular WooCommerce product attribute.
    804804
    805805One of the best noteworthy feature of this WooCommerce products filter module is that the WooCommerce product filters you create using this module will help visitors to filter through all of your WooCommerce products in real time. Meaning, every product filter or Woo filter will be powered by AJAX.
    806806
    807807If you don’t want to see the filtered results immediately after you apply a product filter, you can also customize product filters even more by including an additional button to apply the selected filters in a click or clear the product filters. Doing so, will require visitors to click on the “Apply” button in order to search for products based on different product filters and “Clear” button to uncheck all the previously applied filters.
    808808
    809809Once you add and configure a WooCommerce product filter item inside the WordPress product filter with WooCommerce module settings panel, an intuitive shortcode will be generated automatically. All you need to do is place the shortcode on the Shop and/or Archive page(s) alongside a product archive widget that ShopLentor offers.
    810810
    811811Apart from providing your customers with the option to select which product attributes to filter by, you can also include an AJAX search form or a handy WooCommerce search bar using which they can search WooCommerce products by keywords. Another incredible feature of this module is that it comes with an advanced product filter widget. This Elementor WooCommerce product filter widget is quite useful if you plan to add WooCommerce product filtering options through the Elementor page builder.
    812812
    813813The best part about this WooCommerce filterable products or filterable products widget is that you don’t have to configure the WooCommerce products filter items all over again. This WooCommer shop filter or product filter widget will save your precious time by fetching all the filter items that you will create from the WooCommerce products filter or WooCommerce shop filter module settings.
    814814
    815815All you have to do is drag the WooCommerce filterable products widget or  filterable products widget to Elementor canvas and choose which product filters or Woo filters to display. So, be sure to make use of this amazing WooCommerce product filter module and offer an easy and user-friendly shopping experience to your customers.
    816816
    817817[More Details](https://woolentor.com/doc/sales-notification-for-woocommerce/)
    818818
    819819= ✏️ WooCommerce Order Bump =
    820820Order Bump for WooCommerce module can help you increase sales and customer satisfaction. Order Bump allows customers to add additional WooCommerce products to their cart at Checkout, which can lead to increased average order values. WooCommerce order bump or Checkout Order Bump also allows you to set up an upsell Order Bump Offer for WooCommerce, which can give customers a chance to purchase higher-priced items.
    821821
    822822Order Bump is a special offer that can enable you in upselling products on the WooCommerce checkout page. It allows customers to add additional WooCommerce products to their WooCommerce orders at a discounted price. Order Bumps or orderbumps can be used to increase order value, improve customer satisfaction, and boost sales. Checkout Order Bumps are a great way to increase average order value and boost sales. In addition, order bumps can be used to give WooCommerce discounts or special offers on upgrades, upsell products, or related products.
    823823
    824824The order bump for WooCommerce or upsell order bump offer for WooCommerce module lets you offer an Order Bump product or service at the Checkout of your WooCommerce store. Order Bump can help you to overcome shopping cart abandonment. Order Bump in WooCommerce is also a great way to reduce your customer's risk when trying a new product.
    825825
    826826Order Bump for WooCommerce offers automatic Order Bumps that are displayed with a checkbox. The customer only needs to check the box, and the WooCommerce order bump will be automatically added to their cart without leaving the page they're currently on. When it comes to reducing shopping cart abandonment and boosting your average order value.
    827827
    828828Store owners can provide special offers during the WooCommerce checkout process by using this upsell Order Bump Offer for WooCommerce module. This will assist them in converting more of their visitors into customers while increasing sales. It only takes a single click for the customers to add the order Bump product or order bump offer to their existing WooCommerce order.
    829829
    830830Checkout Order Bump helps you boost conversions and sales by allowing you to offer a WooCommerce Order Bump product or service at the Checkout of your WooCommerce store. With Checkout Order Bump or WooCommerce order bump at the Checkout, there's no need for the customers to leave the page they're currently on. Checkout Order Bump is a great way to increase sales, reduce shopping cart abandonment, and boost your average order value using Upsell Order Bump Offer for WooCommerce is the way to go.
    831831
    832832= ✏️ Rename Label =
    833833ShopLentor (Woo builder) allows renaming WooCommerce labels for Shop, Product details, Cart, Checkout page text. For example, WooCommerce button text, WooCommerce text message, WooCommerce add custom text, WooCommerce add to cart button text, Change cart button text, Order button text, and checkout page fields text.
    834834
    835835[More Details](https://woolentor.com/doc/change-woocommerce-text/)
    836836
    837837= 👀 Product Quick View =
    838838Incorporate a WooCommerce product quick view into your store so that visitors can immediately see detailed information about a specific product without having to visit the WooCommerce product page. This Elementor WooCommerce builder module or Woo builder module displays a WooCommerce product quick view modal or WooCommerce product quick view popup within a WooCommerce lightbox that helps shoppers with stuff like quick product view, quick products view, quickshop, quick shop, quick buy, or WooCommerce quick order.
    839839
    840840The WooCommerce modal for products quick view or WooCommerce product quick view popup is a crucial feature for any WooCommerce store that sells WooCommerce products. This WooCommerce products quick view feature or product quick view for WooCommerce enables customers to view product information in a WooCommerce lightbox, WooCommerce modal, or WooCommerce pop up without having to leave the WooCommerce single product page they are on.
    841841
    842842When there are a lot of WooCommerce products in a WooCommerce store, the WooCommerce products quick view, WooCommerce quick view, quick view WooCommerce, or WooCommerce quickview option is very useful as it helps customers to find the product they are looking for without having to search through all of the WooCommerce products.
    843843
    844844Product quick view modal or quick view WooCommerce modal also has other benefits, such as the ability to add products to the cart from the quick view WooCommerce modal or WooCommerce products quick view modal itself and view WooCommerce product reviews.
    845845
    846846You can even utilize the WooCommerce product quick view popup, WooCommerce product pop up, or quick view WooCommerce modal to perform quick cart addition. In other words, customers can effortlessly add a WooCommerce product to their cart simply by clicking the WooCommerce add to cart button link available on the WooCommerce quick view, WooCommerce product quick view, WooCommerce quickview, or product quick view popup without the need to navigate away from the WooCommerce product page. Overall, WooCommerce product quick view or product quick view for WooCommerce is an excellent addition to your online storefront for improving the user experience.
    847847
    848848[More Details](https://woolentor.com/doc/change-woocommerce-text/)
    849849
    850850= ❤️ WooCommerce Wishlist Module =
    851851ShopLentor's WooCommerce Wishlist Module is a fantastic module that enables you to integrate the woo wishlist or products wishlist feature on your WooCommerce store. With the help of this extraordinary Wishlist module, you can provide a seamless shopping experience to your potential customers by allowing them to create a wishlist for WooCommerce and add their desired WooCommerce products to that WooCommerce wishlist (Woo wishlist) so that they find all their items in one place later.
    852852
    853853Once you enable the products wishlist or product wishlist module of ShopLentor (WooCommerce addon for wp page builder), an Elementor WooCommerce wishlist widget will get unlocked. With the wishlist widget, you can display a flexible wishlist tables or WooCommerce wishlist where customers can view the WooCommerce products they have added to the WooCommerce wishlist (Woo wishlist). You can even use this WooCommerce wishlist widget to give your customers the ability to share their products wishlists with friends and family.
    854854
    855855Adding a wishlist widget to your WooCommerce store can be a great way to entice customers to come back and buy WooCommerce products they're interested in. Allowing customers to save WooCommerce products they want to purchase later, makes it easy for them to find and buy what they're looking for, increasing the chances that they'll make a purchase from your store. ShopLentor offers a WooCommerce wishlist or flexible wishlist module that allows creating a products wishlist or Woo wishlist of WooCommerce products on your WooCommerce-powered website.
    856856
    857857After enabling this flexible wishlist or product wishlist module, a wishlist widget will be available, using which store owners can easily showcase the WooCommerce products available in a WooCommerce wishlist, wishlist WooCommerce, or Woo wishlist. This wishlist widget will also allow your customers to create and manage their own WooCommerce wishlists or Woo wishlists. Furthermore, this incredible products wishlist widget or WooCommerce wishlist widget can be quite handy if you want to promote specific WooCommerce products while improving your store's usability and engagement.
    858858
    859859Plus, the wishlist widget (Woo wishlist) is fully responsive so that it will work on any device, including mobile phones and tablets. Therefore, if you intend to encourage your customers to keep returning to your website, adding a wp eCommerce wishlist or products wishlist (Woo wishlist) to your site is a great way to achieve that. This WooCommerce wishlist module makes it easy to convert many of your potential visitors into a potential customer.
    860860
    861861[More Details](https://woolentor.com/builder/quick-view-template/)
    862862
    863863= ⚖️ Product Comparison / Product Compare or Comparison Table Module =
    864864Product comparison / Product Compare is a wonderful module that lets you add a product comparison option to your WooCommerce store using which your store visitors will be able to compare different products in WooCommer table layout or a WooCommerce popup window. This product comparison module or WooCommerce compare module allows them to check the differences among the WooCommerce products based on several attributes while helping them make the buying decision easier at the same time.
    865865
    866866Furthermore, customers can compare prices of various WooCommerce compare products within the compare tables generated by this powerful compare products plugin or products compare plugin. But, that’s not all; This WooCommerce product compare plugin or WooCommerce compare products plugin even allows visitors to do several other things, such as compare offers, compare images, image comparison WooCommerce, compare images WooCommerce, price compare, and many more. All it requires is a click on a WooCommerce compare products button, and an interactive compare popup or product pop up will appear where they can compare WooCommerce products in a compare table.
    867867
    868868Product comparison is a great way to engage your customers and help them make informed decisions about the products they're interested in. Product comparison is an essential tool for any WooCommerce store, and the Product Comparison for WooCommerce module or WooCommerce compare module makes it easy to add this functionality to your site.
    869869
    870870This WooCommerce compare products or WooCommerce product compare module enables you to do WooCommerce products comparison or comparison products within WooCommerce compare tables. This remarkable feature for products compare or product compare can be handy for customers who want to find the best deals on items. Moreover, the WooCommerce product compare module or products comparison module of ShopLentor plays the role of a WooCommerce compare products plugin that eCommerce businesses can leverage to provide store visitors with the option to compare prices, compare offers, compare WooCommerce products, and so on.
    871871
    872872Products comparison is a crucial feature in a WooCommerce site to compare WooCommerce products to find the best possible product for your needs. The process of product comparison involves the evaluation of two or more WooCommerce products with the aim of finding out the differences and similarities between them. With so many options available, a functionality to perform product comparison is valuable for finding the right product at the right price.
    873873
    874874Fortunately, ShopLentor (Woo builder) offers an exclusive product compare module or products comparison module that works like a WooCommerce product compare, WooCommerce compare products, or compare products plugin. As a result, you can compare various WooCommerce products simply by clicking on a compare button. Afterward, you can view the products comparison side-by-side on a product comparison table. With this product comparison module, shoppers can save time and effort while finding the perfect product for their needs.
    875875
    876876Thus it becomes a lot easier for customers to make informed purchase decisions and find the best WooCommerce product in their budget with the help of this shopping comparison or comparison shopping feature. The compare WooCommerce product module is a great solution that can help you provide an informative and user-friendly shopping comparison experience to your customers. If you're looking for a way to incorporate the WooCommerce products comparison feature to your WooCommerce site, you should definitely check this WooCommerce product compare or WooCommerce compare products module out.
    877877
    878878On top of that, ShopLentor (WooCommerce builder plugin) is fully compatible with the YITH WooCommerce compare plugin, which many users use to accomplish the same task.
    879879
    880880[More Details](https://woolentor.com/doc/woocommerce-product-compare/)
    881881
    882882= ⏲️ Flash Sale Countdown =
    883883Flash Sale Countdown module allows you to show discounts available for a limited time by adding a WooCommerce sale countdown timer, sale countdown timer WooCommerce, WooCommerce product countdown, sale discount countdown, or product time countdown for WooCommerce. Short-term sales can be a fantastic way to sell a large number of items in a few hours. If your company expects an exceptional rise in your checkout counts, you ought to leverage the Flash Sale Countdown module or WooCommerce sale countdown module on New Year’s Eve, Black Friday, Christmas, and other holiday sales. In short, the flash sale countdown module or WooCommerce product countdown module plays the role of a countdown plugin for WooCommerce or a sale countdown WooCommerce addon.
    884884
    885885This incredible WooCommerce product countdown module or sales countdown WooCommerce addon will also help you create a sense of urgency and scarcity among your customers by allowing you to display a WooCommerce sales countdown timer, WooCommerce countdown timer, countdown timer WooCommerce, sale countdown timer WooCommerce, or WooCommerce timer on the promotional campaigns you run. You can even set a time when a Woocommerce sale schedule will begin using this sales countdown WooCommerce addon or WooCommerce sales countdown timer module, which helps in creating a buzz as well as boosting the conversion rate.
    886886
    887887The sales countdown WooCommerce addon or countdown timer WooCommerce addon is the perfect way to drive sales and boost product awareness. This sales countdown WooCommerce addon or countdown timer WooCommerce allows you to display a WooCommerce sale countdown or WooCommerce timer on your WooCommerce product pages or WooCommerce product templates. You can create a sense of urgency that encourages customers to buy before time runs out. You can also use this WooCommerce sale countdown or countdown timer WooCommerce to highlight special WooCommerce discounts or WooCommerce promotion as well as promote seasonal products.
    888888
    889889If you want to increase sales and encourage customers to buy your products, a sale countdown timer WooCommerce, product time countdown for WooCommerce, or countdown timer WooCommerce can help you with that. By leveraging ShopLentor's sales countdown WooCommerce addon in the form of a WooCommerce countdown timer module or WooCommerce sale countdown module, you can incorporate a lot of things on your online storefront, such as WooCommerce sale countdown, WooCommerce sales countdown, sales countdown timer, sales timer, or WooCommerce timer.
    890890
    891891When it comes to showing WooCommerce discounts or WooCommerce offers for a limited time, this sale countdown timer WooCommerce or product time countdown for WooCommerce module allows you to add a WooCommerce countdown timer or countdown timer WooCommerce on your WooCommerce store to show WooCommerce sale time.This way, you can create a sense of urgency that will motivate customers to make a purchase. So if you're looking for a way to convert more of your potential visitors into customers, consider adding a sale countdown timer WooCommerce plugin to your online store.
    892892
    893893Running a WooCommerce flash sales work like a charm if you want to boost your overall sales. A flash sale is referred to limited-time WooCommerce offers or WooCommerce discounts for a few chosen WooCommerce products in your store. If you want to make the most of your flash sale, it's essential to display a flash sale countdown timer, sale flash, or flash bar on your WooCommerce website. The WooCommerce flash sales module allows you to add a flash sale countdown or product time countdown for WooCommerce using which you can apply flash sales for a short period of time.
    894894
    895895If you're running a sale or special WooCommerce promotion on your WooCommerce store, a WooCommerce countdown timer or sale countdown timer WooCommerce can be a great way to create a sense of urgency and encourage customers to buy before the deal expires. You can use the flash sale countdown or WooCommerce sale countdown module of ShopLentor to create a WooCommerce countdown timer or WooCommerce timer.
    896896
    897897This sales countdown WooCommerce addon or product time countdown for WooCommerce addon can also help you countdown to the launch of a new WooCommerce product, WooCommerce products announcement, WooCommerce offers, or WooCommerce discounts. ShopLentor's WooCommerce countdown or WooCommerce product countdown module is packed with a few options that allow you to fine-tune the appearance of the WooCommerce sale countdown timer or countdown timer WooCommerce.
    898898
    899899This WooCommerce countdown timer works like a discount product scheduler, flash bars, flash notifications, sale flash, etc. Furthermore, with the discount product scheduler, you can set when the flash sale starts and ends. You can even configure on which WooCommerce products you want to apply discounts or display sale flash. With the proper planning and execution, a WooCommerce flash sale, sale flash, or flash bar can help you generate more revenues than usual.
    900900
    901901By using the sale countdown timer WooCommerce or WooCommerce sale countdown module as a WooCommerce product scheduler or discount product scheduler, you can schedule the availability of WooCommerce products on your WooCommerce store. Moreover, the WooCommerce product countdown is packed with several useful features for configuring the time duration settings for each of your WooCommerce products. When it comes to providing a special WooCommerce discount or WooCommerce offer to a product, this sales countdown WooCommerce addon or WooCommerce product countdown is an ideal solution to set up a WooCommerce product scheduler or discount product scheduler.
    902902
    903903Other than that, the sales countdown WooCommerce addon or countdown timer WooCommerce addon is highly customizable as well, so you can customize the appearance of the product time countdown for WooCommerce or WooCommerce timer to match your site's design. Therefore, if you're looking for a way to increase sales and clear out inventory quickly and efficiently, the sales countdown WooCommerce addon of ShopLentor is an excellent solution.
    904904
    905905[More Details](https://woolentor.com/doc/enable-sales-countdown-timer-in-woocommerce/)
    906906
    907907= ✨ Shopify Style Checkout Page in WooCommerce =
    908908When it comes to the Checkout page, customers always prefer a clean and simple one rather than a complicated one with lots of fields. A lengthy Checkout form can even increase cart abandonment while also negatively affecting the conversion rates. With this in mind, we have added a fantastic feature (Shopify-like Checkout module), which will enable you to create a Shopify style Checkout page or Shopify-like Checkout page that is pretty straightforward.
    909909
    910910Furthermore, the Shopify-like Checkout module will provide the customers with an amazing WooCommerce fast checkout experience which will help customer with WooCommerce quick order or quickshop. So, make sure to leverage this fantastic WooCommerce module (Shopify-like Checkout) to provide your customers with a fast WooCommerce checkout experience.
    911911
    912912If you haven't heard about Shopify yet, Shopify is a popular eCommerce platform known for its streamlined and uncluttered checkout process. Despite the fact that WooCommerce offers a plethora of flexibility and customization options, its checkout process is not as user-friendly as Shopify's. This Shopify-like checkout module can help you convert the WooCommerce checkout page into a Shopify-like Checkout that is considerably easier to use. For WooCommerce store owners who wish to increase the usability of their online storefront, a Shopify-like checkout page or WooCommerce checkout like Shopify can be an excellent option.
    913913
    914914As any online shopper knows, the WooCommerce checkout process is often the most frustrating part of the experience. Having to enter all of your information, including shipping and billing addresses, can be time-consuming and confusing. Fortunately, ShopLentor’s Shopify-like checkout module will streamline the entire process for the shoppers.
    915915
    916916This WooCommerce module helps customers with WooCommerce quick order, WooCommerce fast checkout, or WooCommerce quick checkout through a Shopify-like checkout page or WooCommerce checkout like Shopify to further speed up the process.
    917917
    918918[More Details](https://woolentor.com/shopify-style-checkout-page-in-woocommerce/)
    919919
    920920= 📧 WooCommerce Email Customizer =
    921921Email Customizer by ShopLentor is a powerful module that allows you to easily customize your WooCommerce Email Templates, giving you the professional look that many businesses desire. With the Email Customizer Elementor module, you can create custom email template designs or layouts for all of the default WooCommerce emails using the Elementor page builder.
    922922
    923923You can easily create beautiful WooCommerce email templates or WooCommerce email template designs using ShopLentor's Elementor email template builder, WooCommerce email builder, or responsive email builder. This WooCommerce email designer or email template designer can also be utilized to design WooCommerce emails optimized for conversion and customer engagement.
    924924
    925925Furthermore, the Elementor module includes a plethora of customization options, allowing you to get complete control over the look and style of those emails – so you can tailor the default WooCommerce email templates to match your brand perfectly. Whether you want to make a simple change or completely redesign your WooCommerce email templates, Email Customizer has you covered.
    926926
    927927With the WooCommerce Email Builder module of ShopLentor, you can easily create beautiful, professional-looking WooCommerce custom emails (Woo custom emails) that represent your brand well. You can also use pre-designed WooCommerce email templates to save time and ensure a consistent look for your messages. Whether you're sending a shipping update, a special WooCommerce offer, or just a thank-you note, this email template builder, email template designer, WooCommerce email designer, or WooCommerce email editor makes it easy to create custom WooCommerce email templates, email template design, or WooCommerce custom emails.
    928928
    929929The WooCommerce email customizer is one of the most useful Elementor modules in ShopLentor. This email customizer module allows businesses to customize the default WooCommerce email templates that are sent to customers. With the email customizer for WooCommerce, businesses can change the layout, colors, and logos of their WooCommerce emails.
    930930
    931931This WordPress email customizer or email customizer WooCommerce offers the functionality of a WooCommerce email customizer plugin. Users can use this WooCommerce email customizer module as a WooCommerce email template customizer, email template customizer for WooCommerce, or email customizer WordPress to customize the look and feel of the WooCommerce emails to match their branding.
    932932
    933933In short, you can leverage this powerful WooCommerce email customizer module as a WooCommerce email builder, email template builder, responsive email builder, visual email builder, email template designer, WooCommerce email designer, etc. to create stunning Elementor email templates or WooCommerce email templates.
    934934
    935935[More Details](https://woolentor.com/builder/email-customizer-template/)
    936936
    937937= 🤖 WooCommerce Email Marketing Automation =
    938938ShopLentor's WooCommerce email marketing automation module is extremely powerful. This module allows for the automated email sequences or WooCommerce automated emails to new customers, current clients, post-purchase emails, and more. WooCommerce Email marketing automation or may help promote online store sales through email marketing automation for WooCommerce. Within WooCommerce, this email automation or email workflow automation module enables the development of email automation workflow systems that include Triggers, Rules, and Actions in multiple combinations. ShopLentor's WooCommerce email sequences or email marketing automation module is the perfect tool for online store owners who are looking to take their business to the next level. With this automated email WooCommerce or email automation module, you'll be able to create sophisticated automated email marketing campaigns, automated email marketing campaigns, or email marketing automation campaigns that will engage your customers and boost your sales. So don't wait any longer, leverage ShopLentor's WooCommerce email marketing automation module today!
    939939
    940940= 🔍 Advanced AJAX Search Widget Module =
    941941For any online store, ShopLentor's WooCommerce Ajax search module is a must-have. It enables customers to locate what they want swiftly and efficiently, without having to go through other pages or wait for the page to load. The WooCommerce Ajax search widget by ShopLentor is quick, dependable, and simple to use.
    942942
    943943[More Details](https://woolentor.com/doc/how-to-use-woocommerce-ajax-search/)
    944944
    945945= 🛒 Single Product AJAX Add to Cart Module =
    946946Customers who browse stores with a lot of products may find the Single Product WooCommerce Ajax Add to Cart module to be a tremendous time-saver. It speeds up the add-to-cart process by eliminating the need to refresh or reload the page whenever a product is added to the cart, saving customers time. Furthermore, because the module uses ajax, it can keep customers on the same page while they shop, allowing them to continue browsing other products without interruption.
    947947
    948948[More Details](https://woolentor.com/doc/single-product-ajax-add-to-cart/)
    949949
    950950= 📦 Backorder Module =
    951951You may use a Backorder module to enable your consumers to make purchases from you that you can't currently fulfill. Cross-docking strategies, such as those used by organized firms, can help them fill orders quickly once goods arrive, saving time and resources. Backorders offer flexibility to warehouse management when products take up a lot of room or when a customer needs to pay and receive the product at a later date.
    952952
    953953[More Details](https://woolentor.com/doc/how-to-enable-woocommerce-backorder/)
    954954
    955955= 📋 WordPress Post and WooCommerce Product Duplicator =
    956956This module may be handy if you want to build a new product based on an existing one or make a minor modification to an established article. The ShopLentor Post Duplicator makes it simple to duplicate any post type, including custom post kinds.
    957957
    958958[More Details](https://woolentor.com/doc/duplicate-woocommerce-product/)
    959959
    960960= ⭐ Checkout Field Editor or Checkout Field Manager (Pro) =
    961961The checkout procedure is one of the most vital aspects of running a successful online store. It’s easy to lose customers at this crucial stage if you’re not careful. That’s why it’s essential to have a simple and user-friendly checkout process. With the ShopLentor Checkout Field Editor or Checkout Field Manager Module, you’ll be able to easily edit, add, and remove fields from your checkout page. Using this custom WooCommerce checkout fields editor or WooCommerce checkout editor, you can make sure that your customers have a smooth and hassle-free experience when they’re checking out.
    962962
    963963This powerful WooCommerce checkout editor or checkout field manager module gives you absolute control over the checkout fields by providing you with an intuitive WooCommerce checkout form editor, WooCommerce checkout editor that gives you the ability to add WooCommerce extra checkout fields or WooCommerce custom checkout fields to the WooCommerce checkout form. You can even personalize the order of WooCommerce checkout fields or WooCommerce additional fields for checkout as well as change their labels and placeholders.
    964964
    965965Adding WooCommerce additional fields or WooCommerce custom checkout fields can be a great way to gather additional information from your customers. For example, you may want to add WooCommerce custom checkout fields for custom WooCommerce customer messages, gift wrap options, or instructions about a schedule delivery for WooCommerce. Fortunately, ShopLentor comes with a powerful WooCommerce checkout field editor or WooCommerce checkout form editor module that allows adding WooCommerce extra fields to the WooCommerce checkout process.
    966966
    967967You can use this WooCommerce add on or shipping module in Woo commerce to add WooCommerce custom fields to the checkout form. These extra WooCommerce fields can be extremely useful if you need to collect additional information from your customers during the checkout process. But that's not all; this custom WooCommerce checkout fields editor or WooCommerce checkout field manager module doesn't require you to write a single line of code. The WooCommerce custom checkout fields or checkout widget also allows you to manage the display of WooCommerce fields for checkout, set required fields, etc.
    968968
    969969Moreover, with this checkout field editor for WooCommerce module or shipping module in Woo commerce, you can add, edit, and remove fields from the checkout page WooCommerce form as per your needs. So if you're looking to take your WooCommerce store to the next level, be sure to leverage this WooCommerce checkout field editor or WooCommerce checkout field manager module and keep your WooCommerce checkout process optimized for your business.
    970970
    971971[More Details](https://woolentor.com/doc/checkout-field-editor/)
    972972
    973973= ✨ Multi-Step Checkout (Pro) =
    974974The checkout process is the most important step in your customer’s journey, and it should be as easy and seamless as possible. That’s why we created our Multi-Step Checkout feature that allows you to create a more effective and organized checkout page by dividing the process into several simpler steps.
    975975
    976976With ShopLentor's multistep checkout module, you can simplify the checkout process by adding an easy-to-use WooCommerce multistep checkout wizard to your WooCommerce. Since the multistep checkout for WooCommerce breaks the lengthy checkout process into smaller and more manageable steps, it becomes less overwhelming for the customers to make a purchase. Once you enable the multistep checkout WooCommerce module, you'll find a new widget that helps you add the WooCommerce multistep checkout.
    977977
    978978Furthermore, this Elementor WooCommerce widget for WooCommerce multi-step checkout lets you customize the necessary styles while making the checkout process even more user-friendly.
    979979
    980980[More Details](https://woolentor.com/doc/woocommerce-multi-step-checkout/)
    981981
    982982= 💳 Partial Payment (Pro) =
    983983Customers may utilize the partial payment option to make a part payment since they just don't have enough money on hand to pay the invoice in full. Store owners can handle partial payments and decide whether or not consumers can get the product right away or only after they pay full price.
    984984
    985985[More Details](https://woolentor.com/doc/how-to-accept-partial-payment-in-woocommerce/)
    986986
    987987= ✨ Pre-Order Module (Pro) =
    988988A preorder is a purchase in which a customer makes before the product officially becomes available. Pre-ordering is a powerful marketing module that lets you reserve items ahead of time and charge customers a deposit or full payment.  Customers also enjoy pre-ordering as it ensures that they will obtain the product right after it has been released. The main benefit of utilizing a pre-order strategy is that it allows you to grow eCommerce sales and forecast consumer demand.
    989989
    990990ShopLentor doesn’t only incorporate the WooCommerce preorder options into your WooCommerce store but also allows you to manage all of the WooCommerce preorders from the order menu. You can even display a pre-order notice on the Cart page.
    991991
    992992As the WooCommerce preorder or pre-order WooCommerce feature gives a rough indication of which WooCommerce products are in demand, store owners can easily make an efficient marketing plan or strategy accordingly to create a buzz around those specific WooCommerce upcoming products. As a result, they understand beforehand which WooCommerce upcoming products are going to be popular once they are available in the store.
    993993
    994994This way, store owners can leverage the pre-order for WooCommerce module or pre-order WooCommerce module to its fullest, ensuring that customers don’t miss out on their desired products or any WooCommerce upcoming products. Furthermore, with WooCommerce preorder setup and configured for a few WooCommerce products, customers can purchase them even if they are out of stock.
    995995
    996996If you're running a WooCommerce store, you might consider offering preorders for some of your WooCommerce products. The WooCommerce preorder or pre order for WooCommerce module can be a great way to generate interest and excitement for an WooCommerce upcoming product. Pre-ordering products has become a popular way to shop online, allowing customers to reserve items before they are available for sale.
    997997
    998998The WooCommerce preorder, WooCommerce pre order, or Woo pre order can be useful for WooCommerce products that are in high demand or have a limited supply. For businesses, WooCommerce preorders can provide valuable information about customer interest and help to manage inventory. The WooCommerce preorder help you with sales forecast. Meaning, It allows you to predict sales for your WooCommerce products and gives you an idea of future sales patterns. Sales forecast in WooCommerce is a valuable tool for store owners who want to make informed decisions about their WooCommerce products. With sales forecast you can spot trends and opportunities that you might otherwise miss. Preorders for WooCommerce or WooCommerce preorder can be an excellent feature for businesses of all sizes that want to gauge customer interest and generate sales before a product is even available in the store.
    999999
    10001000[More Details](https://woolentor.com/doc/how-to-set-pre-order-for-woocommerce/)
    10011001
    10021002= 📏 WooCommerce Product Size Chart Module (Pro) =
    10031003The WooCommerce Product Size Chart is an excellent module for e-commerce businesses that sell items in various sizes. This powerful WooCommerce size chart tool allows you to create simple size recommendations, WooCommerce product size chart, or product chart for WooCommerce that enable your consumers to choose the right product size and make their purchase decisions quickly and easily. The Product Size Chart for WooCommerce can help you streamline your buying experience by making it easy for customers to find the right product size.
    10041004
    10051005[More Details](https://woolentor.com/doc/woocommerce-product-size-chart/)
    10061006
    10071007= 📊 GTM Conversion Tracking (Google Tag Manager) Module (Pro) =
    10081008GTM Conversion Tracking Module helps you keep track of conversions and assign them to specific sources. You may identify whether a sale was caused by a Google Ads/Facebook Ads, a direct website visit, or a social media post. When you link your store seamlessly with GTM, you'll generate more income from advertising by gathering precise sales data.
    10091009
    10101010= 📌 Single Product Sticky Add to cart Module (Pro) =
    10111011One of the most essential aspects of building a successful online shop is to make the process as simple as possible for your consumers. Using the sticky add to cart WooCommerce module, you can easily achieve this as it allows you to incorporate a sticky add to cart bar, WooCommerce sticky bar, cart WooCommerce sticky, or sticky WooCommerce bar to the product page. A sticky add to cart, sticky cart bar, or stick bar for WooCommerce includes an add to cart button, a cart quantity field as well as some product information.
    10121012
    10131013This sticky add to cart bar or stick bar for WooCommerce usually appears when you scroll past the add to cart button located at the top of the product details page. This sticky add to cart WooCommerce bar feature will come in handy when product information is too lengthy and customers can't decide whether or not to add a product to the cart. With ShopLentor's sticky add to cart module, you can display a WooCommerce sticky bar or sticky WooCommerce bar on the product page, using which customers can easily add a product to the cart even if they scroll past the default WooCommerce cart button.
    10141014
    10151015This WooCommerce sticky bar module enables you to add a sticky add to cart bar on the WooCommerce product page of your WooCommerce site. By keeping the WooCommerce bar 'stick' to the bottom of the WooCommerce product page, you can make it easy for visitors to add WooCommerce products to their cart, as the sticky add to cart for WooCommerce or WooCommerce sticky add to cart will usually stay in place even when customers scroll up and down.
    10161016
    10171017When it comes to keeping your customers engaged while reducing shopping cart abandonment, this WooCommerce Sticky Bar or cart WooCommerce sticky module will be tremendously helpful. Overall, the WooCommerce sticky bar or cart WooCommerce sticky is a simple but effective way to improve the customer's shopping experience.
    10181018
    10191019[More Details](https://woolentor.com/doc/single-product-sticky-add-to-cart/)
    10201020
    10211021= 🛒 Side Mini Cart / Cart Drawer Module (Pro) =
    10221022ShopLentor’s Cart Drawer or Side Mini Cart for WooCommerce is a useful module that displays a list of current cart items on your website. This Side Mini Cart for WooCommerce or side cart WooCommerce module helps to list products that are currently added to the cart and improve the purchasing experience for your consumers by allowing them to keep track of their progress without ever having to leave the page. The WooCommerce minicart feature also makes removing things from their cart simple – there’s no need to go to the shopping cart page, users can just click the ''cross'' icon located at the top right corner of an WooCommerce product image in the WooCommerce mini cart or WooCommerce minicart.
    10231023
    10241024A WooCommerce side cart appears as a WooCommerce cart icon on the right-hand side or left-hand side of your screen. It kind of works like a WooCommerce floating mini cart, Woo floating minicart, floating cart for WooCommerce, Woo floating cart, or WooCommerce offcanvas cart. When users click on that Woocommerce cart icon of the side cart WooCommerce, they can view their cart items before checking out. That’s the reason why customers find the WooCommerce mini cart or WooCommerce minicart convenient enough as it helps them save a lot of time while purchasing.
    10251025
    10261026Leverage this incredible side mini cart or WooCommerce minicart module of ShopLentor to incorporate a side cart WooCommerce or side mini cart to your WooCommerce site. The side cart WooCommerce module allows your customers to see what WooCommerce products they have in their cart and makes it easy to add or remove items. You can also use the side cart WooCommerce module as an alternative to Woo floating minicart or Woo floating cart, as it works the same as a floating cart for WooCommerce.
    10271027
    10281028A side cart WooCommerce can be a great way to encourage shoppers to complete their purchases. If you're looking for a Woo floating minicart, Woo floating cart, or floating cart for WooCommerce, then be sure to check out the side mini cart or side cart WooCommerce module of ShopLentor. It's easy to set up and use, and it's been designed to work seamlessly with WooCommerce. The Woo floating minicart or Woo floating cart is a great addition to any online storefront and can help increase sales and conversion rates.
    10291029
    10301030This wonderful side mini cart module module enables you to add a WooCommerce side cart, side cart WooCommerce, WooCommerce minicart, WooCommerce mini cart, etc. that can help you convert many of your potential store visitors into loyal customers.
    10311031
    10321032The Side Mini Cart module or side cart WooCommerce module of ShopLentor (Woo builder) is a great way to keep your customers' shopping carts organized and ensure they can always see what they have in their carts. Whenever a customer adds any WooCommerce products to the cart, the side mini cart slides in a WooCommerce minicart or WooCommerce mini cart from the side like a WooCommerce popup cart or WooCommerce cart popup.
    10331033
    10341034This WooCommerce add to cart popup or WooCommerce added to cart popup allows customers to see what WooCommerce products they have in their carts. If you want to keep your online storefront organized, then the side cart WooCommerce module is the perfect solution for you.
    10351035
    10361036This WooCommerce add to cart popup or WooCommerce added to cart popup appears when a customer adds a WooCommerce product to the cart and shows what WooCommerce products are available in the cart. If you want to keep your online storefront organized, then the side cart WooCommerce module could be an ideal solution for you.
    10371037
    10381038[More Details](https://woolentor.com/doc/side-mini-cart-for-woocommerce/)
    10391039
    10401040= 🔀 Redirect to checkout / Redirect to checkout after add to cart (Pro) =
    10411041The Redirect to Checkout Module of ShopLentor (all in one for WooCommerce) is an excellent feature for keeping your customers on track and ensuring a quick checkout process. This WooCommerce checkout redirect module allows you to send visitors to the checkout page of your website after they click the add to cart button so they can complete the purchase promptly and easily. Adding a redirect to checkout after add to cart helps to provide an optimal user experience while boosting conversion rates and sales. This WooCommerce add to cart redirect or WooCommerce checkout redirect module will be extremely useful if you want to provide a smooth shopping experience to your customers via WooCommerce redirect.
    10421042
    10431043[More Details](https://woolentor.com/doc/redirect-to-checkout/)
    10441044
    10451045
    10461046==🔌 Extensions: ==
    10471047
    10481048<strong>💰 [Whols for WooCommerce Wholesale](https://wordpress.org/plugins/whols/)</strong>
    10491049Whols is an outstanding WordPress plugin for WooCommerce that allows store owners to set wholesale prices or wholesale WooCommerce pricing for the WooCommerce products of their online storefront. This WooCommerce Wholesale plugin provides many options to create a WooCommerce B2B Store.
    10501050
    10511051You can also control almost all the aspects of your WooCommerce B2B store. For example, you can show special wholesale prices only to the wholesalers while hiding them from other user roles. This WooCommerce Wholesale plugin enables you to maintain both consumers and wholesalers from a single WooCommerce store. Apart from that, this amazing WooCommerce Wholesale plugin makes user role management tasks easier on a WooCommerce B2B store.
    10521052
    10531053<strong>📋 [JustTables for WooCommerce Product Table](https://wordpress.org/plugins/just-tables/)</strong>
    10541054JustTables is an incredible WordPress plugin that lets you showcase all your WooCommerce products in a sortable and filterable table view. It allows your customers to easily navigate through different attributes of the products and compare them on a single page.
    10551055
    10561056In other words, you can leverage this wonderful WooCommerce product table plugin like a WooCommerce table designer or WooCommerce table builder that allows creating product tables for WooCommerce, product table for WooCommerce, WooCommerce product tables, product table WooCommerce, or product table listing to showcase your products in WooCommerce table view, WooCommerce table layout, or WooCommerce products table.
    10571057
    10581058WooCommerce product table listing is an essential feature for any online storefront as it provides a quick and easy way to add a WooCommerce product list table that showcases multiple WooCommerce products at once. This products list table lists all your WooCommerce products in a WooCommerce table layout or WooCommerce table view. When the WooCommerce products table or WooCommerce product list table is used in conjunction with product search and WooCommerce product sort filters, customers can view all of your WooCommerce products in one place and quickly find their desired WooCommerce products.
    10591059
    10601060This remarkable product table for WooCommerce or WooCommer product table plugin allows you to exhibit your WooCommerce products inside a WooCommerce table or Woo product table. That's not all; the products table or product tables created with this WooCommerce product table plugin will be fully responsive, which means that you can also create responsive tables for your WooCommerce product display. WooCommerce table or Woo product table is a great way to list products in an organized and professional manner. If you're looking for a way to increase product visibility while boosting WooCommerce sales, WooCommerce product tables are a great option.
    10611061
    10621062<strong>💷 [Multi Currency for WooCommerce Currency Switcher](https://wordpress.org/plugins/wc-multi-currency/)</strong>
    10631063Multi-Currency for WooCommerce is a prominent currency switcher plugin for WooCommerce. This plugin allows your website or online store visitors to switch to their preferred currency or their country’s currency.
    10641064
    10651065== <a href="https://woolentor.com/pricing/?utm_source=wprepo&utm_medium=freeplugin&utm_campaign=purchasepro">Purchase ShopLentor Pro</a> ==
    10661066
    10671067
    10681068==🎥 Video Tutorials or Plugin Tutorials: ==
    10691069
    10701070[youtube https://youtu.be/_MOgvsZJ6uA]
    10711071[youtube https://youtu.be/MKjhBO2xQzg]
    10721072
    10731073== How to customize WooCommerce single product template ==
    10741074[youtube https://youtu.be/yMWtnsufvJk]
    10751075
    10761076== Build Custom My Account Page (Pro Feature) ==
    10771077[youtube https://youtu.be/b7tbEU1NUO8]
    10781078
    10791079<strong>[WooCommerce Checkout Field Editor (Pro Feature)](https://hasthemes.com/how-to-customize-woocommerce-checkout-page-and-field/)</strong>
    10801080[youtube https://youtu.be/qRRAECqyquU]
    10811081
    10821082<strong>WooCommerce Multistep Checkout (Pro Feature)</strong>
    10831083[youtube https://youtu.be/a4fhaPKSEFQ]
    10841084
    10851085<strong>WooCommerce Tutorial on Product Filters</strong>
    10861086[youtube https://youtu.be/-AXka-sc8hY]
    10871087
    10881088== <a href="https://hasthemes.com/blog-category/woolentor/">More Video</a> ==
    10891089* [Stock Progress bar for WooCommerce Product using ShopLentor](https://hasthemes.com/stock-progress-bar-for-woocommerce-product-using-woolentor/)
    10901090* [How to build a custom product template using ShopLentor Plugin](https://hasthemes.com/how-to-build-a-custom-product-template-using-woolentor-plugin/)
    10911091* [How to use Universal Product Grid Layouts](https://hasthemes.com/how-to-use-universal-product-grid-layouts/)
    10921092
    10931093==👨‍💻 Need Help? ==
    10941094Is there any feature that you want to get in this plugin?
    10951095Needs assistance to use this plugin?
    10961096Feel free to [Contact us](https://hasthemes.com/contact-us/)
    10971097
    10981098> ## Absolute Addons for Elementor Page Builder
    10991099> Don't forgete to check our Absolute mega addon for Elementor page Builder.
    11001100> [HT Mega – Absolute Addons for Elementor Page Builder](https://wordpress.org/plugins/ht-mega-for-elementor/)
    11011101> Includes 360 Blocke & 15 Landing Pages.
    11021102
    11031103== <a href="https://wordpress.org/plugins/elementor/">Elementor</a> page builder is required for this plugin. ==
    11041104Elementor Pro is not required. But you can use ShopLentor with Elementor free & Pro.
    11051105
    11061106== Changelog ==
    11071107
     1108= Version: 2.8.2 - Date: 04-03-2024 =
     1109* Solved : Wishlist button class rendering issue.
     1110* Solved : Product id fetching issue in compare button shortcode.
     1111* Soled : Single Product default image show with FSE Theme.
     1112* Compatibility : Latest WordPress and WooCommerce version.
     1113
    11081114= Version: 2.8.1 - Date: 18-02-2024 =
    11091115* Added : Currency Switcher Block for Gutenberg.
    11101116* Solved : Editor mode background image showing issue in Image marker block.
    11111117* Solved : Null value passing warning issue in variation swatch module.
    11121118* Compatibility : Latest WordPress and WooCommerce version.
    11131119
    11141120= Version: 2.7.9 - Date: 04-02-2024 =
    11151121* Added :  Support to all block in Full Site editing screen.
    11161122* Added : Same Hight grid option in Recently view product addon.
    11171123* Solved : Required field validation issue with Shopify like checkout module.
    11181124* Solved : Default currency set issue in Multi Currency Switcher module.
    11191125* Solved : Hidden product display issue with Ajax search Module.
    11201126* Compatibility : Latest WordPress and WooCommerce version.
    11211127
    11221128= Version: 2.7.8 - Date: 21-01-2024 =
    11231129* Added : Multi Currency Module.
    11241130* Added : Elementor Widget for Multi Currency Switcher.
    11251131* Added :  Exclude Out Of Stock product option in Product tab addon.
    11261132* Solved : Single product template render issue with Dokan.
    11271133* Solved : Minor Issues.
    11281134* Compatibility : Latest WordPress and WooCommerce version.
    11291135
    11301136= Version: 2.7.7 - Date: 31-12-2023 =
    11311137* Solved : Header and Footer showing issue with Full site editing.
    11321138* Solved : Product image showing issue in single product template.
    11331139* Solved : Minor issue.
    11341140* Compatibility : Latest WordPress and WooCommerce version.
    11351141
    11361142= Version: 2.7.6 - Date: 18-12-2023 =
    11371143* Solved : Template content render issue with default template.
    11381144* Solved : The Multi-Select field style in the Option Panel conflicts with a third-party plugin.
    11391145* Compatibility : Latest WordPress and WooCommerce version.
    11401146
    11411147= Version: 2.7.5 - Date: 04-12-2023 =
    11421148* Solved : Template Build issue with default template.
    11431149* Solved : Product title render issue in shopify like checkout page module.
    11441150* Solved : Sales notification showing verification issue.
    11451151* Solved : Minor issues.
    11461152* Compatibility : Latest WordPress and WooCommerce version.
    11471153
    11481154= Version: 2.7.4 - Date: 27-11-2023 =
    11491155* Added : Option for slider infinite loop control in universal product widget.
    11501156* Added : Variation product showing issue in Flash sale countdown widget.
    11511157* Solved : Dynamic variable creation issue.
    11521158* Improve : Template Building functionality.
    11531159* Compatibility : Latest WordPress and WooCommerce version.
    11541160
    11551161= Version: 2.7.3 - Date: 11-11-2023 =
    11561162* Added : Popup Close Gutenberg block for Popup Builder module.
    11571163* Added : Testimonial Gutenberg block.
    11581164* Compatibility : Latest WordPress and WooCommerce version.
    11591165
    11601166= Version: 2.7.2 - Date: 30-10-2023 =
    11611167* Added : Background color option add in all Gutenberg block.
    11621168* Added : Tab Menu style option in Gutenberg Product Tab block.
    11631169* Added: Option to set popup close button position
    11641170* Tweak: Dependency for the redirect url
    11651171* Fixed Popup settings were working for the free version if pro version is deactivated
    11661172* Improved : Admin notice UI.
    11671173* Compatibility : Latest WordPress Version.
    11681174
    11691175= Version: 2.7.1 - Date: 11-10-2023 =
    11701176* Added: Compatibility with HPOS.
    11711177* Added : Align option has been added in shop archive layout default block.
    11721178* Solved : Conditions repeater field generation issue in Popup builder module.
    11731179* Solved : Close button trigger doesn't work issue in Popup builder module.
    11741180* Compatibility : Sale Notification and display first order data in editor mode compatible with high performance order storage.
    11751181
    11761182= Version: 2.7.0 - Date: 25-09-2023 =
    11771183* Added: Popup builder template import option and template display in template library and Gutenberg editor mode.
    11781184* Added: Option to add in category grid widget show category > subcategory for shop page.
    11791185* Added: Min width option for filter item in horizontal Filter addon.
    11801186* Added: Close popup trigger button addon for Elementor in popup builder module.
    11811187* Added : Cookie support with the Close button trigger addon in popup builder module.
    11821188* Added : Option to disable close button in popup builder module.
    11831189* Solved: Border radius issue in WL : Product image addon.
    11841190* Tweak : wlpb_module_popup_open and wlpb_popup_closed JS trigger added in popup builder module.
    11851191* Tweak : reflect the Popup width / height / and positions changes support for elementor editor in popup builder module.
    11861192
    11871193= Version: 2.6.9 - Date: 09-09-2023 =
    11881194* Added: Introduced a link to the Popup Builder module for easy access when creating popups in popup builder Module.
    11891195* Added: Options for Open/Close Animation in popup builder Module.
    11901196* Option to set the frequency of popup display by specifying the number of days and close count in popup builder Module.
    11911197* Added: The Entire Site condition option by default in popup builder Module.
    11921198* Solved : Elementor deprecated warning issue.
    11931199* Solved : Inactivity Time option is now functioning properly in popup builder Module.
    11941200* Solved : Resolved a popup query issue related to the setup_postdata function in popup builder Module.
    11951201* Solved : Demo template data showing issue in elementor mode.
    11961202* Solved: Increment and decrement button showing issue if product quantity is less then 1 or equal.
    11971203
    11981204= Version: 2.6.8 - Date: 27-08-2023 =
    11991205* Added : Popup template import functionality has been added.
    12001206* Solved : Demo template showing issue in template add screen with popup builder module.
    12011207* Solved : Product current query issue for shop page.
    12021208* Solved : Gutenbarge block editor some field style issue.
    12031209
    12041210= Version: 2.6.7 - Date: 21-08-2023 =
    12051211* Added : Product Meta Data show in Shopify like checkout module.
    12061212* Added : Sort By product filter label change option in product Vertical and Horizontal product filter addon.
    12071213* Added : QuickView close if click on outside and cross icon.
    12081214* Added : Popup Builder Module.
    12091215* Solved : Product ordering issue in default archive addon.
    12101216* Compatibility : Compatibility with latest WooCommerce and Elementor Version.
    12111217
    12121218= Version: 2.6.6 - Date: 31-07-2023 =
    12131219* Solved : HTML Tag name spelling issue in shopify like module.
    12141220* Solved : Sample template showing issue has been solved.
    12151221* Solved : External product redirect issue from QuickView popup.
    12161222* Solved : External product add to cart button issue with single product ajax add to cart module.
    12171223* Solved : Dimension field style issue for Gutenberg.
    12181224* Compatibility : With latest WooComemrce and Latest WordPress version.
    12191225
    12201226= Version: 2.6.5 - Date: 08-07-2023 =
    12211227* Compatibility : Wishlist button Compatibility with WC FSE blocks.
    12221228* Compatibility : With latest WooComemrce and Latest Elelementor version.
    12231229
    12241230= Version: 2.6.4 - Date: 25-06-2023 =
    12251231* Solved : Product show issue with product filter addon.
    12261232* Solved: Footer menu doesn’t showing issue with shopify like checkout page.
    12271233* Solved : Variation Swatch render issue with QuickCart.
    12281234* Compatibility : With latest WooComemrce and Latest Elelementor version.
    12291235
    12301236= Version: 2.6.3 - Date: 28-05-2023 =
    12311237* Added : Option to show back order product available date and send it to client email address after order completion.
    12321238* Solved : Backorder field hide and showing issue in product edit screen.
    12331239
    12341240= Version: 2.6.2 - Date: 14-05-2023 =
    12351241* Solved : Post duplicate issue has been solved in post duplicator module.
    12361242* Compatibility : With latest WooComemrce and Latest Elelementor version.
    12371243
    12381244= Version: 2.6.1 - Date: 30-04-2023 =
    12391245* Added : Two filter for third party Wishlist plugin compatibility.
    12401246* Solved : Add to cart button style issue in QuickView template.
    12411247* Compatibility : With latest WooComemrce and Latest Elelementor version.
    12421248
    12431249= Version: 2.6.0 - Date: 18-04-2023 =
    12441250* Added : Gutenberg template list show in template manager popup.
    12451251* Improved : Template sample data store process.
    12461252* Solved : Added to cart button showing issue in cart page.
    12471253* Solved : Gutenbarge block tab menu icon overlapping issue.
    12481254* Solved : Quantity increase / decrease issue with multiple add to cart button.
    12491255
    12501256= Version: 2.5.9 - Date: 12-04-2023 =
    12511257* Added : Option to add existing page selection or custom url for Shopify like checkout page module logo.
    12521258* Solved : PHP warning issue in Wishlist Module.
    12531259* Solved : Prepare query placeholder issue in Wishlist Module.
    12541260
    12551261= Version: 2.5.8 - Date: 28-03-2023 =
    12561262* Added : Gutenberg Template library
    12571263* Added : Pagination option in Wishlist table.
    12581264* Added :  Product Limit Option in Wishlist Module.
    12591265* Solved : Wishlist Product counter item showing issue.
    12601266* Solved : Compare Button Text showing issue in add to cart addon.
    12611267* Solved : Widget Script Dependency issue.
    12621268
    12631269= Version: 2.5.7 - Date: 13-03-2023 =
    12641270* Added : Background color option in promo banner block.
    12651271* Added : Title, Subtitle banner area Dimension control option in promo banner block.
    12661272* Solved : Product adding issue with Compare table listing mode.
    12671273* Compatibility : With latest WooComemrce and Latest Elelementor version.
    12681274
    12691275= Version: 2.5.6 - Date: 26-02-2023 =
    12701276* Added : Content Alignment option in Product rating block.
    12711277* Added : Price Alignment option in Product Price block.
    12721278* Added : Alignment option in Product stock block.
    12731279* Added : Alignment option in Product Meta block.
    12741280* Solved : Border CSS generate issue in product add to cart block.
    12751281* Solved : CSS Generate issue in editor mode for product tabs block.
    12761282* Solved : Toggle control component style issue in Related product addon.
    12771283* Solved : Cart and Shipping step navigation hide issue for mobile device in Shopify like checkout module.
    12781284
    12791285= Version: 2.5.5 - Date: 04-02-2023 =
    12801286* Added : 4 Style has been added in single product add to cart block.
    12811287* Added : WishList and Compare Button control option added in single product add to cart block.
    12821288* Solved : Template Container Width issue in Elementor Editor.
    12831289* Solved : Template Container width Metabox render issue.
    12841290* Solved : Has been solved missed return value from add to cart filter in backorder module.
    12851291* Solved : PHP Undefined Function issue if WooCommerce is Deactivate.
    12861292* Compatibility : Universal Product Layout compatibility with kadence theme.
    12871293
    12881294= Version: 2.5.4 - Date: 23-01-2023 =
    12891295* Added : Category description showing option has been added in WL Category Grid
    12901296* Added : Show city, Show state, Show Country option has been added in sales notification module.
    12911297* Added : Purchased by and price label change option has been added in sales notification module.
    12921298* Added : Cross Icon color option in Product Filter addon.
    12931299* Tweak : HTML tags allow in Archive Title Addon and Block.
    12941300* Tweak : Template builder Custom Meta box move to Gutenberg Meta Box Control.
    12951301* Compatibility : Polylag and WPML Support in wishlist and compare Module.
    12961302* Solved : Class Attribute adding issue form advance settings of the block  "Additional CSS class(es)"
    12971303* Solved : Tab Alignment Issue in WL Product Tab addon.
    12981304* Solved : Wishlist Product Limit issue in wishlist table.
    12991305* Solved : Compare Product Limit issue in compare table.
    13001306
    13011307= Version: 2.5.3 - Date: 08-1-2023 =
    13021308* Added : Hidden item showing option in Universal Product layout.
    13031309* Added : Out Of Stock item hide / show option in Universal Product layout.
    13041310* Added : Recently Viewed Product Gutenberg Block.
    13051311* Solved : Number of item showing issue in category grid block.
    13061312
    13071313= Version: 2.5.2 - Date: 27-12-2022 =
    13081314* Added : Title background Color change option has been added in category grid addon.
    13091315* Added : Aria Label attribute added in all quick-view anchor tag.
    13101316* Solved :  Template data Import issue has been fixed.
    13111317* Solved : Template Builder Wide fetching issue.
    13121318* Solved : Custom payment Button showing issue in cart page with WooCommerce Stripe Gateway plugin.
    13131319* Solved : All Category showing issue in category grid block.
    13141320* Compatibility with the latest WooCommerce version.
    13151321* Compatibility With latest Elementor Version.
    13161322
    13171323= Version: 2.5.1 - Date: 06-12-2022 =
    13181324* Added :  WooLentor Builder Template Import option from template library.
    13191325* Added : Parent Category Showing option in Category grid addon.
    13201326* Added : Parent Category Showing option in Category List addon.
    13211327* Solved : Lighthouse validation issue in (Universal Product, Product Filter and Product Filter module)
    13221328* Solved : Add to cart product duplicate entity issue with single product Ajax add to cart module.
    13231329* Compatibility With latest Elementor Version.
    13241330
    13251331= Version: 2.5.0 - Date: 27-11-2022 =
    13261332* Added :  Single product Review Form Block.
    13271333* Added : Slider option has been added in Brand logo block.
    13281334* Improved : Sample Template import process and default title random generate change to template title.
    13291335* Improved : Elementor dependency has been added in template import process.
    13301336* Improved : Sample template name show in template edit manager popup.
    13311337* Solved : Gutenberg Block ColorPalette reset button showing issue.
    13321338* Solved : Add to cart icon showing issue has been foxed in Product Tab block.
    13331339* Compatibility with the latest WooCommerce version.
    13341340
    13351341= Version: 2.4.9 - Date: 17-11-2022 =
    13361342* Solved : Template sample data import issue.
    13371343* Changed : Menu name and menu slug.
    13381344
    13391345= Version: 2.4.8 - Date: 13-11-2022 =
    13401346* Solved : Single product add to cart issue with single product add to cart module.
    13411347* Solved : Currency separate fetching issue in Filter addons.
    13421348* Solved : Product Filter non taxonomy select warning.
    13431349* Compatible: Multi Language supported.
    13441350* Compatibility with the latest WooCommerce version.
    13451351* Compatibility with the latest WordPress version.
    13461352
    13471353= Version: 2.4.7 - Date: 06-11-2022 =
    13481354* Solved : Issue in showing recommended extensions for php7.
    13491355* Solved : Issue with the display of wishlist and compare icon in product grid block.
    13501356* Solved : Anchor tag link validation issue in QuickView button.
    13511357* Solved : Width control issue in the horizontal filter addon element.
    13521358* Solved : Redirection issue of the filter addon in the Elementor editor mode.
    13531359* Solved : Compatibility issue of the "Single Product Ajax Add to Cart" module with third-party plugin.
    13541360* Solved : Issue with the overriding of outdated templates.
    13551361* Compatibility with the latest WooCommerce version.
    13561362* Compatibility with the latest WordPress version.
    13571363
    13581364= Version: 2.4.6 - Date: 17-10-2022 =
    13591365* Added :  Hooks  for custom validation.
    13601366* Improved : Gutenberg blocks style option.
    13611367* Solved : Compatibility issue with PHP 7.2 in Variation swatches module.
    13621368* Solved : An activation issue with slick slider  in Universal layout addon.
    13631369* Compatibility with the latest WooCommerce version.
    13641370
    13651371= Version: 2.4.5 - Date: 20-09-2022 =
    13661372* Added : Ordering option in Category grid / List addons.
    13671373* Improved : No limit to showcase products using category grid addon.
    13681374* Improved : The functionality of Gutenberg blocks.
    13691375* Improved : View pre-built templates in a popup.
    13701376* Solved : Latest Product showing issue in Archive default addon.
    13711377* Solved : Sample data showing issue in Elementor editor mode.
    13721378* Solved : Style rendering issue of the Add to cart button
    13731379* Solved : Block Short-code rendering issue in template content.
    13741380* Compatibility with the German Market Plugin.
    13751381* Compatibility with the latest WooCommerce version.
    13761382
    13771383= Version: 2.4.4 - Date: 23-08-2022 =
    13781384* Improved : Specific page wise blocks register.
    13791385* Compatibility with latest WordPress version.
    13801386* Compatibility with latest WooCommerce version.
    13811387
    13821388= Version: 2.4.3 - Date: 10-08-2022 =
    13831389* Added : Alignment Option add in Product rating addon.
    13841390* Added : Font Size and dimension control option for Add to cart action buttons.
    13851391* Added : Product data tab menu area style option in Product data tab addon.
    13861392* Added : Margin and Padding option in Product description addon.
    13871393* Solved : Unnecessary content showing issue in shopify style checkout  footer for flatsome theme.
    13881394* Solved : FOUC Issue in all carousel.
    13891395* Compatibility with latest WooCommerce version.
    13901396* Compatibility with latest WordPress version.
    13911397
    13921398= Version: 2.4.2 - Date: 24-07-2022 =
    13931399* Tweak : The compatibility of the Variation Swatches module with Astra theme.
    13941400* Compatibility with latest WooCommerce version.
    13951401* Compatibility with latest WordPress version.
    13961402
    13971403= Version: 2.4.0 - Date: 04-07-2022 =
    13981404* Added : Options to show Phone Number and Company fields in the Shopify Style Checkout module.
    13991405* Added : Variation Swatches Module.
    14001406* Added : Options to control the Quantity field and 4 layouts for the Add to Cart button.
    14011407* Added : Gutenberg blocks for the Shop, Archive, and Product pages.
    14021408* Tweak : The compatibility of the Shopify Style Checkout module with WooFunnels' Order Bump feature.
    14031409* Solved : A display issue with the share button when no products are available to compare.
    14041410
    14051411= Version: 2.3.2 - Date: 20-06-2022 =
    14061412* Added : Support to display currency position with space in product filter widgets.
    14071413* Added : Style option in wishlist table addon.
    14081414* Tweak : Wishlist and Compare menu position change.
    14091415* Solved : Shopify style checkout module compatibility with ShopLentor Pro checkout field manager module.
    14101416* Solved : Tab labels change issue in Shopify Style Checkout page.
    14111417* Solved : Repeater item adding issue in module setting.
    14121418* Solved : PHP Warning issue, if ShopLentor Pro is deactivated from FTP / cPanel.
    14131419* Solved : Wishlist counter PHP warning.
    14141420* Solved : Client say color change issue in WL Testimonial Widget.
    14151421
    14161422= Version: 2.3.1 - Date: 04-06-2022 =
    14171423* Tweak : Elementor Dependency Notice added in Template Builder.
    14181424* Solved : Module setting reset problem with switcher element.
    14191425* Solved : Shipping Method showing issue in Shopify Style Checkout page.
    14201426
    14211427= Version: 2.3.0 - Date: 25-05-2022 =
    14221428* Added : Module Settings Reset button.
    14231429* Compatibility : With Latest WordPress Version.
    14241430
    14251431= Version: 2.2.9 - Date: 22-05-2022 =
    14261432* Improved : Dashboard Elements Panel UI.
    14271433* Tweak : jQuery UI library has been removed from template library.
    14281434* Tweak : Pending product has been excluded from AJAX search module.
    14291435* Solved : Unnecessary Content showing issue in Shopify Style Checkout page.
    14301436* Solved :  Wishlist Icon Overlapping issue, if icon position is set Top On Image.
    14311437* Solved : iframe dimension issue in Product Video gallery addon.
    14321438* Solved : Compatibility with BuddyBoos Theme.
    14331439
    14341440= Version: 2.2.8 - Date: 15-05-2022 =
    14351441* Solved : Product showing issue with product filter addon in category page.
    14361442* Solved : Video thumbnails overlapping issue in Video Gallery Addon.
    14371443* Compatibility With latest WooCommerce version.
    14381444
    14391445= Version: 2.2.7 - Date: 08-05-2022 =
    14401446* Added : Add to cart button style option in Wishlist table.
    14411447* Solved : Wishlist Button icon show server permission issue.
    14421448* Solved : Wishlist table heading showing issue in mobile device.
    14431449* Solved : Compare Button icon show server permission issue.
    14441450* Solved : Compatibility  with FiboSearch plugin.
    14451451* Solved : Action Button Line Height issue in Univarsel Layout Addon.
    14461452
    14471453= Version: 2.2.6 - Date: 25-04-2022 =
    14481454* Added : Quantity Field Hide option in WL: Add to cart button.
    14491455* Solved : Undefine offset Issue in Gutenberg blocks style.
    14501456* Solved : Currency symbol position issue in product filter addon.
    14511457* Solved : Compatibility With Lumise Product Designer.
    14521458
    14531459= Version: 2.2.5 - Date: 17-04-2022 =
    14541460* Added : Category Dropdown Field in AJAX search form.
    14551461* Solved : Product showing issue with custom pagination.
    14561462* Solved : Product right space issue in archive default addon.
    14571463
    14581464= Version: 2.2.4 - Date: 05-04-2022 =
    14591465* Added : Recently Viewed products addon.
    14601466* Solved : Product Column set issue in archive custom addon.
    14611467* Solved : Wishlist counter fatal error.
    14621468* Solved : Horizontal product filter Alignment issue for mobile device.
    14631469* Solved : Event showing issue in WL : Product Flash Sale addon.
    14641470* Solved : Phone Number validation issue in Shopify style checkout Module.
    14651471* Solved : Add to cart button text showing issue in Product Accordion addon.
    14661472* Tweak: Removed register_widget_type and widgets_registered deprecated method.
    14671473
    14681474= Version: 2.2.3 - Date: 20-03-2022 =
    14691475* Added : Product SKU addon.
    14701476* Added : Product tags addon.
    14711477* Added : Product Categories addon.
    14721478* Added : Archive Result Count addon.
    14731479* Added : Archive Catalog Ordering addon.
    14741480* Added : Hide cart and shipping step option in shopify style checkout module.
    14751481* Added : Buttons and step label change option in shopify style checkout module.
    14761482* Solved : Product limit set option in product tab addon.
    14771483* Solved : Product filter wise product showing issue in archive default addon.
    14781484* Solved : Ratting showing issue if Inline Font Icons is enable.
    14791485
    14801486= Version: 2.2.1 - Date: 07-03-2022 =
    14811487* Added : Spinner in shopify style checkout page.
    14821488* Solved : Warning issue in Archive title addon.
    14831489* Solved : Default address field select style issue in shopify style checkout page.
    14841490
    14851491= Version: 2.2.1 - Date: 06-03-2022 =
    14861492* Added : Archive title addon.
    14871493* Added : Breadcrumbs addon.
    14881494* Solved : Product curvy style issue.
    14891495* Solved : Multiple Add to cart button issue in universal layout.
    14901496* Solved : Single product style issue for Blocksy and Woostify theme.
    14911497
    14921498= Version: 2.2.0 - Date: 20-02-2022 =
    14931499* Solved : Shopify style checkout page conflict issue with redux  template.
    14941500* Solved : Wishlist and compare dashboard menu syntax issue.
    14951501* Solved: Template library showing issue.
    14961502* Solved : Sale Notification style issue in shopify style checkout page.
    14971503
    14981504= Version: 2.1.9 - Date: 12-02-2022 =
    14991505* Added : Wishlist Counter addon.
    15001506* Added : Out of stock badge color option in Universal layout addons.
    15011507* Fixed : Checkout page shipping calculate issue in shopify style checkout page.
    15021508* Fixed : Extra li element generate issue in shopify style checkout page.
    15031509* Fixed: Solved a title styling issue in the default Archive addon for OceanWP theme.
    15041510
    15051511= Version: 2.1.8 - Date: 02-02-2022 =
    15061512* Added : Backorder Module.
    15071513* Fixed : Print notices issue in editor mode.
    15081514
    15091515= Version: 2.1.7 - Date: 2022-01-24 =
    15101516* Added : Wishlist and compare module.
    15111517* Added : Flash Sale Addon.
    15121518* Solved : Shopify style checkout page shipping method empty message issue.
    15131519* Solved : Repeater field select2 style issue.
    15141520* Solved : Product showing issue in Module popup.
    15151521* Solved : Same Height box content area issue.
    15161522
    15171523= Version: 2.1.6 - Date: 2022-01-15 =
    15181524* Improved : Gutenberg Asset load on frontend site.
    15191525* Solved : FlashSale Empty deals warning issue.
    15201526* Solved : Shopify Style checkout page field override issue.
    15211527* Solved : Translate issue in Shopify style checkout page.
    15221528* Solved : Shopify checkout page account creation issue.
    15231529* Solved : AJAX function deprecation issue.
    15241530* Solved : Rating color change issue.
    15251531
    15261532= Version: 2.1.5 - Date: 2022-01-03 =
    15271533* Solved : Gutenberg Blocks Console Error issue.
    15281534
    15291535= Version: 2.1.4 - Date: 2022-01-02 =
    15301536* Added : Flash Sale Event Module.
    15311537* Improved : Gutenberg Blocks Assets load.
    15321538* Solved : Product not found message showing issue.
    15331539* Solved : Country, State selection issue in shopify style checkout page.
    15341540* Solved : Translate issue in shopify style checkout page.
    15351541
    15361542= Version: 2.1.3 - Date: 2021-12-21 =
    15371543* Solved : Post Duplicator security issue.
    15381544* Solved : Template library pop style issue.
    15391545* Solved : WAVE Tool empty content error issue.
    15401546
    15411547= Version: 2.1.2 - Date: 2021-12-07 =
    15421548* Added : Product box same height option in Universal product layout
    15431549* Improved : Elementor Widget register.
    15441550* Solved : Logo dimension issue for shopify style checkout page.
    15451551
    15461552= Version: 2.1.1 - Date: 2021-11-29 =
    15471553* Added : Template Builder option added from own post type.
    15481554* Added : Shopify Style checkout page.
    15491555* Added : Template import option from previously assigned templates
    15501556* Improved : Rename label and sale notification option moved to module settings.
    15511557* Solved : Action button alignment issue in universal layout addon.
    15521558
    15531559= Version: 2.1.0 - Date: 2021-11-13 =
    15541560* Improved : Settings panel design.
    15551561* Solved : Sale badge showing issue in product gallery addon.
    15561562* Capability with latest Elementor and WooComemrce Version.
    15571563
    15581564= Version: 2.0.0 - Date: 2021-10-31 =
    15591565* Changed : Template library data import page template.
    15601566* Solved : Archive product column spacing issue.
    15611567* Solved : Archive data showing issue in editor mode for astra theme.
    15621568
    15631569= Version: 1.9.9 - Date: 2021-10-16 =
    15641570* Added : width option for sales notification.
    15651571* Added : Option for show/display all products associated with each order.
    15661572* Fixed : Notification first load time.
    15671573
    15681574= Version: 1.9.8 - Date: 2021-09-27 =
    15691575* Added: Advance Rename Label Options.
    15701576* Added: Advance Sale notifications.
    15711577* Updated: Documentation link.
    15721578* Removed: Unnecessary fields from Polylang config file.
    15731579* Removed: Gutenberg blocks if Classic Editor is installed.
    15741580
    15751581= Version: 1.9.6 - Date: 2021-08-30 =
    15761582* Added FAQ Block, Product Curvy Block.
    15771583* Solved Video gallery addon variation image change issue.
    15781584* Solved product column space issue.
    15791585
    15801586= Version: 1.9.5 - Date: 2021-08-09 =
    15811587* Solved Product column issue for the Astra Theme
    15821588
    15831589= Version: 1.9.4 - Date: 2021-08-08 =
    15841590* Added Category Grid and Product tab blocks.
    15851591* Solved Product image showing issue in editor mode.
    15861592* Solved Horizontal filter item select issue.
    15871593* Solved Translate issue.
    15881594* Solved Related Product, Upsale product and Cross sale Product Column issue for storefront theme
    15891595
    15901596= Version: 1.9.3 - Date: 2021-27-07 =
    15911597* Added Title tag change option in universal layout
    15921598* Added Product Archive page template override global option
    15931599* Solved Variation image showing issue in QuickView
    15941600* Solved Slick slider console error
    15951601
    15961602= Version: 1.9.2 - Date: 2021-24-07 =
    15971603* Compatibility With WordPress Latest Version
    15981604* Compatibility With Elementor Latest Version
    15991605
    16001606= Version: 1.9.1 - Date: 2021-18-07 =
    16011607* Added 5 Gutenberg blocks
    16021608
    16031609= Version: 1.9.0 - Date: 2021-21-06 =
    16041610* Added count manage option in category grid addon.
    16051611* Solved spelling issue.
    16061612* Solved related product column issue.
    16071613* Solved sale notification ( Price, By ) translate issue.
    16081614* Added ShopLentor product option tab index.
    16091615* Added hide out of stock item option.
    16101616* Solved product column issue ( For JetBuilder plugin )
    16111617* Solved Tax Query conflick issue (For YITH WooCommerce Auctions premium )
    16121618* Solved feature product showing issue.
    16131619* Solved Quantity field value showing issue for Hello Elementor theme.
    16141620* Solved Elementor editor load issue with page layout theme.
    16151621* Solved current theme product style item specing issue.
    16161622* Solved sale badge style issue for twentytwentyone theme.
    16171623
    16181624= Version: 1.8.9 - Date: 2021-24-05 =
    16191625* Added ShopLentor product option tab index.
    16201626* Added hide out of stock item option.
    16211627* Solved product column issue ( For JetBuilder plugin )
    16221628* Solved Tax Query conflick issue (For YITH WooCommerce Auctions premium )
    16231629* Solved feature product showing issue.
    16241630* Solved Quantity field value showing issue for Hello Elementor theme.
    16251631* Solved Elementor editor load issue with page layout theme.
    16261632* Solved current theme product style item specing issue.
    16271633* Solved sale badge style issue for twentytwentyone theme.
    16281634
    16291635= Version: 1.8.8 - Date: 2021-24-04 =
    16301636* Form serialize data send from AJAX single product add to cart request
    16311637* Solved quick view add to cart button adding products without selecting variations issue.
    16321638* Solved sale notification time intervel issue.
    16331639* Compatible with Elementor latest version
    16341640
    16351641= Version: 1.8.7 - Date: 2021-7-04 =
    16361642* Solved quickview variation data showing issue.
    16371643* Added quickview variation product AJAX add to cart.
    16381644* Added AJAX search widget close option after click outside.
    16391645* Solved quickview z-index issue.
    16401646* Solved universal product layout slider issue for OceanWP theme.
    16411647
    16421648= Version: 1.8.6 - Date: 2021-27-03 =
    16431649* Solved HTML tags validation issue.
    16441650
    16451651= Version: 1.8.5 - Date: 2021-24-03 =
    16461652* Added 5 extensions addon.
    16471653
    16481654= Version: 1.8.4 - Date: 2021-18-03 =
    16491655* Improved admin panel style.
    16501656* Added extension menu.
    16511657* Fixed minor bugs.
    16521658
    16531659= Version: 1.8.3 - Date: 2021-10-03 =
    16541660* Product video description issue solved.
    16551661* Solved quick view problem with ocean WP theme.
    16561662* Minor bug fixed.
    16571663
    16581664= Version: 1.8.2 - Date: 2021-02-03 =
    16591665* Capability with ever compare and wishsuite plugins.
    16601666* Added category before border hide option in universal layout.
    16611667* Increase sale badge style option.
    16621668* Template wise class added in the body for template global style option.
    16631669* Reduce API call.
    16641670* Minor bug fixed.
    16651671
    16661672= Version: 1.8.1 - Date: 2021-02-03 =
    16671673* Fixed Repeater field console error issue.
    16681674* Minor bug fixed.
    16691675
    16701676= Version: 1.8.0 - Date: 2021-01-9 =
    16711677* Fixed product shortcode issue.
    16721678
    16731679= Version: 1.7.9 - Date: 2021-01-7 =
    16741680* Fixed archive page broken issue.
    16751681* Fixed search results page issue.
    16761682* Fixed product ordering issue on the shop page.
    16771683
    16781684= Version: 1.7.8 - Date: 2020-12-27 =
    16791685* Minor Bug fixed addon added
    16801686
    16811687= Version: 1.7.7 - Date: 2020-12-26 =
    16821688* Store Features addon added
    16831689* Faq addon added
    16841690* Testimonial addon added
    16851691* One page slider addon added
    16861692* Category Grid addon added
    16871693* Minor Bug fixed addon added
    16881694
    16891695= Version: 1.7.6 - Date: 2020-12-25 =
    16901696* Capability to customize the search results page.
    16911697* SG Optimizer plugin Compatibility.
    16921698* Product filter issue solved.
    16931699
    16941700= Version: 1.7.5 - Date: 2020-12-05 =
    16951701* Product Horizontal Filter Addon added.
    16961702
    16971703= Version: 1.7.4 - Date: 2020-11-25 =
    16981704* Product Filter Addon added.
    16991705
    17001706= Version: 1.7.3 - Date: 2020-11-11 =
    17011707* Template Library Improve
    17021708* Rating improve
    17031709* Style css improve
    17041710
    17051711= Version: 1.7.1 - Date: 2020-10-11 =
    17061712* Capability With the latest WordPress and WooCommerce.
    17071713* Spelling improve
    17081714
    17091715= Version: 1.7.0 - Date: 2020-09-15 =
    17101716* Product Curvy addon added
    17111717* Product accordion addon added
    17121718* Product image with accordion added
    17131719* Capability With the latest WordPress and WooCommerce.
    17141720
    17151721= Version: 1.6.9 - Date: 2020-01-02 =
    17161722* Capability With the latest WordPress and WooCommerce.
    17171723* Bug Fixing
    17181724
    17191725= Version: 1.6.8 - Date: 2020-08-13 =
    17201726* Capability With the latest WordPress and WooCommerce.
    17211727
    17221728= Version: 1.6.7 - Date: 2020-07-22 =
    17231729* Image marker addon added.
    17241730* Customer Review addon added.
    17251731
    17261732= Version: 1.6.6 - Date: 2020-07-04 =
    17271733* Add to cart text showing option added in universal layout.
    17281734
    17291735= Version: 1.6.5 - Date: 2020-06-28 =
    17301736* QR Code Generator Addon Added.
    17311737
    17321738= Version: 1.6.4 - Date: 2020-06-27 =
    17331739* Stock Management Progress Bar Option added in universal product layout.
    17341740
    17351741= Version: 1.6.3 - Date: 2020-06-17 =
    17361742* Post Duplicator Option Added.
    17371743
    17381744= Version: 1.6.2 - Date: 2020-05-30 =
    17391745* Category View Addon Added.
    17401746* Brand Logo Addon Added.
    17411747
    17421748= Version: 1.6.0 - Date: 2020-05-06 =
    17431749* Editor Mode default data show.
    17441750* 10 Home page added in template library.
    17451751* Side Mini Cart added.
    17461752* Cross Sale, Upsale Slider issue solved.
    17471753* Default color setting add for universal layout.
    17481754
    17491755= Version: 1.5.8 - Date: 2020-04-24 =
    17501756* Template Library Improve.
    17511757* Mobile and Tablet Column support in Universal Layout.
    17521758* AJAX search autocomplete problem solved. Add CSS clear the 'X' from Chrome and Internet Explorer (thanks to Thomas FABOUX)
    17531759* Admin Promo banner AJAX dismiss added.
    17541760
    17551761= Version: 1.5.7 - Date: 2020-04-12 =
    17561762* Quickview Icon Issue Solved
    17571763* Product tab showing issue solved
    17581764
    17591765= Version: 1.5.3 - Date: 2020-02-17 =
    17601766* WooCommerce Brand Plugins Compatibility
    17611767* Full width Page Container Padding Issue solved
    17621768* 10 Home Page Added In library
    17631769
    17641770= Version: 1.5.2 - Date: 2020-01-11 =
    17651771* QuickView Loader Added
    17661772* Tab Menu Ordering Issue solved
    17671773* Template Library QuickView Added
    17681774
    17691775= Version: 1.5.1 - Date: 2019-12-29 =
    17701776* TI Wishlist Compatibility
    17711777* QuickView Loader Added
    17721778* Universal Layout Pagination and Navigation Position Options added
    17731779* QuickView Uniqe Classes
    17741780* Universal Layout a Features product showing issue solved
    17751781* QuickView Content Overlapping issue Solved
    17761782* Action Button style option added in WL: Product Tab Addons
    17771783* Product Tab layout a features product showing issue solved
    17781784* Options page responsive issue solved
    17791785
    17801786= Version: 1.5.0 - Date: 2019-12-08 =
    17811787* Universal layout Hide options ( Title, Price, ratting )
    17821788* Universal layout spacing options add in ( Title, Price, ratting, category )
    17831789* Universal layout Tab Menu area spacing controll options added
    17841790* Universal layout Slider column width issue solved
    17851791* Product Out of stock status added
    17861792* Single Prodcut AJAX Add to cart
    17871793
    17881794= Version: 1.4.9 - Date: 2019-11-29 =
    17891795* AJAX Search Form Added ( Widgets, Elementor Addons, Shortcode )
    17901796* Archive page product render issue fixed
    17911797* Show thumbnails image first for thumbnials slider ( Univarsel layout, archive layout, Advance image thumbnails )
    17921798
    17931799= Version: 1.4.7 - Date: 2019-11-12 =
    17941800* Elementor Product Load limit Option added.
    17951801
    17961802= Version: 1.4.6 - Date: 2019-11-03 =
    17971803* Call For Price Addon Added.
    17981804* Suggest Price Addon Added.
    17991805
    18001806= Version: 1.4.5 - Date: 2019-10-25 =
    18011807* Special Day Offer Addons Added.
    18021808
    18031809= Version: 1.4.4 - Date: 2019-10-10 =
    18041810* Universal Layout custom order issue solved.
    18051811* Tab With Thumbnails Slider image load issue solved.
    18061812
    18071813= Version: 1.4.0 - Date: 2019-09-09 =
    18081814* Sales Notification Added.
    18091815
    18101816= Version: 1.3.3 - Date: 2019-09-04 =
    18111817* Rename Label added (Limited for Free Version and Full Options for Pro version).
    18121818* Licensing Option for Plugins update (Pro).
    18131819<a href="https://hasthemes.com/rename-label-for-woocommerce-pages-and-licensing-option-for-pro-version">Details in Video</a>
    18141820
    18151821= Version: 1.3.2 - Date: 2019-09-01 =
    18161822* <a href="https://hasthemes.com/video-in-product-gallery-for-woolentor-elementor-page-builder/">Videos in Product Gallery (According to a Customer Request)</a>
    18171823
    18181824= Version: 1.2.2 - Date: 2019-07-15 =
    18191825* Include Template Library.
    18201826
    18211827= Version: 1.2.1 - Date: 2019-06-8 =
    18221828* Stock Progress bar ( Pro ).
    18231829* Product Title Character Limit option added ( Pro ).
    18241830* Enable/Disable All Elements Toggle button ( Pro ).
    18251831
    18261832== Installation ==
    18271833This section describes how to install the ShopLentor - WooCommerce Addons for Elementor Page Builder plugin and get it working.
    18281834
    18291835= 1) Install =
    18301836
    183118371. Go to the WordPress Dashboard "Add New Plugin" section.
    183218382. Search For "ShopLentor".
    183318393. Install, then Activate it.
    18341840
    18351841= OR: =
    183618421. Unzip (if it is zipped) and Upload `woolentor-addons` folder to the `/wp-content/plugins/` directory
    183718432. Activate the plugin through the 'Plugins' menu in WordPress
    18381844
    18391845= 2) Configure =
    184018461. After install and activate the plugin you will get a notice to install Elementor Plugin ( If allready install it then do not show notice. ).
    184118472. To install the plugin click on the "Button" Install Elementor.
    184218483. ‘SHOPLENTOR’ Category will be appear in Elementor page Editor
    184318494. Create new Product slider or product tab and relax!
    18441850
    18451851== Frequently Asked Questions ==
    18461852
    18471853= Can I use ShopLentor without WooCommerce? =
    18481854
    18491855No, ShopLentor is a plugin for WooCommerce and cannot be used without it. You need to use WooCommerce with ShopLentor for your online store.
    18501856
    18511857= What are the minimum requirements for using ShopLentor? =
    18521858
    18531859ShopLentor has been tested with the most up-to-date versions of both WordPress and WooCommerce.
    18541860
    18551861= How can I redirect to checkout page in WooCommerce? =
    18561862
    18571863Yes, you can set up a redirect to the checkout page in WooCommerce to skip the cart page. To do this, please follow these steps:
    18581864
    185918651. Go to Dashboard > ShopLentor > Modules.
    18601866
    186118672. Enable Redirect to Checkout on Add to Cart.
    18621868
    186318693. Visit the Shop/Store and click the add to cart button.
    18641870
    18651871You can follow this [doc](https://woolentor.com/doc/redirect-to-checkout/).
    18661872
    18671873= How do I create a multi-step checkout in WooCommerce? =
    18681874
    18691875ShopLentor Pro provides an easy way to create a multi-step checkout. You can follow this [online documentation](https://woolentor.com/doc/woocommerce-multi-step-checkout/) to create a multi-step checkout in WooCommerce.
    18701876
    187118771. Go to Dashboard > ShopLentor > Modules.
    18721878
    187318792. Enable Multi-Step Checkout.
    18741880
    187518813. From ShopLentor Template Builder > Add New Template
    18761882
    187718834. Select the template type “Checkout”
    18781884
    187918855. Drag WL: Multi-Step Checkout widget and Edit the template
    18801886
    18811887= How do I add a wishlist in WooCommerce? =
    18821888
    18831889ShopLentor provides a module for Wishlist, using that module you can easily add a wishlist to the WooCommerce product and archive page. You can follow the [documentation here](https://woolentor.com/doc/wishlist-for-woocommerce/):
    18841890
    188518911. Go to Dashboard > ShopLentor > Modules.
    18861892
    188718932. Enable Wishlist.
    18881894
    188918953. ShopLentor > Wishlist
    18901896
    189118974. Make necessary setting
    18921898
    18931899= How do I compare products in WooCommerce? =
    18941900
    18951901Yes, you can use the WooCommerce Product Compare plugin to compare products in WooCommerce. You can follow the steps below:
    18961902
    189719031. Install and activate the ShopLentor plugin.
    18981904
    189919052. Go to Dashboard > ShopLentor > Modules and enable the Product Compare module.
    19001906
    190119073. Enable the Compare module
    19021908
    190319094. Go to ShopLentor > Compare
    19041910
    190519115. Compare Settings
    19061912
    19071913You can check [full docs here](https://woolentor.com/doc/woocommerce-product-compare/)
    19081914
    19091915= How do I add a flash sale countdown timer in WooCommerce? =
    19101916
    19111917Yes, you can use the [WooCommerce Product Flash sale Countdown](https://woolentor.com/doc/enable-sales-countdown-timer-in-woocommerce/) module to add pre schedule or on schedule sale discount countdown timer in WooCommerce. You can follow the steps below:
    19121918
    191319191. Install and activate the ShopLentor plugin.
    19141920
    191519212. Go to Dashboard > ShopLentor > Modules.
    19161922
    191719233. Enable the Countdown module.
    19181924
    19191925WooCommerce Sales countdown can boost your sales. If you are looking for a countdown plugin for WooCommerce, then you can use ShopLentor for your online store. ShopLentor has an Elementor countdown addon or sales countdown WooCommerce addon which helps to display sale countdown timer WooCommerce for any special days offers like Christmas countdown, Black Friday countdown, etc.
    19201926
    19211927= How to enable backorder in WooCommerce? =
    19221928
    19231929You can enable backorder in WooCommerce using ShopLentor's backorder module. Follow the following steps:
    19241930
    19251931Step 1: Enable the Backorder module
    19261932
    19271933Step 2: Go to Product Edit Page
    19281934
    19291935Step 3: Setup Backorder for the product
    19301936
    19311937You can check the full online documentation about "How to enable backorder in WooCommerce?" [from this link](https://woolentor.com/doc/how-to-enable-woocommerce-backorder/).
    19321938
    19331939= How to make WooCommerce checkout look like Shopify? =
    19341940
    19351941ShopLentor provides a module to customize the default WooCommerce checkout design to look like Shopify. You can follow these steps:
    19361942
    193719431. Install and activate the ShopLentor plugin
    19381944
    193919452. Go to Dashboard > ShopLentor > Modules
    19401946
    194119473. Enable the Shopify Style Checkout
    19421948
    19431949= What is AJAX search for WooCommerce? =
    19441950
    19451951WooCommerce Ajax Search makes it quick and easy to search for items in your online store without having to reload the page. WooCommerce search content or results are displayed in real-time, allowing users to see them immediately.
    19461952
    19471953= How do I add AJAX search in WooCommerce? =
    19481954
    19491955ShopLentor comes with the Ajax Live Product search, WooCommerce search products, or WooCommerce search form module. It helps your customers to find their desired products quickly and easily from your WooCommerce store without full-text searching through an advanced search widget. ShopLentor's ajax search form enables category wise search widget or  WooCommerce search taxonomy search bar. The benefits of using this WooCommerce fast search/Woo ajax search module are - Ajax shopping experience, visual product search/product image search, ajax search suggestion, etc.
    19501956
    19511957You can follow these steps:
    19521958
    195319591. Install and activate the ShopLentor plugin
    19541960
    195519612. Go to Dashboard > ShopLentor > Modules.
    19561962
    195719633. Enable Ajax Search Widget.
    19581964
    195919654. Edit the page template from the ShopLentor > Template Builder.
    19601966
    196119675. Drag and drop the ajax product search widget.
    19621968
    19631969= How to add Ajax Add to cart on WooCommerce product Page? =
    19641970
    19651971ShopLentor has a module for ajax based cart or quick add to cart. You can use the ShopLentor Ajax add to cart module for adding ajax add to cart functionality on WooCommerce product page. You can follow these steps:
    19661972
    196719731. Install and activate the ShopLentor plugin.
    19681974
    196919752. Go to Dashboard > ShopLentor > Modules.
    19701976
    197119773. Enable Ajax Add To Cart Module.
    19721978
    19731979= How to add a custom field in WooCommerce checkout? =
    19741980
    19751981ShopLentor Pro has a module for WooCommerce checkout field editor. You can use the WooCommerce checkout fields manager module to add custom fields/WooCommerce additional fields/WooCommerce extra checkout fields, hide checkout fields, and remove billing fields on the WooCommerce checkout page or Elementor WooCommerce checkout template. You can follow these steps:
    19761982
    197719831. Install and activate the ShopLentor plugin.
    19781984
    197919852. Go to Dashboard > ShopLentor > Modules.
    19801986
    198119873. Enable Checkout Field Manager Module.
    19821988
    198319894. Modify Checkout fields.
    19841990
    198519915. Add new fields if required.
    19861992
    198719936. Save changes.
    19881994
    19891995= How do I add a Product size chart in WooCommerce? =
    19901996
    19911997ShopLentor pro has the size chart WooCommerce module. You can use the WooCommerce size guide module to add a size chart on the product page. You can follow these steps:
    19921998
    199319991. Install and activate the ShopLentor plugin.
    19942000
    199520012. Go to Dashboard > ShopLentor > Modules.
    19962002
    199720033. Enable WooCommerce Size Chart Module.
    19982004
    199920054. Go to ShopLentor > Size Charts
    20002006
    200120075. Add a New Size chart.
    20022008
    200320096. Choose Product and Save.
    20042010
    20052011= How to edit labels in WooCommerce? =
    20062012
    20072013ShopLentor has a module for WooCommerce label customization. You can use the WooCommerce custom product label module to edit/change labels on product label, WooCommerce add to cart button label, out of stock label,  categories/Archive page labels, and tags pages of the WooCommerce store. You can follow these steps:
    20082014
    200920151. Install and activate the ShopLentor plugin.
    20102016
    201120172. Go to Dashboard > ShopLentor > Modules.
    20122018
    201320193. Enable WooCommerce rename Label Module.
    20142020
    201520214. Edit the labels.
    20162022
    201720235. Save changes.
    20182024
    20192025= How to show best selling products by category? =
    20202026
    20212027You can show best selling products using the Universal Widget of ShopLentor. This widget can be used as a WooCommerce best selling product widget WooCommerce. Where you can show best selling products by category. To do this, follow these steps
    20222028
    202320291. Edit a page where you want to add the best selling products.
    202420302. Drag the Universal Widget.
    202520313. Choose options to show the best sell products.
    20262032
    20272033= How to show featured products in WooCommerce? =
    20282034
    20292035ShopLentor comes with the Universal Layout widget to show WooCommerce featured products. you can use the WooCommerce featured product query to show featured products in different ways on your store. You can follow these steps:
    20302036
    203120371. Install and activate the ShopLentor plugin.
    20322038
    203320392. Edit a Page where you want to add the featured WooCommerce Products.
    20342040
    203520413. Drag the Universal Layout Widget.
    20362042
    203720434. Filter By > Featured Products
    20382044
    203920455. To Show Featured product by category name, add categories.
    20402046
    20412047= How does ShopLentor compare with other WooCommerce Elementor Addons? =
    20422048
    20432049Although ShopLentor and other WooCommerce Elementor Addons like ShopEngine or JetWidgets are also focused on making the entire WooCommerce website building experience easier with the Elementor page builder, ShopLentor WooCommerce addon offers some remarkable features while some of its competitors don't. To name a few, Shopify Style Checkout, MultiStep Checkout for WooCommerce, custom WooCommerce Checkout Fields Editor, Email Customizer, Email Automation, GTM Conversion Tracking, and several others.
    20442050
    20452051= Can I use ShopLentor along with any other plugins that are powered by Elementor & WooCommerce? =
    20462052
    20472053ShopLentor is meticulously crafted with all the standards and best practices of both Elementor and WooCommerce. So, it is not likely to create any conflicts with other Elementor and WooCommerce plugins. On top of that, we have tested the ShopLentor plugin with several popular Elementor plugins or Elementor Addons and WooCommerce-based plugins. While doing so, we made sure that they worked perfectly with ShopLentor. Some of them are Master Addons, PowerPack Addons, Exclusive Addons, ElementsKit, Livemesh Addons, WooCommerce Shipping, WooCommerce PDF Invoices, YITH WooCommerce Wishlist, YITH WooCommerce Compare, Product Labels For Woocommerce (Sale Badges), Mailchimp for WooCommerce Integration, YayMail – WooCommerce Email Customizer, Wholesale Suite, Booster for WooCommerce, ShopReady, JetWidgets, CoDesigner and so on.
    20482054
    20492055= Is it possible to add WooCommerce extra checkout fields with ShopLentor? =
    20502056
    20512057Yes, of course. ShopLentor's Checkout Field Manager or Checkout Field Editor module allows users to add or remove WooCommerce custom fields checkout or WooCommerce checkout fields. Besides, users can also customize existing WooCommerce checkout fields as per their needs.
    20522058
    20532059= Can I use any third-party WooCommerce newsletter plugin with ShopLentor? =
    20542060
    20552061As you may already know, ShopLentor is designed by following all the best practices and standards of WooCommerce, so we can assure you that it will be compatible with a third-party WooCommerce advanced newsletter plugin, WooCommerce newsletter subscription plugin, or WooCommerce Mailchimp integration plugin.
    20562062
    20572063If you run into any issues, feel free to contact us through our support website.
    20582064
    20592065= Does ShopLentor support WooCommerce digital product sales and deliver digital files to customers? =
    20602066
    20612067Yes, ShopLentor can handle WooCommerce digital products or WooCommerd downloadable products (e.g. sell digital print, Ebook, etc.) without any issues. In case you want to integrate any specific functionality on your digital products store that WooCommerce doesn't offer by default, you may need to use third-party plugins.
    20622068
    20632069= How much does ShopLentor impact WooCommerce speed or page speed? =
    20642070
    20652071With great pleasure, we'd like to inform you that our team runs several tests before releasing any major ShopLentor update to ensure that it doesn't affect a website's performance in terms of WooCommerce speed or page speed 🚀
    20662072
    20672073Aside from that, ShopLentor allows users to enable or disable specific Elementor WooCommerce widgets and modules as per their needs to speed up Elementor WooCommerce widgets' performance 💪
    20682074
    20692075Another noteworthy fact is that no heavy PHP rendering is required to render any of ShopLentor's widgets and modules from the server side. Therefore, it is unlikely that the plugin will have a detrimental impact on the speed of a website.
    20702076
    20712077
    20722078== Screenshots ==
    207320791. Custom Product Page Builder
    207420802. Custom Cart Page Builder
    207520813. Custom Checkout Page Builder
    207620824. Checkout Page Field Editor
    207720835. Custom My Account Page
    207820846. Woo Wishlist
    207920857. Product Compare Table
    208020868. Product Quick View
    208120879. Horizontal Product Filter
    2082208810. Vertical Product Filter
    2083208911. Sales Notification
    2084209012. Universal Product Layout
    2085209113. Product Slider - Style 1
    2086209214. Product Slider - Style 2
    2087209315. Product Slider - Style 3
    2088209416. Product Tab - Style 1
    2089209517. Product Tab - Style 2
    2090209618. Product Tab - Style 3
    2091209719. Template Library
    2092209820. Widgets Control Panel
    2093209921. WC Template Settings
    2094210022. Module Settings
  • woolentor-addons/trunk/woolentor-blocks/build/blocks-woolentor.asset.php

    r3037382 r3044764  
    1 <?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-server-side-render', 'wp-url'), 'version' => 'dc7b35b5f4bed979e14d');
     1<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-edit-post', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives', 'wp-server-side-render', 'wp-url'), 'version' => 'da4f4379f2cafbed579f');
  • woolentor-addons/trunk/woolentor-blocks/build/blocks-woolentor.js

    r3037382 r3044764  
    1 (()=>{var e={40:(e,t,o)=>{var r=o(404),n=o(524).each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var o=this;this.listener=function(e){o.mql=e.currentTarget||e,o.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;n(t,(function(o,r){if(o.equals(e))return o.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){n(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";n(this.handlers,(function(t){t[e]()}))}},e.exports=a},98:(e,t,o)=>{var r=o(40),n=o(524),a=n.each,l=n.isFunction,i=n.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,o){var n=this.queries,c=o&&this.browserIsIncapable;return n[e]||(n[e]=new r(e,c)),l(t)&&(t={match:t}),i(t)||(t=[t]),a(t,(function(t){l(t)&&(t={match:t}),n[e].addHandler(t)})),this},unregister:function(e,t){var o=this.queries[e];return o&&(t?o.removeHandler(t):(o.clear(),delete this.queries[e])),this}},e.exports=c},404:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},524:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var o=0,r=e.length;o<r&&!1!==t(e[o],o);o++);}}},386:(e,t,o)=>{var r=o(98);e.exports=new r},441:(e,t,o)=>{var r=o(28),n=function(e){var t="",o=Object.keys(e);return o.forEach((function(n,a){var l=e[n];(function(e){return/[height|width]$/.test(e)})(n=r(n))&&"number"==typeof l&&(l+="px"),t+=!0===l?n:!1===l?"not "+n:"("+n+": "+l+")",a<o.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(o,r){t+=n(o),r<e.length-1&&(t+=", ")})),t):n(e)}},181:(e,t,o)=>{var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,i=parseInt,c="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=c||s||Function("return this")(),d=Object.prototype.toString,m=Math.max,p=Math.min,g=function(){return u.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var o=a.test(e);return o||l.test(e)?i(e.slice(2),o?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,o){var r,n,a,l,i,c,s=0,u=!1,d=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function R(t){var o=r,a=n;return r=n=void 0,s=t,l=e.apply(a,o)}function _(e){var o=e-c;return void 0===c||o>=t||o<0||d&&e-s>=a}function w(){var e=g();if(_(e))return h(e);i=setTimeout(w,function(e){var o=t-(e-c);return d?p(o,a-(e-s)):o}(e))}function h(e){return i=void 0,y&&r?R(e):(r=n=void 0,l)}function E(){var e=g(),o=_(e);if(r=arguments,n=this,c=e,o){if(void 0===i)return function(e){return s=e,i=setTimeout(w,t),u?R(e):l}(c);if(d)return i=setTimeout(w,t),R(c)}return void 0===i&&(i=setTimeout(w,t)),l}return t=b(t)||0,f(o)&&(u=!!o.leading,a=(d="maxWait"in o)?m(b(o.maxWait)||0,t):a,y="trailing"in o?!!o.trailing:y),E.cancel=function(){void 0!==i&&clearTimeout(i),s=0,r=c=n=i=void 0},E.flush=function(){return void 0===i?l:h(g())},E}},223:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,o){return t&&p(e.prototype,t),o&&p(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=R(e);if(t){var a=R(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,o)}}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var _=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var o={key:"0","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,u(u({},o),r)):n.default.createElement("button",c({key:"0",type:"button"},o)," ","Previous")}}]),o}(n.default.PureComponent);t.PrevArrow=_;var w=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,l.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var o={key:"1","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,u(u({},o),r)):n.default.createElement("button",c({key:"1",type:"button"},o)," ","Next")}}]),o}(n.default.PureComponent);t.NextArrow=w},327:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=o(609))&&r.__esModule?r:{default:r},a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return n.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return n.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},773:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function s(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function u(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(f,e);var t,o,i,p,g=(i=f,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(p){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),g.apply(this,arguments)}return t=f,o=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,o=t.onMouseEnter,r=t.onMouseOver,i=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,m=t.slidesToShow,p=t.slideCount,g=t.currentSlide,f=(e={slideCount:p,slidesToScroll:d,slidesToShow:m,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,b={onMouseEnter:o,onMouseOver:r,onMouseLeave:i},y=[],R=0;R<f;R++){var _=(R+1)*d-1,w=u?_:(0,l.clamp)(_,0,p-1),h=w-(d-1),E=u?h:(0,l.clamp)(h,0,p-1),v=(0,a.default)({"slick-active":u?g>=E&&g<=w:g===E}),O={message:"dots",index:R,slidesToScroll:d,currentSlide:g},P=this.clickHandler.bind(this,O);y=y.concat(n.default.createElement("li",{key:R,className:v},n.default.cloneElement(this.props.customPaging(R),{onClick:P})))}return n.default.cloneElement(this.props.appendDots(y),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({className:this.props.dotsClass},b))}}],o&&u(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),f}(n.default.PureComponent);t.Dots=p},589:(e,t,o)=>{"use strict";var r;t.A=void 0;var n=((r=o(120))&&r.__esModule?r:{default:r}).default;t.A=n},841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},999:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=m(o(609)),n=m(o(841)),a=m(o(181)),l=m(o(942)),i=o(445),c=o(561),s=o(773),u=o(223),d=m(o(591));function m(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function y(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function h(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(v,e);var t,o,m,f,E=(m=v,f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(m);if(f){var o=w(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}(this,e)});function v(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),h(_(t=E.call(this,e)),"listRefHandler",(function(e){return t.list=e})),h(_(t),"trackRefHandler",(function(e){return t.track=e})),h(_(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,i.getHeight)(e)+"px"}})),h(_(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,i.getOnDemandLazySlides)(b(b({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var o=b({listRef:t.list,trackRef:t.track},t.props);t.updateState(o,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),h(_(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),h(_(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var o=(0,i.getOnDemandLazySlides)(b(b({},t.props),t.state));o.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(o)}})),t.props.onLazyLoad&&t.props.onLazyLoad(o))}t.adaptHeight();var n=b(b({listRef:t.list,trackRef:t.track},t.props),t.state),a=t.didPropsChange(e);a&&t.updateState(n,a,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),h(_(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,a.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),h(_(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var o=b(b({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(o,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),h(_(t),"updateState",(function(e,o,n){var a=(0,i.initializedState)(e);e=b(b(b({},e),a),{},{slideIndex:a.currentSlide});var l=(0,i.getTrackLeft)(e);e=b(b({},e),{},{left:l});var c=(0,i.getTrackCSS)(e);(o||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(a.trackStyle=c),t.setState(a,n)})),h(_(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,o=0,n=[],a=(0,i.getPreClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,i.getPostClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var c=0;c<a;c++)o+=n[n.length-1-c],e+=n[n.length-1-c];for(var s=0;s<l;s++)e+=n[s];for(var u=0;u<t.state.currentSlide;u++)o+=n[u];var d={width:e+"px",left:-o+"px"};if(t.props.centerMode){var m="".concat(n[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(m,") / 2 ) ")}return{trackStyle:d}}var p=r.default.Children.count(t.props.children),g=b(b(b({},t.props),t.state),{},{slideCount:p}),f=(0,i.getPreClones)(g)+(0,i.getPostClones)(g)+p,y=100/t.props.slidesToShow*f,R=100/f,_=-R*((0,i.getPreClones)(g)+t.state.currentSlide)*y/100;return t.props.centerMode&&(_+=(100-R*y/100)/2),{slideWidth:R+"%",trackStyle:{width:y+"%",left:_+"%"}}})),h(_(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],o=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var n=function(){return++r&&r>=o&&t.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=n,e.onerror=function(){n(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),h(_(t),"progressiveLazyLoad",(function(){for(var e=[],o=b(b({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,i.getPostClones)(o);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var n=t.state.currentSlide-1;n>=-(0,i.getPreClones)(o);n--)if(t.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),h(_(t),"slideHandler",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,n=r.asNavFor,a=r.beforeChange,l=r.onLazyLoad,c=r.speed,s=r.afterChange,u=t.state.currentSlide,d=(0,i.slideHandler)(b(b(b({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!o})),m=d.state,p=d.nextState;if(m){a&&a(u,m.currentSlide);var g=m.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&g.length>0&&l(g),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),s&&s(u),delete t.animationEndCallback),t.setState(m,(function(){n&&t.asNavForIndex!==e&&(t.asNavForIndex=e,n.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(p,["animating"]);t.setState(o,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),s&&s(m.currentSlide),delete t.animationEndCallback}))}),c))}))}})),h(_(t),"changeSlide",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=b(b({},t.props),t.state),n=(0,i.changeSlide)(r,e);if((0===n||n)&&(!0===o?t.slideHandler(n,o):t.slideHandler(n),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var a=t.list.querySelectorAll(".slick-current");a[0]&&a[0].focus()}})),h(_(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),h(_(t),"keyHandler",(function(e){var o=(0,i.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==o&&t.changeSlide({message:o})})),h(_(t),"selectHandler",(function(e){t.changeSlide(e)})),h(_(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),h(_(t),"enableBodyScroll",(function(){window.ontouchmove=null})),h(_(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var o=(0,i.swipeStart)(e,t.props.swipe,t.props.draggable);""!==o&&t.setState(o)})),h(_(t),"swipeMove",(function(e){var o=(0,i.swipeMove)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));o&&(o.swiping&&(t.clickable=!1),t.setState(o))})),h(_(t),"swipeEnd",(function(e){var o=(0,i.swipeEnd)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(o){var r=o.triggerSlideHandler;delete o.triggerSlideHandler,t.setState(o),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),h(_(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),h(_(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),h(_(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),h(_(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},o)}),0))})),h(_(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,i.canGoNext)(b(b({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),h(_(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var o=t.state.autoplaying;if("update"===e){if("hovered"===o||"focused"===o||"paused"===o)return}else if("leave"===e){if("paused"===o||"focused"===o)return}else if("blur"===e&&("paused"===o||"hovered"===o))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),h(_(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var o=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==o&&"playing"!==o||t.setState({autoplaying:"focused"}):"playing"===o&&t.setState({autoplaying:"hovered"})})),h(_(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),h(_(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),h(_(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),h(_(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),h(_(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),h(_(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),h(_(t),"render",(function(){var e,o,n,a=(0,l.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=b(b({},t.props),t.state),m=(0,i.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(m=b(b({},m),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var f=(0,i.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;f=b(b({},f),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=r.default.createElement(s.Dots,f)}var R=(0,i.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);R.clickHandler=t.changeSlide,t.props.arrows&&(o=r.default.createElement(u.PrevArrow,R),n=r.default.createElement(u.NextArrow,R));var _=null;t.props.vertical&&(_={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var h=b(b({},_),w),E=t.props.touchMove,v={className:"slick-list",style:h,onClick:t.clickHandler,onMouseDown:E?t.swipeStart:null,onMouseMove:t.state.dragging&&E?t.swipeMove:null,onMouseUp:E?t.swipeEnd:null,onMouseLeave:t.state.dragging&&E?t.swipeEnd:null,onTouchStart:E?t.swipeStart:null,onTouchMove:t.state.dragging&&E?t.swipeMove:null,onTouchEnd:E?t.touchEnd:null,onTouchCancel:t.state.dragging&&E?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},O={className:a,dir:"ltr",style:t.props.style};return t.props.unslick&&(v={className:"slick-list"},O={className:a}),r.default.createElement("div",O,t.props.unslick?"":o,r.default.createElement("div",g({ref:t.listRefHandler},v),r.default.createElement(c.Track,g({ref:t.trackRefHandler},m),t.props.children)),t.props.unslick?"":n,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=b(b({},n.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var o=t.ssrInit();return t.state=b(b({},t.state),o),t}return t=v,(o=[{key:"didPropsChange",value:function(e){for(var t=!1,o=0,n=Object.keys(this.props);o<n.length;o++){var a=n[o];if(!e.hasOwnProperty(a)){t=!0;break}if("object"!==p(e[a])&&"function"!=typeof e[a]&&e[a]!==this.props[a]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&y(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),v}(r.default.Component);t.InnerSlider=E},120:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(609)),a=o(999),l=s(o(441)),i=s(o(327)),c=o(445);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},u.apply(this,arguments)}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){y(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function y(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var R=(0,c.canUseDOM)()&&o(386),_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(w,e);var t,o,s,d,_=(s=w,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(s);if(d){var o=b(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),y(f(t=_.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),y(f(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),y(f(t),"slickNext",(function(){return t.innerSlider.slickNext()})),y(f(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,o)})),y(f(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),y(f(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=w,(o=[{key:"media",value:function(e,t){R.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(o,r){var n;n=0===r?(0,l.default)({minWidth:0,maxWidth:o}):(0,l.default)({minWidth:t[r-1]+1,maxWidth:o}),(0,c.canUseDOM)()&&e.media(n,(function(){e.setState({breakpoint:o})}))}));var o=(0,l.default)({minWidth:t.slice(-1)[0]});(0,c.canUseDOM)()&&this.media(o,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){R.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,o=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===o.state.breakpoint})))[0].settings?"unslick":m(m(m({},i.default),this.props),t[0].settings):m(m({},i.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=n.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],c=null,s=0;s<r.length;s+=e.rows*e.slidesPerRow){for(var d=[],p=s;p<s+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var g=[],f=p;f<p+e.slidesPerRow&&(e.variableWidth&&r[f].props.style&&(c=r[f].props.style.width),!(f>=r.length));f+=1)g.push(n.default.cloneElement(r[f],{key:100*s+10*p+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(n.default.createElement("div",{key:10*s+p},g))}e.variableWidth?l.push(n.default.createElement("div",{key:s,style:{width:c}},d)):l.push(n.default.createElement("div",{key:s},d))}if("unslick"===e){var b="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:b},r)}return l.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(a.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),l)}}])&&p(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),w}(n.default.Component);t.default=_},561:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function s(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var b=function(e){var t,o,r,n,a;return r=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(n=Math.floor(e.slidesToShow/2),o=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-n-1&&a<=e.currentSlide+n&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":o,"slick-cloned":r,"slick-current":a===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(_,e);var t,o,i,p,R=(i=_,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(p){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function _(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_);for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return f(d(e=R.call.apply(R,[this].concat(o))),"node",null),f(d(e),"handleRef",(function(t){e.node=t})),e}return t=_,(o=[{key:"render",value:function(){var e=function(e){var t,o=[],r=[],i=[],c=n.default.Children.count(e.children),s=(0,l.lazyStartIndex)(e),u=(0,l.lazyEndIndex)(e);return n.default.Children.forEach(e.children,(function(d,m){var p,f={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?d:n.default.createElement("div",null);var R=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:m})),_=p.props.className||"",w=b(g(g({},e),{},{index:m}));if(o.push(n.default.cloneElement(p,{key:"original"+y(p,m),"data-index":m,className:(0,a.default)(w,_),tabIndex:"-1","aria-hidden":!w["slick-active"],style:g(g({outline:"none"},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade){var h=c-m;h<=(0,l.getPreClones)(e)&&c!==e.slidesToShow&&((t=-h)>=s&&(p=d),w=b(g(g({},e),{},{index:t})),r.push(n.default.cloneElement(p,{key:"precloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(w,_),"aria-hidden":!w["slick-active"],style:g(g({},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),c!==e.slidesToShow&&((t=c+m)<u&&(p=d),w=b(g(g({},e),{},{index:t})),i.push(n.default.cloneElement(p,{key:"postcloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(w,_),"aria-hidden":!w["slick-active"],style:g(g({},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))}})),e.rtl?r.concat(o,i).reverse():r.concat(o,i)}(this.props),t=this.props,o={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",c({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},o),e)}}])&&s(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),_}(n.default.PureComponent);t.Track=R},445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var r,n=(r=o(609))&&r.__esModule?r:{default:r};function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){i(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function c(e,t,o){return Math.max(t,Math.min(e,o))}var s=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=s;var u=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)e.lazyLoadedList.indexOf(n)<0&&t.push(n);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)t.push(n);return t};var d=function(e){return e.currentSlide-p(e)};t.lazyStartIndex=d;var m=function(e){return e.currentSlide+g(e)};t.lazyEndIndex=m;var p=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=p;var g=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=g;var f=function(e){return e&&e.offsetWidth||0};t.getWidth=f;var b=function(e){return e&&e.offsetHeight||0};t.getHeight=b;var y=function(e){var t,o,r,n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,o=e.startY-e.curY,r=Math.atan2(o,t),(n=Math.round(180*r/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===a?n>=35&&n<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var R=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=R,t.extractObject=function(e,t){var o={};return t.forEach((function(t){return o[t]=e[t]})),o},t.initializedState=function(e){var t,o=n.default.Children.count(e.children),r=e.listRef,a=Math.ceil(f(r)),i=e.trackRef&&e.trackRef.node,c=Math.ceil(f(i));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var d=r&&b(r.querySelector('[data-index="0"]')),m=d*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=o-1-e.initialSlide);var g=e.lazyLoadedList||[],y=u(l(l({},e),{},{currentSlide:p,lazyLoadedList:g})),R={slideCount:o,slideWidth:t,listWidth:a,trackWidth:c,currentSlide:p,slideHeight:d,listHeight:m,lazyLoadedList:g=g.concat(y)};return null===e.autoplaying&&e.autoplay&&(R.autoplaying="playing"),R},t.slideHandler=function(e){var t=e.waitForAnimate,o=e.animating,r=e.fade,n=e.infinite,a=e.index,i=e.slideCount,s=e.lazyLoad,d=e.currentSlide,m=e.centerMode,p=e.slidesToScroll,g=e.slidesToShow,f=e.useCSS,b=e.lazyLoadedList;if(t&&o)return{};var y,_,w,h=a,E={},C={},B=n?a:c(a,0,i-1);if(r){if(!n&&(a<0||a>=i))return{};a<0?h=a+i:a>=i&&(h=a-i),s&&b.indexOf(h)<0&&(b=b.concat(h)),E={animating:!0,currentSlide:h,lazyLoadedList:b,targetSlide:h},C={animating:!1,targetSlide:h}}else y=h,h<0?(y=h+i,n?i%p!=0&&(y=i-i%p):y=0):!R(e)&&h>d?h=y=d:m&&h>=i?(h=n?i:i-1,y=n?0:i-1):h>=i&&(y=h-i,n?i%p!=0&&(y=0):y=i-g),!n&&h+g>=i&&(y=i-g),_=P(l(l({},e),{},{slideIndex:h})),w=P(l(l({},e),{},{slideIndex:y})),n||(_===w&&(h=y),_=w),s&&(b=b.concat(u(l(l({},e),{},{currentSlide:h})))),f?(E={animating:!0,currentSlide:y,trackStyle:O(l(l({},e),{},{left:_})),lazyLoadedList:b,targetSlide:B},C={animating:!1,currentSlide:y,trackStyle:v(l(l({},e),{},{left:w})),swipeLeft:null,targetSlide:B}):E={currentSlide:y,trackStyle:v(l(l({},e),{},{left:w})),lazyLoadedList:b,targetSlide:B};return{state:E,nextState:C}},t.changeSlide=function(e,t){var o,r,n,a,i=e.slidesToScroll,c=e.slidesToShow,s=e.slideCount,u=e.currentSlide,d=e.targetSlide,m=e.lazyLoad,p=e.infinite;if(o=s%i!=0?0:(s-u)%i,"previous"===t.message)a=u-(n=0===o?i:c-o),m&&!p&&(a=-1==(r=u-n)?s-1:r),p||(a=d-i);else if("next"===t.message)a=u+(n=0===o?i:o),m&&!p&&(a=(u+i)%s+o),p||(a=d+i);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var g=W(l(l({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===g?a-=s:a<t.currentSlide&&"right"===g&&(a+=s)}}else"index"===t.message&&(a=Number(t.index));return a},t.keyHandler=function(e,t,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?o?"next":"previous":39===e.keyCode?o?"previous":"next":""},t.swipeStart=function(e,t,o){return"IMG"===e.target.tagName&&s(e),!t||!o&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var o=t.scrolling,r=t.animating,n=t.vertical,a=t.swipeToSlide,i=t.verticalSwiping,c=t.rtl,u=t.currentSlide,d=t.edgeFriction,m=t.edgeDragged,p=t.onEdge,g=t.swiped,f=t.swiping,b=t.slideCount,_=t.slidesToScroll,w=t.infinite,h=t.touchObject,E=t.swipeEvent,O=t.listHeight,C=t.listWidth;if(!o){if(r)return s(e);n&&a&&i&&s(e);var B,A={},W=P(t);h.curX=e.touches?e.touches[0].pageX:e.clientX,h.curY=e.touches?e.touches[0].pageY:e.clientY,h.swipeLength=Math.round(Math.sqrt(Math.pow(h.curX-h.startX,2)));var S=Math.round(Math.sqrt(Math.pow(h.curY-h.startY,2)));if(!i&&!f&&S>10)return{scrolling:!0};i&&(h.swipeLength=S);var k=(c?-1:1)*(h.curX>h.startX?1:-1);i&&(k=h.curY>h.startY?1:-1);var T=Math.ceil(b/_),x=y(t.touchObject,i),L=h.swipeLength;return w||(0===u&&("right"===x||"down"===x)||u+1>=T&&("left"===x||"up"===x)||!R(t)&&("left"===x||"up"===x))&&(L=h.swipeLength*d,!1===m&&p&&(p(x),A.edgeDragged=!0)),!g&&E&&(E(x),A.swiped=!0),B=n?W+L*(O/C)*k:c?W-L*k:W+L*k,i&&(B=W+L*k),A=l(l({},A),{},{touchObject:h,swipeLeft:B,trackStyle:v(l(l({},t),{},{left:B}))}),Math.abs(h.curX-h.startX)<.8*Math.abs(h.curY-h.startY)||h.swipeLength>10&&(A.swiping=!0,s(e)),A}},t.swipeEnd=function(e,t){var o=t.dragging,r=t.swipe,n=t.touchObject,a=t.listWidth,i=t.touchThreshold,c=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,m=t.scrolling,p=t.onSwipe,g=t.targetSlide,f=t.currentSlide,b=t.infinite;if(!o)return r&&s(e),{};var R=c?u/i:a/i,_=y(n,c),E={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(m)return E;if(!n.swipeLength)return E;if(n.swipeLength>R){var v,C;s(e),p&&p(_);var B=b?f:g;switch(_){case"left":case"up":C=B+h(t),v=d?w(t,C):C,E.currentDirection=0;break;case"right":case"down":C=B-h(t),v=d?w(t,C):C,E.currentDirection=1;break;default:v=B}E.triggerSlideHandler=v}else{var A=P(t);E.trackStyle=O(l(l({},t),{},{left:A}))}return E};var _=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,o=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,n=[];o<t;)n.push(o),o=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return n};t.getNavigableIndexes=_;var w=function(e,t){var o=_(e),r=0;if(t>o[o.length-1])t=o[o.length-1];else for(var n in o){if(t<o[n]){t=r;break}r=o[n]}return t};t.checkNavigable=w;var h=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,r=e.listRef,n=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(n).every((function(r){if(e.vertical){if(r.offsetTop+b(r)/2>-1*e.swipeLeft)return o=r,!1}else if(r.offsetLeft-t+f(r)/2>-1*e.swipeLeft)return o=r,!1;return!0})),!o)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(o.dataset.index-a)||1}return e.slidesToScroll};t.getSlideCount=h;var E=function(e,t){return t.reduce((function(t,o){return t&&e.hasOwnProperty(o)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=E;var v=function(e){var t,o;E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?o=r*e.slideHeight:t=A(e)*e.slideWidth;var n={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";n=l(l({},n),{},{WebkitTransform:a,transform:i,msTransform:c})}else e.vertical?n.top=e.left:n.left=e.left;return e.fade&&(n={opacity:1}),t&&(n.width=t),o&&(n.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?n.marginTop=e.left+"px":n.marginLeft=e.left+"px"),n};t.getTrackCSS=v;var O=function(e){E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=v(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=O;var P=function(e){if(e.unslick)return 0;E(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,o,r=e.slideIndex,n=e.trackRef,a=e.infinite,l=e.centerMode,i=e.slideCount,c=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,m=e.variableWidth,p=e.slideHeight,g=e.fade,f=e.vertical;if(g||1===e.slideCount)return 0;var b=0;if(a?(b=-C(e),i%s!=0&&r+s>i&&(b=-(r>i?c-(r-i):i%s)),l&&(b+=parseInt(c/2))):(i%s!=0&&r+s>i&&(b=c-i%s),l&&(b=parseInt(c/2))),t=f?r*p*-1+b*p:r*u*-1+b*u,!0===m){var y,R=n&&n.node;if(y=r+C(e),t=(o=R&&R.childNodes[y])?-1*o.offsetLeft:0,!0===l){y=a?r+C(e):r,o=R&&R.children[y],t=0;for(var _=0;_<y;_++)t-=R&&R.children[_]&&R.children[_].offsetWidth;t-=parseInt(e.centerPadding),t+=o&&(d-o.offsetWidth)/2}}return t};t.getTrackLeft=P;var C=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=C;var B=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=B;var A=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+B(e)};t.getTotalSlides=A;var W=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+S(e)?"left":"right":e.targetSlide<e.currentSlide-k(e)?"right":"left"};t.siblingDirection=W;var S=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r&&t%2==0&&(a+=1),a}return r?0:t-1};t.slidesOnRight=S;var k=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r||t%2!=0||(a+=1),a}return r?t-1:0};t.slidesOnLeft=k,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},591:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>v});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some((function(e,r){return e[0]===t&&(o=r,!0)})),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(t,o){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,r=e(o,t);~r&&o.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,r=this.__entries__;o<r.length;o++){var n=r[o];e.call(t,n[1],n[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},i=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,s=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,r=!1,n=0;function a(){o&&(o=!1,e()),r&&c()}function i(){l(a)}function c(){var e=Date.now();if(o){if(e-n<2)return;r=!0}else o=!0,r=!1,setTimeout(i,t);n=e}return c}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;i.some((function(e){return!!~o.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var n=r[o];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=y(0,0,0,0);function p(e){return parseFloat(e)||0}function g(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce((function(t,o){return t+p(e["border-"+o+"-width"])}),0)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return n?f(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return m;var r=d(e).getComputedStyle(e),n=function(e){for(var t={},o=0,r=["top","right","bottom","left"];o<r.length;o++){var n=r[o],a=e["padding-"+n];t[n]=p(a)}return t}(r),a=n.left+n.right,l=n.top+n.bottom,i=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(i+a)!==t&&(i-=g(r,"left","right")+a),Math.round(c+l)!==o&&(c-=g(r,"top","bottom")+l)),!function(e){return e===d(e).document.documentElement}(e)){var s=Math.round(i+a)-t,u=Math.round(c+l)-o;1!==Math.abs(s)&&(i-=s),1!==Math.abs(u)&&(c-=u)}return y(n.left,n.top,i,c)}(e):m}function y(e,t,o,r){return{x:e,y:t,width:o,height:r}}var R=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var o,r,n,a,l,i,c,s=(r=(o=t).x,n=o.y,a=o.width,l=o.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(i.prototype),u(c,{x:r,y:n,width:a,height:l,top:n,right:r+a,bottom:l+n,left:r}),c);u(this,{target:e,contentRect:s})},w=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new R(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),h="undefined"!=typeof WeakMap?new WeakMap:new r,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=s.getInstance(),r=new w(t,o,this);h.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=h.get(this))[e].apply(t,arguments)}}));const v=void 0!==a.ResizeObserver?a.ResizeObserver:E},833:e=>{e.exports=function(e,t,o,r){var n=o?o.call(r,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!i(s))return!1;var u=e[s],d=t[s];if(!1===(n=o?o.call(r,u,d,s):void 0)||void 0===n&&u!==d)return!1}return!0}},28:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},609:e=>{"use strict";e.exports=window.React},942:(e,t)=>{var o;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=l(e,a(o)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)r.call(e,o)&&e[o]&&(t=l(t,o));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0,(()=>{"use strict";var e={};o.r(e),o.d(e,{category:()=>Sn,metadata:()=>An,name:()=>Wn,settings:()=>Nn});var t={};o.r(t),o.d(t,{category:()=>$n,metadata:()=>Vn,name:()=>Zn,settings:()=>ra});var r={};o.r(r),o.d(r,{category:()=>ka,metadata:()=>Aa,name:()=>Sa,settings:()=>ja});var n={};o.r(n),o.d(n,{category:()=>ll,metadata:()=>rl,name:()=>al,settings:()=>ml});var a={};o.r(a),o.d(a,{category:()=>zl,metadata:()=>xl,name:()=>Nl,settings:()=>Dl});var l={};o.r(l),o.d(l,{category:()=>mi,metadata:()=>si,name:()=>di,settings:()=>Ri});var i={};o.r(i),o.d(i,{category:()=>Nu,metadata:()=>Tu,name:()=>Lu,settings:()=>Hu});var c={};o.r(c),o.d(c,{category:()=>dd,metadata:()=>cd,name:()=>ud,settings:()=>yd});var s={};o.r(s),o.d(s,{category:()=>Gd,metadata:()=>Hd,name:()=>qd,settings:()=>Zd});var u={};o.r(u),o.d(u,{category:()=>_m,metadata:()=>bm,name:()=>Rm,settings:()=>Pm});var d={};o.r(d),o.d(d,{category:()=>Gm,metadata:()=>Hm,name:()=>qm,settings:()=>Ym});var m={};o.r(m),o.d(m,{category:()=>sp,metadata:()=>lp,name:()=>cp,settings:()=>gp});var p={};o.r(p),o.d(p,{category:()=>Np,metadata:()=>Sp,name:()=>Tp,settings:()=>Mp});var g={};o.r(g),o.d(g,{category:()=>tg,metadata:()=>Zp,name:()=>Xp,settings:()=>ag});var f={};o.r(f),o.d(f,{category:()=>vg,metadata:()=>wg,name:()=>Eg,settings:()=>Wg});var b={};o.r(b),o.d(b,{category:()=>Gg,metadata:()=>Hg,name:()=>qg,settings:()=>Yg});var y={};o.r(y),o.d(y,{category:()=>uf,metadata:()=>lf,name:()=>sf,settings:()=>ff});var R={};o.r(R),o.d(R,{category:()=>hf,metadata:()=>Rf,name:()=>wf,settings:()=>Cf});var _={};o.r(_),o.d(_,{category:()=>Ff,metadata:()=>jf,name:()=>Mf,settings:()=>Kf});var w={};o.r(w),o.d(w,{category:()=>ab,metadata:()=>ob,name:()=>nb,settings:()=>ub});var h={};o.r(h),o.d(h,{category:()=>Ob,metadata:()=>hb,name:()=>vb,settings:()=>Wb});var E={};o.r(E),o.d(E,{category:()=>qb,metadata:()=>Fb,name:()=>Db,settings:()=>Vb});var v={};o.r(v),o.d(v,{category:()=>uy,metadata:()=>ay,name:()=>iy,settings:()=>gy});var O={};o.r(O),o.d(O,{category:()=>Ay,metadata:()=>Py,name:()=>By,settings:()=>xy});var P={};o.r(P),o.d(P,{category:()=>Qy,metadata:()=>Gy,name:()=>Uy,settings:()=>Xy});var C={};o.r(C),o.d(C,{category:()=>mR,metadata:()=>sR,name:()=>dR,settings:()=>yR});var B={};o.r(B),o.d(B,{category:()=>xR,metadata:()=>AR,name:()=>SR,settings:()=>jR});var A={};o.r(A),o.d(A,{category:()=>JR,metadata:()=>VR,name:()=>ZR,settings:()=>$R});var W={};o.r(W),o.d(W,{category:()=>p_,metadata:()=>u_,name:()=>m_,settings:()=>R_});var S={};o.r(S),o.d(S,{category:()=>D_,metadata:()=>M_,name:()=>H_,settings:()=>Q_});var k={};o.r(k),o.d(k,{category:()=>yw,metadata:()=>gw,name:()=>bw,settings:()=>_w});var T={};o.r(T),o.d(T,{category:()=>qw,metadata:()=>Iw,name:()=>Fw,settings:()=>Qw});var x={};o.r(x),o.d(x,{category:()=>uh,metadata:()=>ih,name:()=>sh,settings:()=>bh});var L={};o.r(L),o.d(L,{category:()=>Sh,metadata:()=>Bh,name:()=>Wh,settings:()=>zh});var N={};o.r(N),o.d(N,{category:()=>Zh,metadata:()=>Qh,name:()=>Yh,settings:()=>oE});var z={};o.r(z),o.d(z,{category:()=>bE,metadata:()=>pE,name:()=>fE,settings:()=>EE});var j={};o.r(j),o.d(j,{category:()=>zE,metadata:()=>xE,name:()=>NE,settings:()=>DE});var I={};o.r(I),o.d(I,{category:()=>ov,metadata:()=>$E,name:()=>tv,settings:()=>cv});var M={};o.r(M),o.d(M,{category:()=>Ev,metadata:()=>_v,name:()=>hv,settings:()=>Av});var F={};o.r(F),o.d(F,{category:()=>Dv,metadata:()=>Mv,name:()=>Hv,settings:()=>Vv});var H={};o.r(H),o.d(H,{category:()=>uO,metadata:()=>aO,name:()=>iO,settings:()=>gO});var D={};o.r(D),o.d(D,{category:()=>SO,metadata:()=>PO,name:()=>BO,settings:()=>LO});var q={};o.r(q),o.d(q,{category:()=>ZO,metadata:()=>KO,name:()=>QO,settings:()=>eP});var G={};o.r(G),o.d(G,{category:()=>bP,metadata:()=>dP,name:()=>pP,settings:()=>wP});var K={};o.r(K),o.d(K,{category:()=>MP,metadata:()=>LP,name:()=>zP,settings:()=>qP});var U={};o.r(U),o.d(U,{category:()=>aC,metadata:()=>eC,name:()=>oC,settings:()=>sC});var Q={};o.r(Q),o.d(Q,{category:()=>PC,metadata:()=>wC,name:()=>EC,settings:()=>WC});var V={};o.r(V),o.d(V,{category:()=>KC,metadata:()=>FC,name:()=>DC,settings:()=>YC});var Y={};o.r(Y),o.d(Y,{category:()=>dB,metadata:()=>lB,name:()=>cB,settings:()=>fB});var Z={};o.r(Z),o.d(Z,{category:()=>kB,metadata:()=>CB,name:()=>AB,settings:()=>NB});var J={};o.r(J),o.d(J,{category:()=>JB,metadata:()=>UB,name:()=>VB,settings:()=>tA});var X={};o.r(X),o.d(X,{category:()=>yA,metadata:()=>mA,name:()=>gA,settings:()=>hA});var $={};o.r($),o.d($,{category:()=>jA,metadata:()=>TA,name:()=>LA,settings:()=>HA});var ee={};o.r(ee),o.d(ee,{category:()=>rW,metadata:()=>XA,name:()=>eW,settings:()=>iW});var te={};o.r(te),o.d(te,{category:()=>vW,metadata:()=>RW,name:()=>wW,settings:()=>BW});var oe={};o.r(oe),o.d(oe,{category:()=>qW,metadata:()=>IW,name:()=>FW,settings:()=>QW});var re={};o.r(re),o.d(re,{category:()=>sS,metadata:()=>nS,name:()=>lS,settings:()=>pS});var ne={};o.r(ne),o.d(ne,{category:()=>WS,metadata:()=>OS,name:()=>CS,settings:()=>xS});var ae={};o.r(ae),o.d(ae,{category:()=>YS,metadata:()=>GS,name:()=>US,settings:()=>$S});var le={};o.r(le),o.d(le,{category:()=>pk,metadata:()=>uk,name:()=>mk,settings:()=>Rk});var ie={};o.r(ie),o.d(ie,{category:()=>Tk,metadata:()=>_k,name:()=>kk,settings:()=>jk});const ce=window.wp.blocks;var se=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 40 40"},React.createElement("image",{id:"woolentor-logo",width:"40",height:"40",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"}));const ue=window.wp.i18n,de=window.wp.components;function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var pe;(0,ce.setCategories)([{slug:"woolentor-blocks",title:(0,ue.__)("ShopLentor","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-single-product",title:(0,ue.__)("ShopLentor Single Product","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-shop",title:(0,ue.__)("ShopLentor Shop","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-cart",title:(0,ue.__)("ShopLentor Cart","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-checkout",title:(0,ue.__)("ShopLentor Checkout","woolentor"),icon:React.createElement(de.Icon,{icon:se})},{slug:"woolentor-myaccount",title:(0,ue.__)("ShopLentor My Account","woolentor"),icon:React.createElement(de.Icon,{icon:se})}].concat(function(e){if(Array.isArray(e))return me(e)}(pe=(0,ce.getCategories)().filter((function(e){return"woolentor-blocks"!==e.slug})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(pe)||function(e,t){if(e){if("string"==typeof e)return me(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?me(e,t):void 0}}(pe)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var ge=function(e,t,o){return"function"==typeof t?t(e):e+o},fe=function(e){var t={desktop:[],tablet:[],mobile:[]},o=""!==(null==e?void 0:e.type)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";}"):"";return!e.width||void 0===e.width.desktop&&void 0===e.width.tablet&&void 0===e.width.mobile?o=""!==(null==e?void 0:e.type)&&void 0!==(null==e?void 0:e.width)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid","; border-width: ").concat(be(e.width),";}"):"":t=function(e,t){return e.desktop&&t.desktop.push(e.desktop),e.laptop&&t.laptop.push(e.laptop),e.tablet&&t.tablet.push(e.tablet),e.mobile&&t.mobile.push(e.mobile),t}(function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r={};return e&&e.desktop&&""!==ge(e.desktop,o,e.unit||"")&&(r.desktop=t.replace(new RegExp("{{key}}","g"),ge(e.desktop,o,e.unit||""))),e&&e.laptop&&""!==ge(e.laptop,o,e.unit||"")&&(r.laptop=t.replace(new RegExp("{{key}}","g"),ge(e.laptop,o,e.unit||""))),e&&e.tablet&&""!==ge(e.tablet,o,e.unit||"")&&(r.tablet=t.replace(new RegExp("{{key}}","g"),ge(e.tablet,o,e.unit||""))),e&&e.mobile&&""!==ge(e.mobile,o,e.unit||"")&&(r.mobile=t.replace(new RegExp("{{key}}","g"),ge(e.mobile,o,e.unit||""))),r}(e.width,"border-width:{{key}}",be),t),{desktop:t.desktop,tablet:t.tablet,mobile:t.mobile,simple:o}},be=function(e){var t=e.unit?e.unit:"px";return""!=e.top||""!=e.right||""!=e.bottom||""!=e.left?(e.top||0)+t+" "+(e.right||0)+t+" "+(e.bottom||0)+t+" "+(e.left||0)+t:""};function ye(e){return ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ye(e)}var Re=function(e,t,o){return e.replace(new RegExp(t,"g"),o)},_e=function(e){return"object"==ye(e)&&0!=Object.keys(e).length},we=function(e,t){return e.replace(new RegExp("{{WOOLENTOR_WRAPPER}}","g"),".woolentorblock-"+t)},he=function(e,t){var o="";return t.forEach((function(e){o+=e+";"})),e+"{"+o+"}"},Ee=function(e,t){var o="";return t.forEach((function(t){o+=e+t})),o},ve=function(e,t,o,r){if(r="object"!=ye(r)?r:Oe(r).data,"string"==typeof e){if(e){if(r){var n=we(e,t);return"boolean"==typeof r?[n]:-1==n.indexOf("{{")&&n.indexOf("{")<0?[n+r]:[Re(n,"{{"+o+"}}",r)]}return[]}return[we(r,t)]}var a=[];return e.forEach((function(e){a.push(Re(we(e,t),"{{"+o+"}}",r))})),a},Oe=function(e){return e.imageUrl||"background"===e.type?{data:(t=e,o="{",null!=t&&t.color&&(o+="background-color:"+t.color+";"),t.imageUrl&&(o+="background-image:url("+t.imageUrl+");"),t.position&&(o+="background-position:"+t.position+";"),t.attachment&&(o+="background-attachment:"+t.attachment+";"),t.repeat&&(o+="background-repeat:"+t.repeat+";"),t.size&&(o+="background-size:"+t.size+";"),"{}"!=(o+="}")?o:{}),action:"append"}:void 0!==e.type||void 0!==e.width||void 0!==e.color?{data:fe(e),action:"append"}:void 0!==e.top||void 0!==e.left||void 0!==e.right||void 0!==e.bottom?{data:be(e),action:"replace"}:{data:"",action:"append"};var t,o},Pe=function(e,t){var o=!0;return t.hasOwnProperty("dependency")&&t.dependency.forEach((function(t){var r=o;if("=="==(t=t[0]).condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]==t.value;else{var n=!1;t.value.forEach((function(o){e[t.key]==o&&(n=!0)})),o=!!n}else if("!="==t.condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]!=t.value;else{var a=!1;t.value.forEach((function(o){e[t.key]!=o&&(a=!0)})),a&&(o=!0)}o=0!=r&&o})),o};function Ce(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(o){var n="",a=[],l=[],i=[],c=[],s=[];return Object.keys(e).forEach((function(n){var u="string"==typeof t?wp.blocks.getBlockType(t).attributes:t;if(u[n]&&u[n].hasOwnProperty("style")){var d=u[n].style;if(d.hasOwnProperty("selector")){var m=d.selector;if(Pe(e,d))if("object"==ye(e[n])){var p=!1,g="";if(e[n].desktop&&(p=!0,g="object"==ye(e[n].desktop)?Oe(e[n].desktop).data:e[n].desktop+(e[n].unit||""),a=a.concat(ve(m,o,n,g))),e[n].laptop&&(p=!0,g="object"==ye(e[n].laptop)?Oe(e[n].laptop).data:e[n].laptop+(e[n].unit||""),l=l.concat(ve(m,o,n,g))),e[n].tablet&&(p=!0,g="object"==ye(e[n].tablet)?Oe(e[n].tablet).data:e[n].tablet+(e[n].unit||""),i=i.concat(ve(m,o,n,g))),e[n].mobile&&(p=!0,g="object"==ye(e[n].mobile)?Oe(e[n].mobile).data:e[n].mobile+(e[n].unit||""),c=c.concat(ve(m,o,n,g))),!p){var f=Oe(e[n]),b=we(m,o);"object"==ye(f.data)?0!=Object.keys(f.data).length&&(f.data.background&&s.push(b+f.data.background),_e(f.data.desktop)&&a.push(he(b,f.data.desktop)),_e(f.data.laptop)&&l.push(he(b,f.data.laptop)),_e(f.data.tablet)&&i.push(he(b,f.data.tablet)),_e(f.data.mobile)&&c.push(he(b,f.data.mobile)),f.data.simple&&s.push(b+f.data.simple),f.data.font&&a.unshift(f.data.font),f.data.shape&&(f.data.shape.forEach((function(e){s.push(b+e)})),_e(f.data.data.desktop)&&a.push(Ee(b,f.data.data.desktop)),_e(f.data.data.laptop)&&l.push(Ee(b,f.data.data.laptop)),_e(f.data.data.tablet)&&i.push(Ee(b,f.data.data.tablet)),_e(f.data.data.mobile)&&c.push(Ee(b,f.data.data.mobile)))):f.data&&-1==f.data.indexOf("{{")&&("append"==f.action?s.push(b+f.data):s.push(ve(m,o,n,f.data)))}}else"hideDesktop"==n?r&&(s=s.concat("@media (min-width: 1200px) {"+ve(m,o,n,e[n])+"}")):"hideLaptop"==n?r&&(s=s.concat("@media only screen and (max-width: 1199px) and (min-width: 991px) {"+ve(m,o,n,e[n])+"}")):"hideTablet"==n?r&&(s=s.concat("@media only screen and (max-width: 992px) and (min-width: 767px) {"+ve(m,o,n,e[n])+"}")):"hideMobile"==n?r&&(s=s.concat("@media (max-width: 768px) {"+ve(m,o,n,e[n])+"}")):e[n]&&(s=s.concat(ve(m,o,n,e[n])))}}})),a.length>0&&(n+=a.join("")),l.length>0&&(n+="@media (min-width: 992px) and (max-width: 1200px) {"+l.join("")+"}"),i.length>0&&(n+="@media (min-width: 768px) and (max-width: 991px) {"+i.join("")+"}"),c.length>0&&(n+="@media (max-width: 767px) {"+c.join("")+"}"),s.length>0&&(n+=s.join("")),r?n:void 0}}function Be(e,t,o){var r=Ce(e,t,o,!0);return wp.element.renderToString(r)?React.createElement("style",{type:"text/css"},r):null}var Ae="";function We(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 1==t&&(Ae="",t=!1),e.map((function(e){var t=e.attributes,o=e.name;"woolentor"===o.split("/")[0]&&t.blockUniqId&&(Ae+=Ce(t,o,t.blockUniqId,!0)),e.innerBlocks&&e.innerBlocks.length>0&&We(e.innerBlocks)})),Ae}function Se(e){e.forEach((function(e){var t;-1!=e.name.indexOf("core/block")&&(t=e.attributes.ref,wp.apiFetch({path:"/woolentor/v1/get_post",method:"POST",data:{post_id:t}}).then((function(e){if(e.success){var t=We(wp.blocks.parse(e.data),!0);t.css&&wp.apiFetch({path:"/woolentor/v1/appened_css",method:"POST",data:{inner_css:t.css,post_id:select("core/block-editor").getCurrentPostId()}}).then((function(e){e.success}))}}))),e.innerBlocks&&e.innerBlocks.length>0&&Se(e.innerBlocks)}))}function ke(){var e=wp.data.select("core/block-editor"),t=wp.data.select("core/editor"),o=wp.data.select("core/edit-site"),r=e.getBlocks(),n=t.getCurrentPostId,a=function(e){var t=!1;return function e(o){o.forEach((function(o){-1!=o.name.indexOf("woolentor/")&&(t=!0),o.innerBlocks&&o.innerBlocks.length>0&&e(o.innerBlocks)}))}(e),t}(r),l=null===n()?o.getPage().context.templateSlug:n(),i=We(r,!0);Se(r),function(e,t,o){return wp.apiFetch({path:"/woolentor/v1/save_css",method:"POST",data:{block_css:t,post_id:e,has_block:o}}).then((function(e){return e}))}(l,i,a).then((function(e){}))}var Te=React.createElement("svg",{width:"700",height:"700",version:"1.1",viewBox:"0 0 700 700",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},React.createElement("g",null,React.createElement("path",{d:"m402.78 250.9c-17.734-17.734-41.406-27.574-66.605-27.574s-48.871 9.7578-66.605 27.574c-17.734 17.816-27.574 41.406-27.574 66.605 0 25.199 9.7578 48.871 27.574 66.605 17.734 17.734 41.406 27.574 66.605 27.574s48.871-9.7578 66.605-27.574c36.652-36.738 36.652-96.473 0-133.21zm-8.9961 124.21c-15.359 15.359-35.805 23.844-57.613 23.844-21.805 0-42.254-8.4844-57.613-23.844-15.359-15.359-23.844-35.805-23.844-57.613 0-21.805 8.4844-42.254 23.844-57.613 15.359-15.359 35.805-23.844 57.613-23.844 21.805 0 42.254 8.4844 57.613 23.844 31.734 31.738 31.734 83.41 0 115.23z"}),React.createElement("path",{d:"m558.22 492.12-78.398-78.398c-7.2969-7.2969-17.395-10.777-27.574-9.5859l-11.285-11.285c36.316-50.484 31.902-121.33-13.406-166.73-50.398-50.398-132.36-50.398-182.76 0-50.398 50.398-50.398 132.36 0 182.76 25.199 25.199 58.289 37.758 91.383 37.758 26.473 0 52.945-8.2305 75.344-24.352l11.285 11.285c-1.1875 10.184 2.2891 20.277 9.5859 27.492l78.398 78.484c6.5352 6.5352 15.102 9.8438 23.758 9.8438 8.5703 0 17.223-3.3086 23.758-9.8438 6.3633-6.3633 9.8438-14.762 9.8438-23.758-0.085938-8.9102-3.6523-17.398-9.9297-23.676zm-304.52-92.23c-45.395-45.395-45.395-119.38 0-164.78 22.738-22.738 52.52-34.109 82.387-34.109 29.867 0 59.648 11.371 82.387 34.109 45.395 45.395 45.395 119.38 0 164.78-45.391 45.395-119.29 45.395-164.77 0zm295.53 130.67c-8.1445 8.1445-21.383 8.1445-29.441 0l-78.398-78.398c-5.0078-5.0078-7.1289-12.305-5.5156-19.344 0.50781-2.1211-0.16797-4.3281-1.6953-5.8555l-12.473-12.473c0.085937-0.085937 0.16797-0.25391 0.25391-0.42578 1.8672-1.6953 3.9023-3.3086 5.6836-5.1758 1.8672-1.8672 3.4805-3.8164 5.1758-5.7695 0.085938-0.085938 0.25391-0.085938 0.33984-0.16797l12.473 12.473c1.5273 1.5273 3.7344 2.207 5.8555 1.6953 7.043-1.6133 14.254 0.50781 19.344 5.5156l78.398 78.484c3.9023 3.9023 6.1094 9.1641 6.1094 14.762 0 5.5156-2.2031 10.777-6.1094 14.68z"}),React.createElement("path",{d:"m373.08 280.51c-2.4609-2.4609-6.5352-2.4609-8.9922 0l-27.914 27.914-27.914-27.914c-2.4609-2.4609-6.5352-2.4609-8.9922 0-2.4609 2.4609-2.4609 6.5352 0 8.9922l27.914 28-27.914 27.914c-2.4609 2.4609-2.4609 6.5352 0 8.9922 1.2734 1.2734 2.8867 1.8672 4.4961 1.8672 1.6133 0 3.2227-0.59375 4.4961-1.8672l27.914-27.914 27.914 27.914c1.2734 1.2734 2.8867 1.8672 4.4961 1.8672 1.6133 0 3.2227-0.59375 4.4961-1.8672 2.4609-2.4609 2.4609-6.5352 0-8.9922l-27.914-27.914 27.914-28c2.4609-2.457 2.4609-6.4453 0-8.9922z"}),React.createElement("path",{d:"m272.96 61.09h160.79c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4766-2.8867-6.3633-6.3633-6.3633h-160.79c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633z"}),React.createElement("path",{d:"m433.83 82.047h-160.96c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h160.96c3.4805 0 6.3633-2.8867 6.3633-6.3633 0.003906-3.4766-2.8828-6.3633-6.3594-6.3633z"}),React.createElement("path",{d:"m433.83 116.07h-84.508c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h84.508c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4805-2.8867-6.3633-6.3633-6.3633z"}),React.createElement("path",{d:"m433.83 150.01h-84.508c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h84.508c3.4805 0 6.3633-2.8867 6.3633-6.3633s-2.8867-6.3633-6.3633-6.3633z"}),React.createElement("path",{d:"m454.02 503.49h-275.5v-21.043h241.73c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4805-2.8867-6.3633-6.3633-6.3633h-275.59v-359.59h80.438c3.4805 0 6.3633-2.8867 6.3633-6.3633l-0.003906-80.438h243.68v368.24c0 3.4805 2.8867 6.3633 6.3633 6.3633 3.4805 0 6.3633-2.8867 6.3633-6.3633l0.003906-334.47h21.043v365.1c0 3.4805 2.8867 6.3633 6.3633 6.3633 3.4805 0 6.3633-2.8867 6.3633-6.3633v-371.46c0-3.4805-2.8867-6.3633-6.3633-6.3633h-27.406v-27.406c0-3.4805-2.8867-6.3633-6.3633-6.3633h-256.33c-1.6953 0-3.3086 0.67969-4.4961 1.8672l-86.887 86.801c-1.1875 1.1875-1.8672 2.8008-1.8672 4.4961v372.23c0 3.4805 2.8867 6.3633 6.3633 6.3633h27.406v27.406c0 3.4805 2.8867 6.3633 6.3633 6.3633h281.87c3.4805 0 6.3633-2.8867 6.3633-6.3633 0.003907-3.4805-2.7969-6.2773-6.2773-6.2773zm-300.36-406.09 65.078-65.078v65.078z"}))),xe=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 5q-.425 0-.713-.288Q4 4.425 4 4t.287-.713Q4.575 3 5 3h14q.425 0 .712.287Q20 3.575 20 4t-.288.712Q19.425 5 19 5Zm7 16q-.425 0-.712-.288Q11 20.425 11 20v-9.2l-1.925 1.925Q8.8 13 8.4 13t-.7-.3q-.275-.275-.275-.7q0-.425.275-.7l3.6-3.6q.15-.15.325-.212q.175-.063.375-.063t.375.063q.175.062.325.212l3.625 3.625q.275.275.275.675t-.3.7q-.275.275-.7.275q-.425 0-.7-.275L13 10.8V20q0 .425-.287.712Q12.425 21 12 21Z"})),Le=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"})),Ne=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"}))),ze=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"})));function je(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return void 0!==e&&""!=e?"".concat(t,": ").concat(e).concat(o,";"):""}function Ie(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e||{},n="";if(""!=r.top||""!=r.right||""!=r.bottom||""!=r.left){var a=r.unit?r.unit:"px";n=(r.top||0)+a+" "+(r.right||0)+a+" "+(r.bottom||0)+a+" "+(r.left||0)+a}var l=je(n,t,o);return""!=l?l:""}function Me(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e||{},r="";return o.imageUrl&&(r+=je("url("+o.imageUrl+")","background-image",t)),o.position&&(r+=je(o.position,"background-position",t)),o.attachment&&(r+=je(o.attachment,"background-attachment",t)),o.repeat&&(r+=je(o.repeat,"background-repeat",t)),o.size&&(r+=je(o.size,"background-size",t)),r}function Fe(e){if(void 0!==e&&void 0!==(null==e?void 0:e.type)&&""!=(null==e?void 0:e.type)){var t=fe(e),o="";return o="border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";"),null!=t&&t.desktop?o+=t.desktop:o=null==t?void 0:t.simple.replace(/[{}]/g,""),o}return""}const He=window.lodash,De=window.wp.element,qe=window.wp.apiFetch;var Ge=o.n(qe);const Ke=window.wp.data;function Ue(e){return Ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ue(e)}function Qe(){Qe=function(){return t};var e,t={},o=Object.prototype,r=o.hasOwnProperty,n=Object.defineProperty||function(e,t,o){e[t]=o.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,o){return e[t]=o}}function u(e,t,o,r){var a=t&&t.prototype instanceof y?t:y,l=Object.create(a.prototype),i=new S(r||[]);return n(l,"_invoke",{value:C(e,o,i)}),l}function d(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var m="suspendedStart",p="suspendedYield",g="executing",f="completed",b={};function y(){}function R(){}function _(){}var w={};s(w,l,(function(){return this}));var h=Object.getPrototypeOf,E=h&&h(h(k([])));E&&E!==o&&r.call(E,l)&&(w=E);var v=_.prototype=y.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function o(n,a,l,i){var c=d(e[n],e,a);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==Ue(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,l,i)}),(function(e){o("throw",e,l,i)})):t.resolve(u).then((function(e){s.value=e,l(s)}),(function(e){return o("throw",e,l,i)}))}i(c.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function C(t,o,r){var n=m;return function(a,l){if(n===g)throw new Error("Generator is already running");if(n===f){if("throw"===a)throw l;return{value:e,done:!0}}for(r.method=a,r.arg=l;;){var i=r.delegate;if(i){var c=B(i,r);if(c){if(c===b)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===m)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=g;var s=d(t,o,r);if("normal"===s.type){if(n=r.done?f:p,s.arg===b)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=f,r.method="throw",r.arg=s.arg)}}}function B(t,o){var r=o.method,n=t.iterator[r];if(n===e)return o.delegate=null,"throw"===r&&t.iterator.return&&(o.method="return",o.arg=e,B(t,o),"throw"===o.method)||"return"!==r&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var a=d(n,t.iterator,o.arg);if("throw"===a.type)return o.method="throw",o.arg=a.arg,o.delegate=null,b;var l=a.arg;return l?l.done?(o[t.resultName]=l.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=e),o.delegate=null,b):l:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,b)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function W(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function k(t){if(t||""===t){var o=t[l];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function o(){for(;++n<t.length;)if(r.call(t,n))return o.value=t[n],o.done=!1,o;return o.value=e,o.done=!0,o};return a.next=a}}throw new TypeError(Ue(t)+" is not iterable")}return R.prototype=_,n(v,"constructor",{value:_,configurable:!0}),n(_,"constructor",{value:R,configurable:!0}),R.displayName=s(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===R||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,s(e,c,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},O(P.prototype),s(P.prototype,i,(function(){return this})),t.AsyncIterator=P,t.async=function(e,o,r,n,a){void 0===a&&(a=Promise);var l=new P(u(e,o,r,n),a);return t.isGeneratorFunction(o)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},O(v),s(v,c,"Generator"),s(v,l,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),o=[];for(var r in t)o.push(r);return o.reverse(),function e(){for(;o.length;){var r=o.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=k,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(W),!t)for(var o in this)"t"===o.charAt(0)&&r.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var o=this;function n(r,n){return i.type="throw",i.arg=t,o.next=r,n&&(o.method="next",o.arg=e),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var l=this.tryEntries[a],i=l.completion;if("root"===l.tryLoc)return n("end");if(l.tryLoc<=this.prev){var c=r.call(l,"catchLoc"),s=r.call(l,"finallyLoc");if(c&&s){if(this.prev<l.catchLoc)return n(l.catchLoc,!0);if(this.prev<l.finallyLoc)return n(l.finallyLoc)}else if(c){if(this.prev<l.catchLoc)return n(l.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return n(l.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var l=a?a.completion:{};return l.type=e,l.arg=t,a?(this.method="next",this.next=a.finallyLoc,b):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),W(o),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var r=o.completion;if("throw"===r.type){var n=r.arg;W(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,o,r){return this.delegate={iterator:k(t),resultName:o,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}function Ve(e,t,o,r,n,a,l){try{var i=e[a](l),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(r,n)}function Ye(e){return function(){var t=this,o=arguments;return new Promise((function(r,n){var a=e.apply(t,o);function l(e){Ve(a,r,n,l,i,"next",e)}function i(e){Ve(a,r,n,l,i,"throw",e)}l(void 0)}))}}function Ze(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Je(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=Ue(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ue(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ue(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ze(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Xe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $e(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?$e(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var et=[{name:"all",title:(0,ue.__)("All","woolentor")},{name:"free",title:(0,ue.__)("Free","woolentor")},{name:"pro",title:(0,ue.__)("Pro","woolentor")}],tt=["cart","checkout-page","empty-cart","lost-password","my-account","product-details","shop","thank-you","popup-builder"],ot=function(e){var t=Xe((0,De.useState)(woolentorData.templatelist.templates),2),o=t[0],r=t[1],n=Xe((0,De.useState)([]),2),a=n[0],l=n[1],i=Xe((0,De.useState)(""),2),c=i[0],s=i[1],u=Xe((0,De.useState)("all"),2),d=u[0],m=u[1],p=Xe((0,De.useState)(woolentorData.templateType||"all"),2),g=p[0],f=p[1];(0,De.useEffect)((function(){var e=woolentorData.templatelist.templates;e=""!==woolentorData.templateType?e.filter((function(e){var t=e.type;if(t===woolentorData.templateType||"page"===t)return!0})):e.filter((function(e){return"page"===e.type})),"all"!==g&&(e=e.filter((function(e){var t=e.shareId,o=e.type,r=t.toLowerCase().replace(/\s+/,"-").trim(),n=""!==woolentorData.templateType?o:r;return("page"===n?r:n)===g}))),"all"!==d&&(e=e.filter((function(e){return e.tmpType===d}))),1==woolentorData.prostatus&&(e=e.map((function(e){return Je(Je({},e),{},{isPro:0})}))),r(e)}),[g,d]),(0,De.useEffect)((function(){var e=o.reduce((function(e,t){var o=t.shareId,r=(t.tags,o.toLowerCase().replace(/\s+/,"-").trim());return void 0===e.shareId[r]?e.shareId[r]={id:r,label:o,count:1}:e.shareId[r].count=e.shareId[r].count+1,e}),{shareId:{},tags:{}}),t=(0,He.sortBy)(Object.values(e.shareId),"label");t.unshift({id:"all",label:(0,ue.__)("All","woolentor"),count:0}),t=t.filter((function(e){return!function(e,t){for(var o=t.length,r=0;r<o;r++)if(t[r]==e)return!0;return!1}(e.id,tt)})),""!==woolentorData.templateType&&t.splice(1,0,{id:woolentorData.templateType,label:(0,ue.__)(woolentorData.templateType,"woolentor"),count:0}),l(t)}),[]);var b=function(){var e=Ye(Qe().mark((function e(){var t,o,r,n=arguments;return Qe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.length>0&&void 0!==n[0]?n[0]:"",o=null){e.next=9;break}return e.next=5,Ge()({path:"/woolentor/v1/importtemplate",method:"POST",data:{template_id:t}});case 5:return r=e.sent,e.next=8,r;case 8:o=e.sent;case 9:return e.abrupt("return",o);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=(0,De.useCallback)((function(e){(0,Ke.dispatch)("core/block-editor").insertBlocks(e).then((function(){s("")}))}),[]),R=function(){var e=Ye(Qe().mark((function e(t){var o;return Qe().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),e.next=3,b(t);case 3:o=e.sent,y((0,ce.parse)(o.content));case 5:case"end":return e.stop()}}),e)})));return function(_x){return e.apply(this,arguments)}}();return React.createElement(de.Modal,{title:React.createElement(React.Fragment,null,React.createElement("div",{className:"woolentor-library-logo"},React.createElement(de.Icon,{icon:se}),(0,ue.__)("Template Library","woolentor")),React.createElement("ul",{className:"free-pro-filter-menu"},et.map((function(e){return React.createElement("li",{key:e.name,className:e.name===d?"woolentor-menu-active":"",onClick:function(){m(e.name)},"data-filter":e.name},e.title)})))),onRequestClose:e.onClose,className:"woolentor-modal-design-library"},React.createElement("div",{className:"woolentor-template-library-area"},React.createElement("div",{className:"woolentor-template-library"},React.createElement("div",{className:"woolentor-template-library-sidebar"},React.createElement("ul",{className:"woolentor-template-filter-menu"},null==a?void 0:a.map((function(e){return React.createElement("li",{key:e.id,className:e.id===g?"woolentor-menu-active":"",onClick:function(){f(e.id)}},e.label)})))),React.createElement("div",{className:"woolentor-template-list"},React.createElement("div",{className:"woolentor-templates-library-wrapper"},null==o?void 0:o.map((function(e){return React.createElement("div",{key:e.id,className:"woolentor-templates-library-single-template ".concat(""!==c?"woolentor-not-clickable":"")},React.createElement("div",{className:"woolentor-template-image"},1===e.isPro&&React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-template-pro-badge"},(0,ue.__)("Pro","woolentor")),React.createElement("div",{className:"woolentor-data-importer-spinner"},React.createElement("span",{className:"dashicon dashicons dashicons-lock"}))),c===e.id&&React.createElement("div",{className:"woolentor-data-importer-spinner"},React.createElement(de.Spinner,null)),!1!==e.thumbnail?React.createElement("div",{className:"template-image-wrapper",style:{backgroundImage:"url(".concat(e.thumbnail,")")}}):React.createElement("div",{className:"template-image-wrapper template-no-image",style:{backgroundImage:"url('data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%20282.69%20228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20fill%3D%22%23A5A5A5%22%20cx%3D%22115.3%22%20cy%3D%2235.75%22%20r%3D%2235.75%22%2F%3E%3Cpath%20fill%3D%22%23A5A5A5%22%20d%3D%22M188.7%2C228h-81.34c-10.27%2C0-16.24-11.86-10.28-20.41l38.69-55.48l42.65-61.2%20c5.03-7.22%2C15.53-7.22%2C20.56%2C0l42.64%2C61.17l38.7%2C55.51c5.96%2C8.55-0.02%2C20.4-10.28%2C20.4H188.7z%22%2F%3E%3Cpath%20fill%3D%22%23A5A5A5%22%20d%3D%22M2.48%2C206.79l55.44-78.81c4.27-6.07%2C12.64-7.54%2C18.72-3.29l112.83%2C78.81%20c10.8%2C7.54%2C5.46%2C24.51-7.71%2C24.51l-168.27%2C0C2.58%2C228-3.8%2C215.71%2C2.48%2C206.79z%22%2F%3E%3C%2Fsvg%3E')"}})),React.createElement("div",{className:"woolentor-template-info"},React.createElement("h4",{className:"woolentor-template-title"},e.title),React.createElement("div",{className:"woolentor-template-action-button"},React.createElement("a",{href:e.url,target:"_blank",className:"woolentor-template-button"},(0,ue.__)("preview","woolentor")),1===e.isPro?React.createElement("a",{href:woolentorData.prolink,target:"_blank",className:"woolentor-template-button"},(0,ue.__)("Buy Now","woolentor")):React.createElement("span",{className:"woolentor-template-button",onClick:function(){R(e.id)}},(0,ue.__)("import","woolentor")))))})),(null==o?void 0:o.length)<=0&&React.createElement("div",{className:"woolentor-template-not-found"},React.createElement(de.Icon,{icon:Te,width:"200",height:"100"}),React.createElement("span",{className:"woolentor-not-found-text"},(0,ue.__)("No templates were found for the combination you have selected.","woolentor"))))))))};function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}ot.defaultProps={onClose:function(){}};const nt=function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?rt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),t=e[0],o=e[1];return React.createElement(React.Fragment,null,React.createElement(de.Button,{onClick:function(){o(!0)},className:"woolentor-library-button",label:(0,ue.__)("Template Library","woolentor"),icon:se},(0,ue.__)("Template Library","woolentor")),t&&React.createElement(ot,{onClose:function(){o(!1)}}))},at=window.wp.domReady;var lt,it=o.n(at);(null===(lt=woolentorData)||void 0===lt||null===(lt=lt.templatelist)||void 0===lt||null===(lt=lt.templates)||void 0===lt?void 0:lt.length)>0&&it()((function(){var e=null,t=(0,Ke.subscribe)((function(){var o=document.querySelector(".edit-post-header-toolbar");if(o){var r=document.createElement("div");r.classList.add("woolentor-library-button__wrapper"),o.querySelector(".woolentor-library-button__wrapper")||((0,De.render)(React.createElement(nt,null),r),o.appendChild(r)),e&&clearTimeout(e),e=setTimeout((function(){document.querySelector(".woolentor-library-button__wrapper")&&t()}),0)}}))}));const ct=window.wp.plugins,st=window.wp.editPost,ut=window.wp.coreData;function dt(e){return dt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dt(e)}function mt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function pt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=dt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function ft(e){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ft(e)}function bt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function yt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=ft(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ft(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ft(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}"woolentor-template"===window.pagenow&&(0,ct.registerPlugin)("woolentor-metabox",{render:function(){var e=(0,Ke.useSelect)((function(e){return e("core/editor").getCurrentPostType()}),[]),t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?gt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,ut.useEntityProp)("postType",e,"meta"),2),o=t[0],r=t[1],n=o._woolentor_container_width;return React.createElement(st.PluginDocumentSettingPanel,{name:"woolentor-meta-box",title:(0,ue.__)("Container Width","woolentor"),icon:se,initialOpen:"false"},React.createElement(de.TextControl,{value:n,onChange:function(e){r(pt(pt({},o),{},{_woolentor_container_width:e}))}}))},icon:null});var Rt=function(){var e=(0,Ke.useSelect)((function(e){return{blockTabName:e("woolentor/block-tabs").getBlockTabName(),blockSectionbName:e("woolentor/block-tabs").getBlockSectionName()}}),[]);return{tabName:e.blockTabName||"",section:e.blockSectionbName||""}},_t={tabname:"",section:""};(0,Ke.register)((0,Ke.createReduxStore)("woolentor/block-tabs",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_t,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_BLOCK_TAB_NAME":return yt(yt({},e),{},{tabname:t.tabName});case"SET_BLOCK_SECTION_NAME":return yt(yt({},e),{},{section:t.section})}return e},actions:{setBlockTabName:function(e){return{type:"SET_BLOCK_TAB_NAME",tabName:e}},setBlockSectionName:function(e){return{type:"SET_BLOCK_SECTION_NAME",section:e}}},selectors:{getBlockTabName:function(e){return e.tabname},getBlockSectionName:function(e){return e.section}}}));const wt=window.wp.blockEditor;var ht=[{name:"general",title:(0,ue.__)("General","woolentor"),className:"woolentor-tab-menu-item general"},{name:"styles",title:(0,ue.__)("Styles","woolentor"),className:"woolentor-tab-menu-item styles"},{name:"advanced",title:(0,ue.__)("Advanced","woolentor"),className:"woolentor-tab-menu-item advanced"}],Et=(0,de.createSlotFill)("WoolentorGeneralInspectorTab"),vt=Et.Slot,Ot=Et.Fill,Pt=(0,de.createSlotFill)("WoolentorStyleInspectorTab"),Ct=Pt.Slot,Bt=Pt.Fill,At=(0,de.createSlotFill)("WoolentorAdvancedInspectorTab"),Wt=At.Slot,St=At.Fill,kt=function(e){var t=e.children;return(0,wt.useBlockEditContext)().isSelected?React.createElement(Ot,null,t):null},Tt=function(e){var t=e.children;return(0,wt.useBlockEditContext)().isSelected?React.createElement(Bt,null,t):null},xt=function(e){var t=e.children;return(0,wt.useBlockEditContext)().isSelected?React.createElement(St,null,t):null},Lt=function(e){var t=(0,wt.useBlockEditContext)().clientId,o=Rt(),r=ht.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})),n=o.tabName.includes(t)?o.tabName.replace(t,""):"";return React.createElement(wt.InspectorControls,null,React.createElement("div",{className:"woolentor-panel-control"},React.createElement(de.TabPanel,{className:"woolentor-tabs-menu",activeClass:"woolentor-tab-menu-active is-primary",onSelect:function(e){var o=(t+e).toLowerCase();(0,Ke.dispatch)("woolentor/block-tabs").setBlockTabName(o)},initialTabName:n,tabs:r},(function(e){return React.createElement("div",{className:"woolentor-tab-controls ".concat(e.name)},"general"===e.name&&React.createElement(vt,null),"styles"===e.name&&React.createElement(Ct,null),"advanced"===e.name&&React.createElement(Wt,null))}))))};Lt.defaultProps={tabs:["general","styles","advanced"]};const Nt=(0,De.memo)(Lt);function zt(e){return zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zt(e)}function jt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function It(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=zt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=zt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Ft=[{name:"normal",title:(0,ue.__)("Normal","woolentor")},{name:"hover",title:(0,ue.__)("Hover","woolentor")},{name:"active",title:(0,ue.__)("Active","woolentor")},{name:"focus",title:(0,ue.__)("Focus","woolentor")}],Ht=function(e){var t=void 0===e.name?"":e.name,o=(t+e.defaultActive).toLowerCase(),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Mt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(o),2),n=r[0],a=r[1],l=!1===e.overide?Ft.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})):e.tabs,i=De.Children.map(e.children,(function(e){if(!(0,De.isValidElement)(e))return e;var o=It({},e.props),r=e.props.originalType||e.type,a=r.displayName||r.name,l=(t+e.props.name).toLowerCase();return"TabsContent"===a&&n===l?(0,De.cloneElement)(e,It(It({},o),{},{children:e.props.children})):void 0}));return React.createElement("div",{className:"woolentor-tabs-menu-group"},React.createElement(de.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},l.map((function(e,o){return React.createElement(de.Button,{key:o,className:n===(t+e.name).toLowerCase()?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",variant:n===(t+e.name).toLowerCase()?"primary":"secondary",onClick:function(){return o=e.name,r=(t+o).toLowerCase(),void a(r);var o,r}},e.title)}))),i)};Ht.defaultProps={name:void 0,tabs:["normal","hover"],defaultActive:"normal",overide:!1};const Dt=(0,De.memo)(Ht);var qt=o(942),Gt=o.n(qt),Kt=function(e){var t=Gt()(["woolentor-control","woolentor-tabs-content",e.className]);return React.createElement("div",{className:t},e.children)};Kt.defaultProps={className:""},Kt.displayName="TabsContent";const Ut=Kt;var Qt=function(e){var t=e.title,o=e.initialOpen,r=(0,wt.useBlockEditContext)().clientId,n=Rt(),a=(r+n.tabName+t).toLowerCase(),l=e.panelName?e.panelName:a,i=!!o||l===n.section;return React.createElement(de.PanelBody,{title:t,onToggle:function(){return e=l,void(0,Ke.dispatch)("woolentor/block-tabs").setBlockSectionName(e);var e},initialOpen:i},e.children)};Qt.defaultProps={title:"",panelName:!1,initialOpen:!1};const Vt=(0,De.memo)(Qt);var Yt=function(){return(0,Ke.useSelect)((function(e){return{deviceType:e("core/edit-post")?e("core/edit-post").__experimentalGetPreviewDeviceType():e("woolentor/device-type").getDeviceType()}}),[]).deviceType||""};function Zt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Jt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Jt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}(0,Ke.register)((0,Ke.createReduxStore)("woolentor/device-type",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;return"SET_DEVICE_TYPE"===t.type?t.deviceType:e},actions:{setDeviceType:function(e){return{type:"SET_DEVICE_TYPE",deviceType:e}}},selectors:{getDeviceType:function(e){return e}}}));var Xt={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},$t=[{label:(0,ue.__)("Desktop","woolentor"),value:"desktop",icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"desktop"}))},{label:(0,ue.__)("Tablet","woolentor"),value:"tablet",icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"tablet"}))},{label:(0,ue.__)("Mobile","woolentor"),value:"mobile",icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"smartphone"}))}],eo=function(e){var t=Yt(),o=t.toLowerCase(),r="all"===e.responsive?$t:$t.filter((function(t){var o,r=t.value;return null===(o=e.screens)||void 0===o?void 0:o.includes(r)})),n=Zt((0,De.useState)(!1),2),a=n[0],l=n[1],i=Zt((0,De.useState)(!1),2),c=i[0],s=i[1],u=(0,De.useRef)(null),d=(0,De.useMemo)((function(){return r.findIndex((function(e){return e.value===o}))/r.length*100}),[r,o]);if(r<=1)return null;if(!t)return null;var m=(0,De.useCallback)((function(e){var t;a&&(null===(t=e.target)||void 0===t?void 0:t.closest(".woolentor-responsive-switcher-button-area"))!==u.current&&l(!1)}));return(0,De.useEffect)((function(){return document.body.addEventListener("click",m),function(){return document.body.removeEventListener("click",m)}}),[m]),React.createElement("div",{className:"woolentor-responsive-switcher-button-area ".concat(1==a?"open-switcher":""),ref:u},React.createElement("div",{className:"woolentor-responsive-switcher-button",style:{transform:"translateY(-".concat(d,"%)")}},r.length>1&&r.map((function(e,t){var r=e.label||e.value,n=r||"";return React.createElement("div",{key:t,onMouseEnter:function(){s(e.value)},onMouseLeave:function(){s(!1)}},React.createElement(de.Button,{className:o===e.value?"device-selected":"",variant:"desktop"!==o&&(o!==e.value?"secondary":"primary"),onClick:function(){l(!a),function(e){(0,Ke.dispatch)("core/edit-post")?(0,Ke.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType(Xt[e]):(0,Ke.dispatch)("woolentor/device-type").setDeviceType(Xt[e])}(e.value)},icon:e.icon,showTooltip:!1,label:r},e.icon?void 0:r),n&&c===e.value&&React.createElement(de.Popover,{focusOnMount:!1,position:"middle right",className:"components-tooltip","aria-hidden":"true"},n))}))))};eo.defaultProps={screens:["desktop"],responsive:!1};const to=(0,De.memo)(eo);function oo(e){return oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oo(e)}function ro(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function no(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ro(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=oo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=oo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oo(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ro(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var ao=["desktop","tablet","mobile"],lo=function(e){var t,o=Gt()(["woolentor-control","woolentor-field-section",e.className]),r=e.label?e.label:"",n=!(null===(t=e.responsive)||void 0===t||!t.length),a="all"===e.responsive?ao:e.responsive,l=De.Children.map(e.children,(function(e){if(!(0,De.isValidElement)(e))return e;var t=no({},e.props);return(0,De.cloneElement)(e,no(no({},t),{},{children:e.props.children,colors:[{name:"red",color:"#f00"}]}))}));return React.createElement("div",{className:o},React.createElement("div",{className:"woolentor-field-label"},r&&React.createElement("label",null,r),n&&React.createElement(to,{screens:a})),React.createElement("div",{className:"woolentor-field-wrap"},l))};lo.defaultProps={className:"",label:"",responsive:!1};const io=lo;function co(){return co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},co.apply(this,arguments)}var so=(0,De.forwardRef)((function(e,t){var o=Gt()([e.className,"woolentor-button-component"]);return React.createElement(de.Button,co({},e,{className:o,ref:t}))})),uo=React.createElement(de.Dashicon,{icon:"image-rotate"}),mo=(0,De.memo)((function(e){var t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder,o=(0,De.useCallback)((function(){e.onChange(void 0===e.default?"":e.default)}),[e.onChange,e.default]);return e.allowReset&&t&&React.createElement(so,{className:"woolentor-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,ue.__)("Reset","woolentor"),onClick:o,icon:uo})}));mo.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null};var po=function(e){var t=e.label,o=e.layout,r=e.styles,n={};return"one"!==o&&(n.padding=0),React.createElement("div",{className:"woolentor-control-section-title-area",style:r},React.createElement("span",{className:"woolentor-control-section-title",style:n},t),"one"===o&&React.createElement("hr",null))};po.defaultProps={label:"",layout:"one",styles:{}};const go=po;function fo(e){return fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fo(e)}function bo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function yo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?bo(Object(o),!0).forEach((function(t){Ro(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ro(e,t,o){return r=function(e,t){if("object"!=fo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=fo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==fo(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}var _o=function(e){var t=Yt().toLowerCase(),o=e.setAttributes,r=e.lavel,n=e.dimensions,a=e.attributesKey,l=function(r,l){var i,c,s,u,d,m,p=yo({},n),g=e.responsive?(null===(i=p[t])||void 0===i?void 0:i.link)||"yes":(null==p?void 0:p.link)||"yes",f=e.responsive?(null===(c=p[t])||void 0===c?void 0:c.unit)||"px":(null==p?void 0:p.unit)||"px";e.responsive?p[t]="yes"===g?{top:r,right:r,bottom:r,left:r,link:"yes",unit:f}:Ro({top:(null===(s=p[t])||void 0===s?void 0:s.top)||"0",right:(null===(u=p[t])||void 0===u?void 0:u.right)||"0",bottom:(null===(d=p[t])||void 0===d?void 0:d.bottom)||"0",left:(null===(m=p[t])||void 0===m?void 0:m.left)||"0",link:"no",unit:f},l,r):"yes"===g?(p.top=r,p.right=r,p.bottom=r,p.left=r,p.link="yes"):(p.top=(null==p?void 0:p.top)||"0",p.right=(null==p?void 0:p.right)||"0",p.bottom=(null==p?void 0:p.bottom)||"0",p.left=(null==p?void 0:p.left)||"0",p.link="no",p[l]=r),o(Ro({},a,p))},i=function(r){var l=yo({},n),i=r.target.getAttribute("data-value");e.responsive?l.hasOwnProperty(t)?l[t].unit=i:l[t]={unit:i}:l.unit=i,o(Ro({},a,l))},c=n.hasOwnProperty(t)?n[t].top:n.top?n.top:"",s=n.hasOwnProperty(t)?n[t].right:n.right?n.right:"",u=n.hasOwnProperty(t)?n[t].bottom:n.bottom?n.bottom:"",d=n.hasOwnProperty(t)?n[t].left:n.left?n.left:"",m=n.hasOwnProperty(t)?n[t].unit:n.unit?n.unit:"px",p=n.hasOwnProperty(t)?n[t].link:n.link?n.link:"yes";return React.createElement(De.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-dimensions-control"},React.createElement(de.PanelRow,{className:"woolentor-panel-row-height-auto",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},r),e.responsive&&React.createElement(to,{responsive:"all"}),React.createElement("div",{className:"woolentor-units-choices"},React.createElement("span",{className:"px"===m?"unit-active":"","data-value":"px",onClick:i},(0,ue.__)("PX","woolentor")),React.createElement("span",{className:"%"===m?"unit-active":"","data-value":"%",onClick:i},(0,ue.__)("%","woolentor")),React.createElement("span",{className:"em"===m?"unit-active":"","data-value":"em",onClick:i},(0,ue.__)("EM","woolentor")))),React.createElement(de.PanelRow,null,React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Top","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"top")},shiftStep:10,value:c,labelPosition:"bottom"}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Right","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"right")},shiftStep:10,value:s,labelPosition:"bottom"}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Bottom","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"bottom")},shiftStep:10,value:u,labelPosition:"bottom"}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Left","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"left")},shiftStep:10,value:d,labelPosition:"bottom"}),React.createElement(de.Button,{icon:"admin-links",value:"yes",isPrimary:"yes"===p,isSecondary:"yes"!==p,onClick:function(){var r=yo({},n);e.responsive?r.hasOwnProperty(t)?r[t].link="yes"===r[t].link?"no":"yes":r[t]={link:"no"}:r.link="yes"===r.link?"no":"yes",o(Ro({},a,r))},title:(0,ue.__)("Link values together","woolentor"),showTooltip:!0}))))};_o.defaultProps={dimensions:{top:"",right:"",bottom:"",left:"",unit:"px",link:"yes"}};const wo=_o;function ho(e){return ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ho(e)}function Eo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function vo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Eo(Object(o),!0).forEach((function(t){Oo(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Eo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Oo(e,t,o){return r=function(e,t){if("object"!=ho(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==ho(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}var Po=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=(0,wt.useBlockEditContext)().clientId,a=(0,Ke.useDispatch)("core/block-editor").updateBlockAttributes,l=function(e){return(0,Ke.useSelect)((function(t){return t("core/block-editor").getBlockAttributes(e)||{}}),[e])}(n),i=e,c=l?l[i]:"",s=l?l[i]:"";null!==t&&vo({},l[i]).hasOwnProperty(t)&&(c=l?l[i][t]:"",s=l?l[i][t]:""),o&&(s=o(s));var u=(0,De.useCallback)((function(e){var o=r?r(e,c):null!==t?function(e,t,o){var r=vo({},t);return r[o]=e,r}(e,l[i],t):e;a(n,Oo({},i,o))}),[n,i,l,r,c,a]);return[s,u]};function Co(){return Co=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Co.apply(this,arguments)}function Bo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Ao=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Bo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,null,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement("div",{className:Gt()("woolentor-promoted-token-field woolentor-field-section",e.className)},React.createElement(de.FormTokenField,Co({},e,{value:n,onChange:a})),React.createElement(mo,{allowReset:e.allowReset,value:n,default:e.default,onChange:a}))};Ao.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const Wo=Ao,So=window.wp.compose;function ko(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var To=function(e){var t=e.type,o=e.taxonomy,r=e.label,n=e.onChangeTaxonomy,a=e.taxnomiesList,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ko(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ko(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)([]),2),i=l[0],c=l[1];(0,De.useEffect)((function(){var e=[];a&&a.forEach((function(t,o){e.push({label:t.name,name:t.name,slug:t.slug,value:t.id})})),c(e)}),[a]);var s=i.map((function(e){return e.name})),u=""!==o?o.split(",").map((function(e){return((0,He.find)(i,(function(t){return t.value===parseInt(e)}))||{}).name})):void 0;return React.createElement("div",{className:"woolentor-component-taxonomy-area"},i.length>0?"single"==t?React.createElement(de.SelectControl,{label:r,value:o,options:i,onChange:function(e){return n(e)}}):React.createElement(Wo,{suggestions:s,value:u,label:r,onChange:function(e){var t,o=null==e||null===(t=e.map)||void 0===t?void 0:t.call(e,(function(e){return((0,He.find)(i||[],(function(t){return t.name===e}))||{}).value}));n((0,He.compact)(o||[]).join(","))}}):React.createElement(de.Spinner,null))};To.defaultProps={taxonomy:"",label:"Category",onChangeTaxonomy:function(){},allowReset:!1};const xo=(0,So.compose)([(0,Ke.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomykey?t.taxonomykey:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(To);function Lo(e){return Lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lo(e)}function No(e,t,o){return(t=Mo(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function zo(e){return function(e){if(Array.isArray(e))return jo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return jo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?jo(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Io(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Mo(r.key),r)}}function Mo(e){var t=function(e,t){if("object"!=Lo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Lo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Lo(t)?t:String(t)}function Fo(e,t,o){return t=Do(t),function(e,t){if(t&&("object"===Lo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ho()?Reflect.construct(t,o||[],Do(e).constructor):t.apply(e,o))}function Ho(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ho=function(){return!!e})()}function Do(e){return Do=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Do(e)}function qo(e,t){return qo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qo(e,t)}var Go=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Fo(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qo(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this.props,o=t.setAttributes,r=t.selectedTaxonomies,n=t.attributesKey,a=t.title,l=t.type,i=t.taxnomiesList,c=function(){var e=[];return i&&i.forEach((function(t,o){e.push({label:t.name,value:t.slug})})),e};if("multiple"==l){var s=c();s.length>0&&(e=s.map((function(e,t){return React.createElement(de.CheckboxControl,{key:e.value,label:e.label,onChange:function(t){return function(e,t){var a=-1!==r.indexOf(t)?zo(r):[].concat(zo(r),[t]);if(0==e){var l=a.indexOf(t);a.splice(l,1)}o(No({},n,a))}(t,e.value)},checked:-1!==r.indexOf(e.value)})})))}return React.createElement(De.Fragment,null,React.createElement("div",{className:"woolentor-component-taxonomy-area"},"single"!=l&&React.createElement("h2",{className:"woolentor-component-area-title"},a),React.createElement("div",{className:"woolentor-component-taxonomy-fileds"},"single"==l?0==c().length?React.createElement(de.Spinner,null):React.createElement(de.SelectControl,{label:a,value:r,options:c(),onChange:function(e){return o(No({},n,e))}}):e||React.createElement(de.Spinner,null))))}}],r&&Io(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Ko=(0,So.compose)([(0,Ke.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomy?t.taxonomy:"product_cat",{orderby:"name",order:"asc",per_page:-1,hide_empty:!0})}}))])(Go);function Uo(e){return Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Uo(e)}function Qo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Vo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Qo(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=Uo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Uo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Uo(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Qo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Yo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Zo=function(e){var t=e.uploadImage,o=void 0===e.allowedTypes?["image","png"]:e.allowedTypes,r=void 0===e.instructions?React.createElement("p",null,(0,ue.__)("You need permission to upload media.","woolentor")):React.createElement("p",null,e.instructions),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Yo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Yo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.title?"":e.title,c=void 0===e.ImageData?a:e.ImageData,s=void 0===e.onChange?l:e.onChange,u=function(e){var t=Vo({},c);t.id=e.id,t.url=e.url,s(t)};return React.createElement(De.Fragment,null,React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement("h3",null,i),React.createElement(wt.MediaUploadCheck,{fallback:r},React.createElement(wt.MediaUpload,{title:i,onSelect:u,allowedTypes:o,value:c.id,render:function(e){var o=e.open;return React.createElement(de.Button,{className:c.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o},!c.id&&(0,ue.__)("Set ","woolentor")+i,!!c.id&&!t&&React.createElement(de.Spinner,null),!!c.id&&t&&React.createElement("img",{src:t.source_url,alt:i}))}})),!!c.id&&t&&React.createElement(wt.MediaUploadCheck,null,React.createElement(wt.MediaUpload,{title:i,onSelect:u,allowedTypes:o,value:c.id,render:function(e){var t=e.open;return React.createElement(de.Button,{onClick:t,variant:"secondary"},(0,ue.__)("Replace image","woolentor"))}})),!!c.id&&React.createElement(wt.MediaUploadCheck,null,React.createElement(de.Button,{onClick:function(){var e=Vo({},c);e.id=void 0,e.url=void 0,s(e)},isLink:!0,isDestructive:!0},(0,ue.__)("Remove image","woolentor")))))};Zo.defaultProps={attribute:"",allowedTypes:["image","png"],instructions:void 0,onChange:void 0};const Jo=(0,So.compose)((0,Ke.withSelect)((function(e,t){var o=e("core").getMedia,r=t.ImageData;return{uploadImage:r.id?o(r.id):null}})))(Zo);function Xo(e){return Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xo(e)}function $o(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function er(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?$o(Object(o),!0).forEach((function(t){tr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):$o(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function tr(e,t,o){return(t=rr(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function or(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rr(r.key),r)}}function rr(e){var t=function(e,t){if("object"!=Xo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Xo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xo(t)?t:String(t)}function nr(e,t,o){return t=lr(t),function(e,t){if(t&&("object"===Xo(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ar()?Reflect.construct(t,o||[],lr(e).constructor):t.apply(e,o))}function ar(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ar=function(){return!!e})()}function lr(e){return lr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lr(e)}function ir(e,t){return ir=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ir(e,t)}var cr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),nr(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ir(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,o=e.title,r=e.bgProperty,n=e.attributesKey,a=e.uploadImage,l=function(e,o){var a=er(er({},r),{},{type:"background"});a[o]=e,t(tr({},n,a))},i=["image","png"],c=React.createElement("p",null,(0,ue.__)("To edit the banner image, you need permission to upload media.","woolentor")),s=function(e){var o=er(er({},r),{},{type:"background"});o.imageId=e.id,o.imageUrl=e.url,t(tr({},n,o))};return React.createElement(De.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-background-control"},o&&React.createElement("h3",null,o),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:null==r?void 0:r.color,onChange:function(e){return l(e,"color")}})),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(wt.MediaUploadCheck,{fallback:c},React.createElement(wt.MediaUpload,{title:o,onSelect:s,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(de.Button,{className:r.imageId?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!r.imageId&&(0,ue.__)("Set ","woolentor")+o,!!r.imageId&&!a&&React.createElement(de.Spinner,null),!!r.imageId&&a&&React.createElement("img",{src:a.source_url,alt:o}))}})),!!r.imageId&&a&&React.createElement(wt.MediaUploadCheck,null,React.createElement(wt.MediaUpload,{title:o,onSelect:s,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(de.Button,{onClick:t,variant:"secondary"},(0,ue.__)("Replace image","woolentor"))}})),!!r.imageId&&React.createElement(wt.MediaUploadCheck,null,React.createElement(de.Button,{onClick:function(){var e=er(er({},r),{},{type:"background"});e.imageId=void 0,e.imageUrl=void 0,t(tr({},n,e))},isLink:!0,isDestructive:!0},(0,ue.__)("Remove image","woolentor")))),!!r.imageId&&a&&React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),labelPosition:"side",value:r.position,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Center Center","woolentor"),value:"center center"},{label:(0,ue.__)("Center Left","woolentor"),value:"center left"},{label:(0,ue.__)("Center Right","woolentor"),value:"center right"},{label:(0,ue.__)("Top Center","woolentor"),value:"top center"},{label:(0,ue.__)("Top Left","woolentor"),value:"top left"},{label:(0,ue.__)("Top Right","woolentor"),value:"top right"},{label:(0,ue.__)("Bottom Center","woolentor"),value:"bottom center"},{label:(0,ue.__)("Bottom Left","woolentor"),value:"bottom left"},{label:(0,ue.__)("Bottom Right","woolentor"),value:"bottom right"}],onChange:function(e){return l(e,"position")}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Attachment","woolentor"),labelPosition:"side",value:r.attachment,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Scroll","woolentor"),value:"scroll"},{label:(0,ue.__)("Fixed","woolentor"),value:"fixed"}],onChange:function(e){return l(e,"attachment")}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Repeat","woolentor"),labelPosition:"side",value:r.repeat,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("No-repeat","woolentor"),value:"no-repeat"},{label:(0,ue.__)("Repeat","woolentor"),value:"repeat"},{label:(0,ue.__)("Repeat-x","woolentor"),value:"repeat-x"},{label:(0,ue.__)("Repeat-y","woolentor"),value:"repeat-y"}],onChange:function(e){return l(e,"repeat")}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Display Size","woolentor"),labelPosition:"side",value:r.size,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Auto","woolentor"),value:"auto"},{label:(0,ue.__)("Cover","woolentor"),value:"cover"},{label:(0,ue.__)("Contain","woolentor"),value:"contain"}],onChange:function(e){return l(e,"size")}}))))}}],r&&or(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const sr=(0,So.compose)((0,Ke.withSelect)((function(e,t){var o=e("core").getMedia,r=t.bgProperty;return{uploadImage:r.imageId?o(r.imageId):null}})))(cr);function ur(e){return ur="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ur(e)}function dr(){return dr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},dr.apply(this,arguments)}function mr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function pr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mr(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=ur(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ur(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ur(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var fr={align:[{value:"left",title:(0,ue.__)("Align Left","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-alignleft"}))},{value:"center",title:(0,ue.__)("Align Center","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-aligncenter"}))},{value:"right",title:(0,ue.__)("Align Right","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-alignright"}))},{value:"justify",title:(0,ue.__)("Align Justify","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-justify"}))}],"flex-horizontal":[{value:"flex-start",title:(0,ue.__)("Align Left","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"align-pull-left"}))},{value:"center",title:(0,ue.__)("Align Center","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"align-center"}))},{value:"flex-end",title:(0,ue.__)("Align Right","woolentor"),icon:(0,ue.__)(React.createElement(de.Dashicon,{icon:"align-pull-right"}))}]},br=function(e){var t=e.options,o=e.justified,r="string"==typeof t?fr[t]:t,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?gr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;return React.createElement("div",{className:"woolentor-field-section"},""!==i&&React.createElement("label",null,i),React.createElement("div",{className:"woolentor-field-wrap"},React.createElement(de.ButtonGroup,{children:r.filter((function(e){return!!o||"justify"!==e.value})).map((function(t,o){var r=pr(pr({},(0,He.omit)(t,"controls","show")),{},{onClick:function(){e.isToggleOnly&&t.value===c||s(t.value!==c?t.value:"")},variant:c!==t.value?"secondary":"primary",isSmall:e.isSmall,children:t.icon?null:t.custom||React.createElement("span",{className:"woolentor-toolbar-control__text-button"},t.title)});return React.createElement(de.Button,dr({key:o},r))})),className:"woolentor-alignment-btn-group"})),React.createElement(mo,{allowReset:e.allowReset,showReset:e.showReset,value:c,default:e.default,onChange:s}))};function yr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}br.defaultProps={isSmall:!1,isToggleOnly:!1,options:"align",default:"",allowReset:!0,showReset:!1,attribute:"",justified:!1,label:void 0,value:void 0,onChange:void 0};var Rr=function(e){!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?yr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement(wt.AlignmentToolbar,{value:n,onChange:function(e){return a(e)}})};Rr.defaultProps={attribute:"",value:void 0,onChange:void 0};var _r=function(){return null};function wr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}_r.InspectorControls=br,_r.BlockControls=Rr;var hr=function(e){var t=Yt(),o=e.responsive?t.toLowerCase():null,r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?wr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Po(e.attribute,o,e.valueCallback,e.changeCallback),2),n=r[0],a=r[1],l=void 0===e.label?"":e.label,i=void 0===e.value?n:e.value,c=void 0===e.onChange?a:e.onChange;return React.createElement(De.Fragment,null,React.createElement(de.PanelRow,{className:"woolentor-panel-row-height-auto woolentor-column-control",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},l),e.responsive&&React.createElement(to,{responsive:"all"})),React.createElement(de.RangeControl,{value:i,onChange:function(e){return c(e)},min:e.min,step:1,max:e.max,allowReset:e.allowReset}))};hr.defaultProps={allowReset:!1,min:0,max:6,attribute:"",label:void 0,value:void 0,onChange:void 0};const Er=hr,vr=JSON.parse('{"dashicon":[{"name":"Menu","icon":"menu"},{"name":"Admin Site","icon":"admin-site"},{"name":"Dashboard","icon":"dashboard"},{"name":"Admin media","icon":"admin-media"},{"name":"Admin page","icon":"admin-page"},{"name":"Admin comments","icon":"admin-comments"},{"name":"Admin appearance","icon":"admin-appearance"},{"name":"Admin plugins","icon":"admin-plugins"},{"name":"Admin users","icon":"admin-users"},{"name":"Admin tools","icon":"admin-tools"},{"name":"Admin settings","icon":"admin-settings"},{"name":"Admin network","icon":"admin-network"},{"name":"Admin generic","icon":"admin-generic"},{"name":"Admin home","icon":"admin-home"},{"name":"Admin collapse","icon":"admin-collapse"},{"name":"Filter","icon":"filter"},{"name":"Admin customizer","icon":"admin-customizer"},{"name":"Admin multisite","icon":"admin-multisite"},{"name":"Admin links","icon":"admin-links"},{"name":"Admin post","icon":"admin-post"},{"name":"Format image","icon":"format-image"},{"name":"Format gallery","icon":"format-gallery"},{"name":"Format audio","icon":"format-audio"},{"name":"Format video","icon":"format-video"},{"name":"Format chat","icon":"format-chat"},{"name":"Format status","icon":"format-status"},{"name":"Format aside","icon":"format-aside"},{"name":"Format quote","icon":"format-quote"},{"name":"Welcome write blog","icon":"welcome-write-blog"},{"name":"Welcome add page","icon":"welcome-add-page"},{"name":"Welcome view site","icon":"welcome-view-site"},{"name":"Welcome widgets menus","icon":"welcome-widgets-menus"},{"name":"Welcome comments","icon":"welcome-comments"},{"name":"Welcome learn more","icon":"welcome-learn-more"},{"name":"Image crop","icon":"image-crop"},{"name":"Image rotate","icon":"image-rotate"},{"name":"Image rotate left","icon":"image-rotate-left"},{"name":"Image rotate right","icon":"image-rotate-right"},{"name":"Image flip vertical","icon":"image-flip-vertical"},{"name":"Image flip horizontal","icon":"image-flip-horizontal"},{"name":"Image filter","icon":"image-filter"},{"name":"Undo","icon":"undo"},{"name":"Redo","icon":"redo"},{"name":"Editor bold","icon":"editor-bold"},{"name":"Editor italic","icon":"editor-italic"},{"name":"Editor ul","icon":"editor-ul"},{"name":"Editor ol","icon":"editor-ol"},{"name":"Editor quote","icon":"editor-quote"},{"name":"Editor align left","icon":"editor-alignleft"},{"name":"Editor align center","icon":"editor-aligncenter"},{"name":"Editor align right","icon":"editor-alignright"},{"name":"Editor insert more","icon":"editor-insertmore"},{"name":"Editor spell check","icon":"editor-spellcheck"},{"name":"Editor expand","icon":"editor-expand"},{"name":"Editor contract","icon":"editor-contract"},{"name":"Editor kitchensink","icon":"editor-kitchensink"},{"name":"Editor underline","icon":"editor-underline"},{"name":"Editor justify","icon":"editor-justify"},{"name":"Editor text color","icon":"editor-textcolor"},{"name":"Editor paste word","icon":"editor-paste-word"},{"name":"Editor paste text","icon":"editor-paste-text"},{"name":"Editor remove formatting","icon":"editor-removeformatting"},{"name":"Editor video","icon":"editor-video"},{"name":"Editor customchar","icon":"editor-customchar"},{"name":"Editor outdent","icon":"editor-outdent"},{"name":"Editor indent","icon":"editor-indent"},{"name":"Editor help","icon":"editor-help"},{"name":"Editor strike through","icon":"editor-strikethrough"},{"name":"Editor unlink","icon":"editor-unlink"},{"name":"Editor Rtl","icon":"editor-rtl"},{"name":"Editor break","icon":"editor-break"},{"name":"Editor code","icon":"editor-code"},{"name":"Editor code duplicate","icon":"editor-code-duplicate"},{"name":"Editor paragraph","icon":"editor-paragraph"},{"name":"Editor table","icon":"editor-table"},{"name":"Align left","icon":"align-left"},{"name":"Align right","icon":"align-right"},{"name":"Align center","icon":"align-center"},{"name":"Align none","icon":"align-none"},{"name":"Lock","icon":"lock"},{"name":"Lock duplicate","icon":"lock-duplicate"},{"name":"Unlock","icon":"unlock"},{"name":"Calendar","icon":"calendar"},{"name":"Calendar alt","icon":"calendar-alt"},{"name":"Visibility","icon":"visibility"},{"name":"Hidden","icon":"hidden"},{"name":"Post status","icon":"post-status"},{"name":"Edit","icon":"edit"},{"name":"Edit large","icon":"edit-large"},{"name":"Sticky","icon":"sticky"},{"name":"External","icon":"external"},{"name":"Arrow up","icon":"arrow-up"},{"name":"Arrow up duplicate","icon":"arrow-up-duplicate"},{"name":"Arrow down","icon":"arrow-down"},{"name":"Arrow left","icon":"arrow-left"},{"name":"Arrow right","icon":"arrow-right"},{"name":"Arrow up alt","icon":"arrow-up-alt"},{"name":"Arrow down alt","icon":"arrow-down-alt"},{"name":"Arrow left alt","icon":"arrow-left-alt"},{"name":"Arrow right alt","icon":"arrow-right-alt"},{"name":"Arrow up alt2","icon":"arrow-up-alt2"},{"name":"Arrow down alt2","icon":"arrow-down-alt2"},{"name":"Arrow left alt2","icon":"arrow-left-alt2"},{"name":"Arrow right alt2","icon":"arrow-right-alt2"},{"name":"Left right","icon":"leftright"},{"name":"Sort","icon":"sort"},{"name":"List view","icon":"list-view"},{"name":"Excerpt view","icon":"excerpt-view"},{"name":"Grid view","icon":"grid-view"},{"name":"Move","icon":"move"},{"name":"Hammer","icon":"hammer"},{"name":"Art","icon":"art"},{"name":"Migrate","icon":"migrate"},{"name":"Performance","icon":"performance"},{"name":"Universal access","icon":"universal-access"},{"name":"universal access alt","icon":"universal-access-alt"},{"name":"Tickets","icon":"tickets"},{"name":"Name tag","icon":"nametag"},{"name":"Clip board","icon":"clipboard"},{"name":"heart","icon":"heart"},{"name":"Mega phone","icon":"megaphone"},{"name":"Schedule","icon":"schedule"},{"name":"WordPress","icon":"wordpress"},{"name":"WordPress alt","icon":"wordpress-alt"},{"name":"Pressthis","icon":"pressthis"},{"name":"Update","icon":"update"},{"name":"Screen options","icon":"screenoptions"},{"name":"cart","icon":"cart"},{"name":"Feedback","icon":"feedback"},{"name":"Translation","icon":"translation"},{"name":"Tag","icon":"tag"},{"name":"Category","icon":"category"},{"name":"Archive","icon":"archive"},{"name":"Tag cloud","icon":"tagcloud"},{"name":"Text","icon":"text"},{"name":"Media archive","icon":"media-archive"},{"name":"Media audio","icon":"media-audio"},{"name":"Media code","icon":"media-code"},{"name":"Media Default","icon":"media-default"},{"name":"Media document","icon":"media-document"},{"name":"Media interactive","icon":"media-interactive"},{"name":"Media Spreadsheet","icon":"media-spreadsheet"},{"name":"Media text","icon":"media-text"},{"name":"Media video","icon":"media-video"},{"name":"Playlist audio","icon":"playlist-audio"},{"name":"Playlist video","icon":"playlist-video"},{"name":"Controls play","icon":"controls-play"},{"name":"Controls pause","icon":"controls-pause"},{"name":"Controls forward","icon":"controls-forward"},{"name":"Controls skip forward","icon":"controls-skipforward"},{"name":"Controls back","icon":"controls-back"},{"name":"controls skip back","icon":"controls-skipback"},{"name":"Controls repeat","icon":"controls-repeat"},{"name":"controls volume on","icon":"controls-volumeon"},{"name":"controls volume off","icon":"controls-volumeoff"},{"name":"Yes","icon":"yes"},{"name":"No","icon":"no"},{"name":"No alt","icon":"no-alt"},{"name":"Plus","icon":"plus"},{"name":"Plus alt","icon":"plus-alt"},{"name":"Plus alt2","icon":"plus-alt2"},{"name":"Minus","icon":"minus"},{"name":"Dismiss","icon":"dismiss"},{"name":"Marker","icon":"marker"},{"name":"Star filled","icon":"star-filled"},{"name":"Star half","icon":"star-half"},{"name":"Star empty","icon":"star-empty"},{"name":"Flag","icon":"flag"},{"name":"Info","icon":"info"},{"name":"Warning","icon":"warning"},{"name":"Share","icon":"share"},{"name":"Share1","icon":"share1"},{"name":"Share alt","icon":"share-alt"},{"name":"Share alt2","icon":"share-alt2"},{"name":"Twitter","icon":"twitter"},{"name":"Rss","icon":"rss"},{"name":"Email","icon":"email"},{"name":"Email alt","icon":"email-alt"},{"name":"Facebook","icon":"facebook"},{"name":"Facebook alt","icon":"facebook-alt"},{"name":"Networking","icon":"networking"},{"name":"google plus","icon":"googleplus"},{"name":"Location","icon":"location"},{"name":"Location alt","icon":"location-alt"},{"name":"Camera","icon":"camera"},{"name":"Images alt","icon":"images-alt"},{"name":"Images alt2","icon":"images-alt2"},{"name":"Video alt","icon":"video-alt"},{"name":"Video alt2","icon":"video-alt2"},{"name":"Video alt3","icon":"video-alt3"},{"name":"Vault","icon":"vault"},{"name":"Shield","icon":"shield"},{"name":"Shield alt","icon":"shield-alt"},{"name":"Sos","icon":"sos"},{"name":"Search","icon":"search"},{"name":"Slides","icon":"slides"},{"name":"Analytics","icon":"analytics"},{"name":"Chart pie","icon":"chart-pie"},{"name":"Chart bar","icon":"chart-bar"},{"name":"Chart line","icon":"chart-line"},{"name":"Chart area","icon":"chart-area"},{"name":"Groups","icon":"groups"},{"name":"Businessman","icon":"businessman"},{"name":"Id","icon":"id"},{"name":"Id alt","icon":"id-alt"},{"name":"Products","icon":"products"},{"name":"Awards","icon":"awards"},{"name":"Forms","icon":"forms"},{"name":"Testimonial","icon":"testimonial"},{"name":"Portfolio","icon":"portfolio"},{"name":"Book","icon":"book"},{"name":"Book alt","icon":"book-alt"},{"name":"Download","icon":"download"},{"name":"Upload","icon":"upload"},{"name":"Backup","icon":"backup"},{"name":"Clock","icon":"clock"},{"name":"Light bulb","icon":"lightbulb"},{"name":"Microphone","icon":"microphone"},{"name":"Desktop","icon":"desktop"},{"name":"Laptop","icon":"laptop"},{"name":"Tablet","icon":"tablet"},{"name":"Smartphone","icon":"smartphone"},{"name":"Phone","icon":"phone"},{"name":"Smiley","icon":"smiley"},{"name":"Index card","icon":"index-card"},{"name":"Carrot","icon":"carrot"},{"name":"Building","icon":"building"},{"name":"Store","icon":"store"},{"name":"Album","icon":"album"},{"name":"Palmtree","icon":"palmtree"},{"name":"Tickets alt","icon":"tickets-alt"},{"name":"Money","icon":"money"},{"name":"Thumbs up","icon":"thumbs-up"},{"name":"Thumbs down","icon":"thumbs-down"},{"name":"Layout","icon":"layout"},{"name":"Paper clip","icon":"paperclip"},{"name":"Email alt2","icon":"email-alt2"},{"name":"Menu alt","icon":"menu-alt"},{"name":"Trash","icon":"trash"},{"name":"Heading","icon":"heading"},{"name":"Insert","icon":"insert"},{"name":"Align full width","icon":"align-full-width"},{"name":"Button","icon":"button"},{"name":"Align wide","icon":"align-wide"},{"name":"Ellipsis","icon":"ellipsis"},{"name":"Buddicons activity","icon":"buddicons-activity"},{"name":"Buddicons buddy press logo","icon":"buddicons-buddypress-logo"},{"name":"Buddicons community","icon":"buddicons-community"},{"name":"Buddicons forums","icon":"buddicons-forums"},{"name":"Buddicons friends","icon":"buddicons-friends"},{"name":"Buddicons groups","icon":"buddicons-groups"},{"name":"Buddicons pm","icon":"buddicons-pm"},{"name":"Buddicons replies","icon":"buddicons-replies"},{"name":"Buddicons topics","icon":"buddicons-topics"},{"name":"Buddicons tracking","icon":"buddicons-tracking"},{"name":"Admin site alt","icon":"admin-site-alt"},{"name":"Admin site alt2","icon":"admin-site-alt2"},{"name":"Admin site alt3","icon":"admin-site-alt3"},{"name":"Rest api","icon":"rest-api"},{"name":"Yes alt","icon":"yes-alt"},{"name":"Buddicons bbpress logo","icon":"buddicons-bbpress-logo"},{"name":"Tide","icon":"tide"},{"name":"Editor ol rtl","icon":"editor-ol-rtl"},{"name":"Instagram","icon":"instagram"},{"name":"Business person","icon":"businessperson"},{"name":"Business woman","icon":"businesswoman"},{"name":"Color picker","icon":"color-picker"},{"name":"Camera alt","icon":"camera-alt"},{"name":"Editor ltr","icon":"editor-ltr"},{"name":"Cloud","icon":"cloud"},{"name":"Twitter alt","icon":"twitter-alt"},{"name":"Menu alt2","icon":"menu-alt2"},{"name":"Menu alt3","icon":"menu-alt3"},{"name":"Plugins checked","icon":"plugins-checked"},{"name":"Text page","icon":"text-page"},{"name":"Update alt","icon":"update-alt"},{"name":"Code standards","icon":"code-standards"},{"name":"Align pull left","icon":"align-pull-left"},{"name":"Align pull right","icon":"align-pull-right"},{"name":"Block default","icon":"block-default"},{"name":"Cloud saved","icon":"cloud-saved"},{"name":"Cloud upload","icon":"cloud-upload"},{"name":"Columns","icon":"columns"},{"name":"Cover image","icon":"cover-image"},{"name":"Embed audio","icon":"embed-audio"},{"name":"Embed generic","icon":"embed-generic"},{"name":"Embed photo","icon":"embed-photo"},{"name":"Embed post","icon":"embed-post"},{"name":"Embed video","icon":"embed-video"},{"name":"Exit","icon":"exit"},{"name":"HTML","icon":"html"},{"name":"Info outline","icon":"info-outline"},{"name":"Insert after","icon":"insert-after"},{"name":"Insert before","icon":"insert-before"},{"name":"Remove","icon":"remove"},{"name":"Shortcode","icon":"shortcode"},{"name":"Table col after","icon":"table-col-after"},{"name":"Table col before","icon":"table-col-before"},{"name":"Table col delete","icon":"table-col-delete"},{"name":"Table row after","icon":"table-row-after"},{"name":"Table row before","icon":"table-row-before"},{"name":"Table row delete","icon":"table-row-delete"},{"name":"Saved","icon":"saved"},{"name":"Airplane","icon":"airplane"},{"name":"Amazon","icon":"amazon"},{"name":"Bank","icon":"bank"},{"name":"Beer","icon":"beer"},{"name":"Bell","icon":"bell"},{"name":"Calculator","icon":"calculator"},{"name":"Coffee","icon":"coffee"},{"name":"Database add","icon":"database-add"},{"name":"Database export","icon":"database-export"},{"name":"Database import","icon":"database-import"},{"name":"Database remove","icon":"database-remove"},{"name":"Database view","icon":"database-view"},{"name":"Database","icon":"database"},{"name":"Drumstick","icon":"drumstick"},{"name":"Edit page","icon":"edit-page"},{"name":"Food","icon":"food"},{"name":"Full screen alt","icon":"fullscreen-alt"},{"name":"Full screen exit alt","icon":"fullscreen-exit-alt"},{"name":"Games","icon":"games"},{"name":"Google","icon":"google"},{"name":"Hourglass","icon":"hourglass"},{"name":"Linkedin","icon":"linkedin"},{"name":"Money alt","icon":"money-alt"},{"name":"Open folder","icon":"open-folder"},{"name":"PDF","icon":"pdf"},{"name":"Pets","icon":"pets"},{"name":"Pinterest","icon":"pinterest"},{"name":"Printer","icon":"printer"},{"name":"Privacy","icon":"privacy"},{"name":"Reddit","icon":"reddit"},{"name":"Spotify","icon":"spotify"},{"name":"Super hero alt","icon":"superhero-alt"},{"name":"Super hero","icon":"superhero"},{"name":"Twitch","icon":"twitch"},{"name":"Whatsapp","icon":"whatsapp"},{"name":"YouTube","icon":"youtube"},{"name":"Car","icon":"car"},{"name":"Podio","icon":"podio"},{"name":"Xing","icon":"xing"}],"fontawesome":[{"name":"Glass","icon":"glass","unicode":"f000","created":1,"categories":["Web Application Icons"]},{"name":"Music","icon":"music","unicode":"f001","created":1,"categories":["Web Application Icons"]},{"name":"Search","icon":"search","unicode":"f002","created":1,"categories":["Web Application Icons"]},{"name":"Envelope Outlined","icon":"envelope-o","unicode":"f003","created":1,"categories":["Web Application Icons"]},{"name":"Heart","icon":"heart","unicode":"f004","created":1,"categories":["Web Application Icons"]},{"name":"Star","icon":"star","unicode":"f005","created":1,"categories":["Web Application Icons"]},{"name":"Star Outlined","icon":"star-o","unicode":"f006","created":1,"categories":["Web Application Icons"]},{"name":"User","icon":"user","unicode":"f007","created":1,"categories":["Web Application Icons"]},{"name":"Film","icon":"film","unicode":"f008","created":1,"categories":["Web Application Icons"]},{"name":"th-large","icon":"th-large","unicode":"f009","created":1,"categories":["Text Editor Icons"]},{"name":"th","icon":"th","unicode":"f00a","created":1,"categories":["Text Editor Icons"]},{"name":"th-list","icon":"th-list","unicode":"f00b","created":1,"categories":["Text Editor Icons"]},{"name":"Check","icon":"check","unicode":"f00c","created":1,"categories":["Web Application Icons"]},{"name":"Times","icon":"times","unicode":"f00d","created":1,"categories":["Web Application Icons"]},{"name":"Search Plus","icon":"search-plus","unicode":"f00e","created":1,"categories":["Web Application Icons"]},{"name":"Search Minus","icon":"search-minus","unicode":"f010","created":1,"categories":["Web Application Icons"]},{"name":"Power Off","icon":"power-off","unicode":"f011","created":1,"categories":["Web Application Icons"]},{"name":"signal","icon":"signal","unicode":"f012","created":1,"categories":["Web Application Icons"]},{"name":"cog","icon":"cog","unicode":"f013","created":1,"aliases":["gear"],"categories":["Web Application Icons","Spinner Icons"]},{"name":"Trash Outlined","icon":"trash-o","unicode":"f014","created":1,"categories":["Web Application Icons"]},{"name":"home","icon":"home","unicode":"f015","created":1,"categories":["Web Application Icons"]},{"name":"File Outlined","icon":"file-o","unicode":"f016","created":1,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Clock Outlined","icon":"clock-o","unicode":"f017","created":1,"categories":["Web Application Icons"]},{"name":"road","icon":"road","unicode":"f018","created":1,"categories":["Web Application Icons"]},{"name":"Download","icon":"download","unicode":"f019","created":1,"categories":["Web Application Icons"]},{"name":"Arrow Circle Outlined Down","icon":"arrow-circle-o-down","unicode":"f01a","created":1,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Up","icon":"arrow-circle-o-up","unicode":"f01b","created":1,"categories":["Directional Icons"]},{"name":"inbox","icon":"inbox","unicode":"f01c","created":1,"categories":["Web Application Icons"]},{"name":"Play Circle Outlined","icon":"play-circle-o","unicode":"f01d","created":1,"categories":["Video Player Icons"]},{"name":"Repeat","icon":"repeat","unicode":"f01e","created":1,"aliases":["rotate-right"],"categories":["Text Editor Icons"]},{"name":"refresh","icon":"refresh","unicode":"f021","created":1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"list-alt","icon":"list-alt","unicode":"f022","created":1,"categories":["Text Editor Icons"]},{"name":"lock","icon":"lock","unicode":"f023","created":1,"categories":["Web Application Icons"]},{"name":"flag","icon":"flag","unicode":"f024","created":1,"categories":["Web Application Icons"]},{"name":"headphones","icon":"headphones","unicode":"f025","created":1,"categories":["Web Application Icons"]},{"name":"volume-off","icon":"volume-off","unicode":"f026","created":1,"categories":["Web Application Icons"]},{"name":"volume-down","icon":"volume-down","unicode":"f027","created":1,"categories":["Web Application Icons"]},{"name":"volume-up","icon":"volume-up","unicode":"f028","created":1,"categories":["Web Application Icons"]},{"name":"qrcode","icon":"qrcode","unicode":"f029","created":1,"categories":["Web Application Icons"]},{"name":"barcode","icon":"barcode","unicode":"f02a","created":1,"categories":["Web Application Icons"]},{"name":"tag","icon":"tag","unicode":"f02b","created":1,"categories":["Web Application Icons"]},{"name":"tags","icon":"tags","unicode":"f02c","created":1,"categories":["Web Application Icons"]},{"name":"book","icon":"book","unicode":"f02d","created":1,"categories":["Web Application Icons"]},{"name":"bookmark","icon":"bookmark","unicode":"f02e","created":1,"categories":["Web Application Icons"]},{"name":"print","icon":"print","unicode":"f02f","created":1,"categories":["Web Application Icons"]},{"name":"camera","icon":"camera","unicode":"f030","created":1,"categories":["Web Application Icons"]},{"name":"font","icon":"font","unicode":"f031","created":1,"categories":["Text Editor Icons"]},{"name":"bold","icon":"bold","unicode":"f032","created":1,"categories":["Text Editor Icons"]},{"name":"italic","icon":"italic","unicode":"f033","created":1,"categories":["Text Editor Icons"]},{"name":"text-height","icon":"text-height","unicode":"f034","created":1,"categories":["Text Editor Icons"]},{"name":"text-width","icon":"text-width","unicode":"f035","created":1,"categories":["Text Editor Icons"]},{"name":"align-left","icon":"align-left","unicode":"f036","created":1,"categories":["Text Editor Icons"]},{"name":"align-center","icon":"align-center","unicode":"f037","created":1,"categories":["Text Editor Icons"]},{"name":"align-right","icon":"align-right","unicode":"f038","created":1,"categories":["Text Editor Icons"]},{"name":"align-justify","icon":"align-justify","unicode":"f039","created":1,"categories":["Text Editor Icons"]},{"name":"list","icon":"list","unicode":"f03a","created":1,"categories":["Text Editor Icons"]},{"name":"Outdent","icon":"outdent","unicode":"f03b","created":1,"aliases":["dedent"],"categories":["Text Editor Icons"]},{"name":"Indent","icon":"indent","unicode":"f03c","created":1,"categories":["Text Editor Icons"]},{"name":"Video Camera","icon":"video-camera","unicode":"f03d","created":1,"categories":["Web Application Icons"]},{"name":"Picture Outlined","icon":"picture-o","unicode":"f03e","created":1,"aliases":["photo","image"],"categories":["Web Application Icons"]},{"name":"pencil","icon":"pencil","unicode":"f040","created":1,"categories":["Web Application Icons"]},{"name":"map-marker","icon":"map-marker","unicode":"f041","created":1,"categories":["Web Application Icons"]},{"name":"adjust","icon":"adjust","unicode":"f042","created":1,"categories":["Web Application Icons"]},{"name":"tint","icon":"tint","unicode":"f043","created":1,"categories":["Web Application Icons"]},{"name":"Pencil Square Outlined","icon":"pencil-square-o","unicode":"f044","created":1,"aliases":["edit"],"categories":["Web Application Icons"]},{"name":"Share Square Outlined","icon":"share-square-o","unicode":"f045","created":1,"categories":["Web Application Icons"]},{"name":"Check Square Outlined","icon":"check-square-o","unicode":"f046","created":1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Arrows","icon":"arrows","unicode":"f047","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"step-backward","icon":"step-backward","unicode":"f048","created":1,"categories":["Video Player Icons"]},{"name":"fast-backward","icon":"fast-backward","unicode":"f049","created":1,"categories":["Video Player Icons"]},{"name":"backward","icon":"backward","unicode":"f04a","created":1,"categories":["Video Player Icons"]},{"name":"play","icon":"play","unicode":"f04b","created":1,"categories":["Video Player Icons"]},{"name":"pause","icon":"pause","unicode":"f04c","created":1,"categories":["Video Player Icons"]},{"name":"stop","icon":"stop","unicode":"f04d","created":1,"categories":["Video Player Icons"]},{"name":"forward","icon":"forward","unicode":"f04e","created":1,"categories":["Video Player Icons"]},{"name":"fast-forward","icon":"fast-forward","unicode":"f050","created":1,"categories":["Video Player Icons"]},{"name":"step-forward","icon":"step-forward","unicode":"f051","created":1,"categories":["Video Player Icons"]},{"name":"eject","icon":"eject","unicode":"f052","created":1,"categories":["Video Player Icons"]},{"name":"chevron-left","icon":"chevron-left","unicode":"f053","created":1,"categories":["Directional Icons"]},{"name":"chevron-right","icon":"chevron-right","unicode":"f054","created":1,"categories":["Directional Icons"]},{"name":"Plus Circle","icon":"plus-circle","unicode":"f055","created":1,"categories":["Web Application Icons"]},{"name":"Minus Circle","icon":"minus-circle","unicode":"f056","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle","icon":"times-circle","unicode":"f057","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle","icon":"check-circle","unicode":"f058","created":1,"categories":["Web Application Icons"]},{"name":"Question Circle","icon":"question-circle","unicode":"f059","created":1,"categories":["Web Application Icons"]},{"name":"Info Circle","icon":"info-circle","unicode":"f05a","created":1,"categories":["Web Application Icons"]},{"name":"Crosshairs","icon":"crosshairs","unicode":"f05b","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle Outlined","icon":"times-circle-o","unicode":"f05c","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle Outlined","icon":"check-circle-o","unicode":"f05d","created":1,"categories":["Web Application Icons"]},{"name":"ban","icon":"ban","unicode":"f05e","created":1,"categories":["Web Application Icons"]},{"name":"arrow-left","icon":"arrow-left","unicode":"f060","created":1,"categories":["Directional Icons"]},{"name":"arrow-right","icon":"arrow-right","unicode":"f061","created":1,"categories":["Directional Icons"]},{"name":"arrow-up","icon":"arrow-up","unicode":"f062","created":1,"categories":["Directional Icons"]},{"name":"arrow-down","icon":"arrow-down","unicode":"f063","created":1,"categories":["Directional Icons"]},{"name":"Share","icon":"share","unicode":"f064","created":1,"aliases":["mail-forward"],"categories":["Web Application Icons"]},{"name":"Expand","icon":"expand","unicode":"f065","created":1,"categories":["Video Player Icons"]},{"name":"Compress","icon":"compress","unicode":"f066","created":1,"categories":["Video Player Icons"]},{"name":"plus","icon":"plus","unicode":"f067","created":1,"categories":["Web Application Icons"]},{"name":"minus","icon":"minus","unicode":"f068","created":1,"categories":["Web Application Icons"]},{"name":"asterisk","icon":"asterisk","unicode":"f069","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Circle","icon":"exclamation-circle","unicode":"f06a","created":1,"categories":["Web Application Icons"]},{"name":"gift","icon":"gift","unicode":"f06b","created":1,"categories":["Web Application Icons"]},{"name":"leaf","icon":"leaf","unicode":"f06c","created":1,"categories":["Web Application Icons"]},{"name":"fire","icon":"fire","unicode":"f06d","created":1,"categories":["Web Application Icons"]},{"name":"Eye","icon":"eye","unicode":"f06e","created":1,"categories":["Web Application Icons"]},{"name":"Eye Slash","icon":"eye-slash","unicode":"f070","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Triangle","icon":"exclamation-triangle","unicode":"f071","created":1,"aliases":["warning"],"categories":["Web Application Icons"]},{"name":"plane","icon":"plane","unicode":"f072","created":1,"categories":["Web Application Icons"]},{"name":"calendar","icon":"calendar","unicode":"f073","created":1,"categories":["Web Application Icons"]},{"name":"random","icon":"random","unicode":"f074","created":1,"categories":["Web Application Icons"]},{"name":"comment","icon":"comment","unicode":"f075","created":1,"categories":["Web Application Icons"]},{"name":"magnet","icon":"magnet","unicode":"f076","created":1,"categories":["Web Application Icons"]},{"name":"chevron-up","icon":"chevron-up","unicode":"f077","created":1,"categories":["Directional Icons"]},{"name":"chevron-down","icon":"chevron-down","unicode":"f078","created":1,"categories":["Directional Icons"]},{"name":"retweet","icon":"retweet","unicode":"f079","created":1,"categories":["Web Application Icons"]},{"name":"shopping-cart","icon":"shopping-cart","unicode":"f07a","created":1,"categories":["Web Application Icons"]},{"name":"Folder","icon":"folder","unicode":"f07b","created":1,"categories":["Web Application Icons"]},{"name":"Folder Open","icon":"folder-open","unicode":"f07c","created":1,"categories":["Web Application Icons"]},{"name":"Arrows Vertical","icon":"arrows-v","unicode":"f07d","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Arrows Horizontal","icon":"arrows-h","unicode":"f07e","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Bar Chart Outlined","icon":"bar-chart-o","unicode":"f080","created":1,"categories":["Web Application Icons"]},{"name":"Twitter Square","icon":"twitter-square","unicode":"f081","created":1,"categories":["Brand Icons"]},{"name":"Facebook Square","icon":"facebook-square","unicode":"f082","created":1,"categories":["Brand Icons"]},{"name":"camera-retro","icon":"camera-retro","unicode":"f083","created":1,"categories":["Web Application Icons"]},{"name":"key","icon":"key","unicode":"f084","created":1,"categories":["Web Application Icons"]},{"name":"cogs","icon":"cogs","unicode":"f085","created":1,"aliases":["gears"],"categories":["Web Application Icons"]},{"name":"comments","icon":"comments","unicode":"f086","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Up Outlined","icon":"thumbs-o-up","unicode":"f087","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Down Outlined","icon":"thumbs-o-down","unicode":"f088","created":1,"categories":["Web Application Icons"]},{"name":"star-half","icon":"star-half","unicode":"f089","created":1,"categories":["Web Application Icons"]},{"name":"Heart Outlined","icon":"heart-o","unicode":"f08a","created":1,"categories":["Web Application Icons"]},{"name":"Sign Out","icon":"sign-out","unicode":"f08b","created":1,"categories":["Web Application Icons"]},{"name":"LinkedIn Square","icon":"linkedin-square","unicode":"f08c","created":1,"categories":["Brand Icons"]},{"name":"Thumb Tack","icon":"thumb-tack","unicode":"f08d","created":1,"categories":["Web Application Icons"]},{"name":"External Link","icon":"external-link","unicode":"f08e","created":1,"categories":["Web Application Icons"]},{"name":"Sign In","icon":"sign-in","unicode":"f090","created":1,"categories":["Web Application Icons"]},{"name":"trophy","icon":"trophy","unicode":"f091","created":1,"categories":["Web Application Icons"]},{"name":"GitHub Square","icon":"github-square","unicode":"f092","created":1,"categories":["Brand Icons"]},{"name":"Upload","icon":"upload","unicode":"f093","created":1,"categories":["Web Application Icons"]},{"name":"Lemon Outlined","icon":"lemon-o","unicode":"f094","created":1,"categories":["Web Application Icons"]},{"name":"Phone","icon":"phone","unicode":"f095","created":2,"categories":["Web Application Icons"]},{"name":"Square Outlined","icon":"square-o","unicode":"f096","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bookmark Outlined","icon":"bookmark-o","unicode":"f097","created":2,"categories":["Web Application Icons"]},{"name":"Phone Square","icon":"phone-square","unicode":"f098","created":2,"categories":["Web Application Icons"]},{"name":"Twitter","icon":"twitter","unicode":"f099","created":2,"categories":["Brand Icons"]},{"name":"Facebook","icon":"facebook","unicode":"f09a","created":2,"categories":["Brand Icons"]},{"name":"GitHub","icon":"github","unicode":"f09b","created":2,"categories":["Brand Icons"]},{"name":"unlock","icon":"unlock","unicode":"f09c","created":2,"categories":["Web Application Icons"]},{"name":"credit-card","icon":"credit-card","unicode":"f09d","created":2,"categories":["Web Application Icons"]},{"name":"rss","icon":"rss","unicode":"f09e","created":2,"categories":["Web Application Icons"]},{"name":"HDD","icon":"hdd-o","unicode":"f0a0","created":2,"categories":["Web Application Icons"]},{"name":"bullhorn","icon":"bullhorn","unicode":"f0a1","created":2,"categories":["Web Application Icons"]},{"name":"bell","icon":"bell","unicode":"f0f3","created":2,"categories":["Web Application Icons"]},{"name":"certificate","icon":"certificate","unicode":"f0a3","created":2,"categories":["Web Application Icons"]},{"name":"Hand Outlined Right","icon":"hand-o-right","unicode":"f0a4","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Left","icon":"hand-o-left","unicode":"f0a5","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Up","icon":"hand-o-up","unicode":"f0a6","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Down","icon":"hand-o-down","unicode":"f0a7","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Left","icon":"arrow-circle-left","unicode":"f0a8","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Right","icon":"arrow-circle-right","unicode":"f0a9","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Up","icon":"arrow-circle-up","unicode":"f0aa","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Down","icon":"arrow-circle-down","unicode":"f0ab","created":2,"categories":["Directional Icons"]},{"name":"Globe","icon":"globe","unicode":"f0ac","created":2,"categories":["Web Application Icons"]},{"name":"Wrench","icon":"wrench","unicode":"f0ad","created":2,"categories":["Web Application Icons"]},{"name":"Tasks","icon":"tasks","unicode":"f0ae","created":2,"categories":["Web Application Icons"]},{"name":"Filter","icon":"filter","unicode":"f0b0","created":2,"categories":["Web Application Icons"]},{"name":"Briefcase","icon":"briefcase","unicode":"f0b1","created":2,"categories":["Web Application Icons"]},{"name":"Arrows Alt","icon":"arrows-alt","unicode":"f0b2","created":2,"categories":["Video Player Icons","Directional Icons"]},{"name":"Users","icon":"users","unicode":"f0c0","created":2,"aliases":["group"],"categories":["Web Application Icons"]},{"name":"Link","icon":"link","unicode":"f0c1","created":2,"aliases":["chain"],"categories":["Text Editor Icons"]},{"name":"Cloud","icon":"cloud","unicode":"f0c2","created":2,"categories":["Web Application Icons"]},{"name":"Flask","icon":"flask","unicode":"f0c3","created":2,"categories":["Web Application Icons"]},{"name":"Scissors","icon":"scissors","unicode":"f0c4","created":2,"aliases":["cut"],"categories":["Text Editor Icons"]},{"name":"Files Outlined","icon":"files-o","unicode":"f0c5","created":2,"aliases":["copy"],"categories":["Text Editor Icons"]},{"name":"Paperclip","icon":"paperclip","unicode":"f0c6","created":2,"categories":["Text Editor Icons"]},{"name":"Floppy Outlined","icon":"floppy-o","unicode":"f0c7","created":2,"aliases":["save"],"categories":["Text Editor Icons"]},{"name":"Square","icon":"square","unicode":"f0c8","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bars","icon":"bars","unicode":"f0c9","created":2,"aliases":["navicon","reorder"],"categories":["Web Application Icons"]},{"name":"list-ul","icon":"list-ul","unicode":"f0ca","created":2,"categories":["Text Editor Icons"]},{"name":"list-ol","icon":"list-ol","unicode":"f0cb","created":2,"categories":["Text Editor Icons"]},{"name":"Strikethrough","icon":"strikethrough","unicode":"f0cc","created":2,"categories":["Text Editor Icons"]},{"name":"Underline","icon":"underline","unicode":"f0cd","created":2,"categories":["Text Editor Icons"]},{"name":"table","icon":"table","unicode":"f0ce","created":2,"categories":["Text Editor Icons"]},{"name":"magic","icon":"magic","unicode":"f0d0","created":2,"categories":["Web Application Icons"]},{"name":"truck","icon":"truck","unicode":"f0d1","created":2,"categories":["Web Application Icons"]},{"name":"Pinterest","icon":"pinterest","unicode":"f0d2","created":2,"categories":["Brand Icons"]},{"name":"Pinterest Square","icon":"pinterest-square","unicode":"f0d3","created":2,"categories":["Brand Icons"]},{"name":"Google Plus Square","icon":"google-plus-square","unicode":"f0d4","created":2,"categories":["Brand Icons"]},{"name":"Google Plus","icon":"google-plus","unicode":"f0d5","created":2,"categories":["Brand Icons"]},{"name":"Money","icon":"money","unicode":"f0d6","created":2,"categories":["Web Application Icons","Currency Icons"]},{"name":"Caret Down","icon":"caret-down","unicode":"f0d7","created":2,"categories":["Directional Icons"]},{"name":"Caret Up","icon":"caret-up","unicode":"f0d8","created":2,"categories":["Directional Icons"]},{"name":"Caret Left","icon":"caret-left","unicode":"f0d9","created":2,"categories":["Directional Icons"]},{"name":"Caret Right","icon":"caret-right","unicode":"f0da","created":2,"categories":["Directional Icons"]},{"name":"Columns","icon":"columns","unicode":"f0db","created":2,"categories":["Text Editor Icons"]},{"name":"Sort","icon":"sort","unicode":"f0dc","created":2,"aliases":["unsorted"],"categories":["Web Application Icons"]},{"name":"Sort Descending","icon":"sort-desc","unicode":"f0dd","created":2,"aliases":["sort-down"],"categories":["Web Application Icons"]},{"name":"Sort Ascending","icon":"sort-asc","unicode":"f0de","created":2,"aliases":["sort-up"],"categories":["Web Application Icons"]},{"name":"Envelope","icon":"envelope","unicode":"f0e0","created":2,"categories":["Web Application Icons"]},{"name":"LinkedIn","icon":"linkedin","unicode":"f0e1","created":2,"categories":["Brand Icons"]},{"name":"Undo","icon":"undo","unicode":"f0e2","created":2,"aliases":["rotate-left"],"categories":["Text Editor Icons"]},{"name":"Gavel","icon":"gavel","unicode":"f0e3","created":2,"aliases":["legal"],"categories":["Web Application Icons"]},{"name":"Tachometer","icon":"tachometer","unicode":"f0e4","created":2,"aliases":["dashboard"],"categories":["Web Application Icons"]},{"name":"comment-o","icon":"comment-o","unicode":"f0e5","created":2,"categories":["Web Application Icons"]},{"name":"comments-o","icon":"comments-o","unicode":"f0e6","created":2,"categories":["Web Application Icons"]},{"name":"Lightning Bolt","icon":"bolt","unicode":"f0e7","created":2,"aliases":["flash"],"categories":["Web Application Icons"]},{"name":"Sitemap","icon":"sitemap","unicode":"f0e8","created":2,"categories":["Web Application Icons"]},{"name":"Umbrella","icon":"umbrella","unicode":"f0e9","created":2,"categories":["Web Application Icons"]},{"name":"Clipboard","icon":"clipboard","unicode":"f0ea","created":2,"aliases":["paste"],"categories":["Text Editor Icons"]},{"name":"Lightbulb Outlined","icon":"lightbulb-o","unicode":"f0eb","created":3,"categories":["Web Application Icons"]},{"name":"Exchange","icon":"exchange","unicode":"f0ec","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Download","icon":"cloud-download","unicode":"f0ed","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Upload","icon":"cloud-upload","unicode":"f0ee","created":3,"categories":["Web Application Icons"]},{"name":"user-md","icon":"user-md","unicode":"f0f0","created":2,"categories":["Medical Icons"]},{"name":"Stethoscope","icon":"stethoscope","unicode":"f0f1","created":3,"categories":["Medical Icons"]},{"name":"Suitcase","icon":"suitcase","unicode":"f0f2","created":3,"categories":["Web Application Icons"]},{"name":"Bell Outlined","icon":"bell-o","unicode":"f0a2","created":3,"categories":["Web Application Icons"]},{"name":"Coffee","icon":"coffee","unicode":"f0f4","created":3,"categories":["Web Application Icons"]},{"name":"Cutlery","icon":"cutlery","unicode":"f0f5","created":3,"categories":["Web Application Icons"]},{"name":"File Text Outlined","icon":"file-text-o","unicode":"f0f6","created":3,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Building Outlined","icon":"building-o","unicode":"f0f7","created":3,"categories":["Web Application Icons"]},{"name":"hospital Outlined","icon":"hospital-o","unicode":"f0f8","created":3,"categories":["Medical Icons"]},{"name":"ambulance","icon":"ambulance","unicode":"f0f9","created":3,"categories":["Medical Icons"]},{"name":"medkit","icon":"medkit","unicode":"f0fa","created":3,"categories":["Medical Icons"]},{"name":"fighter-jet","icon":"fighter-jet","unicode":"f0fb","created":3,"categories":["Web Application Icons"]},{"name":"beer","icon":"beer","unicode":"f0fc","created":3,"categories":["Web Application Icons"]},{"name":"H Square","icon":"h-square","unicode":"f0fd","created":3,"categories":["Medical Icons"]},{"name":"Plus Square","icon":"plus-square","unicode":"f0fe","created":3,"categories":["Medical Icons","Web Application Icons","Form Control Icons"]},{"name":"Angle Double Left","icon":"angle-double-left","unicode":"f100","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Right","icon":"angle-double-right","unicode":"f101","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Up","icon":"angle-double-up","unicode":"f102","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Down","icon":"angle-double-down","unicode":"f103","created":3,"categories":["Directional Icons"]},{"name":"angle-left","icon":"angle-left","unicode":"f104","created":3,"categories":["Directional Icons"]},{"name":"angle-right","icon":"angle-right","unicode":"f105","created":3,"categories":["Directional Icons"]},{"name":"angle-up","icon":"angle-up","unicode":"f106","created":3,"categories":["Directional Icons"]},{"name":"angle-down","icon":"angle-down","unicode":"f107","created":3,"categories":["Directional Icons"]},{"name":"Desktop","icon":"desktop","unicode":"f108","created":3,"categories":["Web Application Icons"]},{"name":"Laptop","icon":"laptop","unicode":"f109","created":3,"categories":["Web Application Icons"]},{"name":"tablet","icon":"tablet","unicode":"f10a","created":3,"categories":["Web Application Icons"]},{"name":"Mobile Phone","icon":"mobile","unicode":"f10b","created":3,"aliases":["mobile-phone"],"categories":["Web Application Icons"]},{"name":"Circle Outlined","icon":"circle-o","unicode":"f10c","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"quote-left","icon":"quote-left","unicode":"f10d","created":3,"categories":["Web Application Icons"]},{"name":"quote-right","icon":"quote-right","unicode":"f10e","created":3,"categories":["Web Application Icons"]},{"name":"Spinner","icon":"spinner","unicode":"f110","created":3,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Circle","icon":"circle","unicode":"f111","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Reply","icon":"reply","unicode":"f112","created":3,"aliases":["mail-reply"],"categories":["Web Application Icons"]},{"name":"GitHub Alt","icon":"github-alt","unicode":"f113","created":3,"categories":["Brand Icons"]},{"name":"Folder Outlined","icon":"folder-o","unicode":"f114","created":3,"categories":["Web Application Icons"]},{"name":"Folder Open Outlined","icon":"folder-open-o","unicode":"f115","created":3,"categories":["Web Application Icons"]},{"name":"Smile Outlined","icon":"smile-o","unicode":"f118","created":3.1,"categories":["Web Application Icons"]},{"name":"Frown Outlined","icon":"frown-o","unicode":"f119","created":3.1,"categories":["Web Application Icons"]},{"name":"Meh Outlined","icon":"meh-o","unicode":"f11a","created":3.1,"categories":["Web Application Icons"]},{"name":"Gamepad","icon":"gamepad","unicode":"f11b","created":3.1,"categories":["Web Application Icons"]},{"name":"Keyboard Outlined","icon":"keyboard-o","unicode":"f11c","created":3.1,"categories":["Web Application Icons"]},{"name":"Flag Outlined","icon":"flag-o","unicode":"f11d","created":3.1,"categories":["Web Application Icons"]},{"name":"flag-checkered","icon":"flag-checkered","unicode":"f11e","created":3.1,"categories":["Web Application Icons"]},{"name":"Terminal","icon":"terminal","unicode":"f120","created":3.1,"categories":["Web Application Icons"]},{"name":"Code","icon":"code","unicode":"f121","created":3.1,"categories":["Web Application Icons"]},{"name":"reply-all","icon":"reply-all","unicode":"f122","created":3.1,"aliases":["mail-reply-all"],"categories":["Web Application Icons"]},{"name":"Star Half Outlined","icon":"star-half-o","unicode":"f123","created":3.1,"aliases":["star-half-empty","star-half-full"],"categories":["Web Application Icons"]},{"name":"location-arrow","icon":"location-arrow","unicode":"f124","created":3.1,"categories":["Web Application Icons"]},{"name":"crop","icon":"crop","unicode":"f125","created":3.1,"categories":["Web Application Icons"]},{"name":"code-fork","icon":"code-fork","unicode":"f126","created":3.1,"categories":["Web Application Icons"]},{"name":"Chain Broken","icon":"chain-broken","unicode":"f127","created":3.1,"aliases":["unlink"],"categories":["Text Editor Icons"]},{"name":"Question","icon":"question","unicode":"f128","created":3.1,"categories":["Web Application Icons"]},{"name":"Info","icon":"info","unicode":"f129","created":3.1,"categories":["Web Application Icons"]},{"name":"exclamation","icon":"exclamation","unicode":"f12a","created":3.1,"categories":["Web Application Icons"]},{"name":"superscript","icon":"superscript","unicode":"f12b","created":3.1,"categories":["Text Editor Icons"]},{"name":"subscript","icon":"subscript","unicode":"f12c","created":3.1,"categories":["Text Editor Icons"]},{"name":"eraser","icon":"eraser","unicode":"f12d","created":3.1,"categories":["Text Editor Icons","Web Application Icons"]},{"name":"Puzzle Piece","icon":"puzzle-piece","unicode":"f12e","created":3.1,"categories":["Web Application Icons"]},{"name":"microphone","icon":"microphone","unicode":"f130","created":3.1,"categories":["Web Application Icons"]},{"name":"Microphone Slash","icon":"microphone-slash","unicode":"f131","created":3.1,"categories":["Web Application Icons"]},{"name":"shield","icon":"shield","unicode":"f132","created":3.1,"categories":["Web Application Icons"]},{"name":"calendar-o","icon":"calendar-o","unicode":"f133","created":3.1,"categories":["Web Application Icons"]},{"name":"fire-extinguisher","icon":"fire-extinguisher","unicode":"f134","created":3.1,"categories":["Web Application Icons"]},{"name":"rocket","icon":"rocket","unicode":"f135","created":3.1,"categories":["Web Application Icons"]},{"name":"MaxCDN","icon":"maxcdn","unicode":"f136","created":3.1,"categories":["Brand Icons"]},{"name":"Chevron Circle Left","icon":"chevron-circle-left","unicode":"f137","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Right","icon":"chevron-circle-right","unicode":"f138","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Up","icon":"chevron-circle-up","unicode":"f139","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Down","icon":"chevron-circle-down","unicode":"f13a","created":3.1,"categories":["Directional Icons"]},{"name":"HTML 5 Logo","icon":"html5","unicode":"f13b","created":3.1,"categories":["Brand Icons"]},{"name":"CSS 3 Logo","icon":"css3","unicode":"f13c","created":3.1,"categories":["Brand Icons"]},{"name":"Anchor","icon":"anchor","unicode":"f13d","created":3.1,"categories":["Web Application Icons"]},{"name":"Unlock Alt","icon":"unlock-alt","unicode":"f13e","created":3.1,"categories":["Web Application Icons"]},{"name":"Bullseye","icon":"bullseye","unicode":"f140","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Horizontal","icon":"ellipsis-h","unicode":"f141","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Vertical","icon":"ellipsis-v","unicode":"f142","created":3.1,"categories":["Web Application Icons"]},{"name":"RSS Square","icon":"rss-square","unicode":"f143","created":3.1,"categories":["Web Application Icons"]},{"name":"Play Circle","icon":"play-circle","unicode":"f144","created":3.1,"categories":["Video Player Icons"]},{"name":"Ticket","icon":"ticket","unicode":"f145","created":3.1,"categories":["Web Application Icons"]},{"name":"Minus Square","icon":"minus-square","unicode":"f146","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Minus Square Outlined","icon":"minus-square-o","unicode":"f147","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Level Up","icon":"level-up","unicode":"f148","created":3.1,"categories":["Web Application Icons"]},{"name":"Level Down","icon":"level-down","unicode":"f149","created":3.1,"categories":["Web Application Icons"]},{"name":"Check Square","icon":"check-square","unicode":"f14a","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Pencil Square","icon":"pencil-square","unicode":"f14b","created":3.1,"categories":["Web Application Icons"]},{"name":"External Link Square","icon":"external-link-square","unicode":"f14c","created":3.1,"categories":["Web Application Icons"]},{"name":"Share Square","icon":"share-square","unicode":"f14d","created":3.1,"categories":["Web Application Icons"]},{"name":"Compass","icon":"compass","unicode":"f14e","created":3.2,"categories":["Web Application Icons"]},{"name":"Caret Square Outlined Down","icon":"caret-square-o-down","unicode":"f150","created":3.2,"aliases":["toggle-down"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Up","icon":"caret-square-o-up","unicode":"f151","created":3.2,"aliases":["toggle-up"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Right","icon":"caret-square-o-right","unicode":"f152","created":3.2,"aliases":["toggle-right"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Euro (EUR)","icon":"eur","unicode":"f153","created":3.2,"aliases":["euro"],"categories":["Currency Icons"]},{"name":"GBP","icon":"gbp","unicode":"f154","created":3.2,"categories":["Currency Icons"]},{"name":"US Dollar","icon":"usd","unicode":"f155","created":3.2,"aliases":["dollar"],"categories":["Currency Icons"]},{"name":"Indian Rupee (INR)","icon":"inr","unicode":"f156","created":3.2,"aliases":["rupee"],"categories":["Currency Icons"]},{"name":"Japanese Yen (JPY)","icon":"jpy","unicode":"f157","created":3.2,"aliases":["cny","rmb","yen"],"categories":["Currency Icons"]},{"name":"Russian Ruble (RUB)","icon":"rub","unicode":"f158","created":4,"aliases":["ruble","rouble"],"categories":["Currency Icons"]},{"name":"Korean Won (KRW)","icon":"krw","unicode":"f159","created":3.2,"aliases":["won"],"categories":["Currency Icons"]},{"name":"Bitcoin (BTC)","icon":"btc","unicode":"f15a","created":3.2,"aliases":["bitcoin"],"categories":["Currency Icons","Brand Icons"]},{"name":"File","icon":"file","unicode":"f15b","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"File Text","icon":"file-text","unicode":"f15c","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Sort Alpha Ascending","icon":"sort-alpha-asc","unicode":"f15d","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Alpha Descending","icon":"sort-alpha-desc","unicode":"f15e","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Ascending","icon":"sort-amount-asc","unicode":"f160","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Descending","icon":"sort-amount-desc","unicode":"f161","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Ascending","icon":"sort-numeric-asc","unicode":"f162","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Descending","icon":"sort-numeric-desc","unicode":"f163","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-up","icon":"thumbs-up","unicode":"f164","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-down","icon":"thumbs-down","unicode":"f165","created":3.2,"categories":["Web Application Icons"]},{"name":"YouTube Square","icon":"youtube-square","unicode":"f166","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube","icon":"youtube","unicode":"f167","created":3.2,"categories":["Brand Icons"]},{"name":"Xing","icon":"xing","unicode":"f168","created":3.2,"categories":["Brand Icons"]},{"name":"Xing Square","icon":"xing-square","unicode":"f169","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube Play","icon":"youtube-play","unicode":"f16a","created":3.2,"categories":["Brand Icons","Video Player Icons"]},{"name":"Dropbox","icon":"dropbox","unicode":"f16b","created":3.2,"categories":["Brand Icons"]},{"name":"Stack Overflow","icon":"stack-overflow","unicode":"f16c","created":3.2,"categories":["Brand Icons"]},{"name":"Instagram","icon":"instagram","unicode":"f16d","created":3.2,"categories":["Brand Icons"]},{"name":"Flickr","icon":"flickr","unicode":"f16e","created":3.2,"categories":["Brand Icons"]},{"name":"App.net","icon":"adn","unicode":"f170","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket","icon":"bitbucket","unicode":"f171","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket Square","icon":"bitbucket-square","unicode":"f172","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr","icon":"tumblr","unicode":"f173","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr Square","icon":"tumblr-square","unicode":"f174","created":3.2,"categories":["Brand Icons"]},{"name":"Long Arrow Down","icon":"long-arrow-down","unicode":"f175","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Up","icon":"long-arrow-up","unicode":"f176","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Left","icon":"long-arrow-left","unicode":"f177","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Right","icon":"long-arrow-right","unicode":"f178","created":3.2,"categories":["Directional Icons"]},{"name":"Apple","icon":"apple","unicode":"f179","created":3.2,"categories":["Brand Icons"]},{"name":"Windows","icon":"windows","unicode":"f17a","created":3.2,"categories":["Brand Icons"]},{"name":"Android","icon":"android","unicode":"f17b","created":3.2,"categories":["Brand Icons"]},{"name":"Linux","icon":"linux","unicode":"f17c","created":3.2,"categories":["Brand Icons"]},{"name":"Dribbble","icon":"dribbble","unicode":"f17d","created":3.2,"categories":["Brand Icons"]},{"name":"Skype","icon":"skype","unicode":"f17e","created":3.2,"categories":["Brand Icons"]},{"name":"Foursquare","icon":"foursquare","unicode":"f180","created":3.2,"categories":["Brand Icons"]},{"name":"Trello","icon":"trello","unicode":"f181","created":3.2,"categories":["Brand Icons"]},{"name":"Female","icon":"female","unicode":"f182","created":3.2,"categories":["Web Application Icons"]},{"name":"Male","icon":"male","unicode":"f183","created":3.2,"categories":["Web Application Icons"]},{"name":"Gittip","icon":"gittip","unicode":"f184","created":3.2,"categories":["Brand Icons"]},{"name":"Sun Outlined","icon":"sun-o","unicode":"f185","created":3.2,"categories":["Web Application Icons"]},{"name":"Moon Outlined","icon":"moon-o","unicode":"f186","created":3.2,"categories":["Web Application Icons"]},{"name":"Archive","icon":"archive","unicode":"f187","created":3.2,"categories":["Web Application Icons"]},{"name":"Bug","icon":"bug","unicode":"f188","created":3.2,"categories":["Web Application Icons"]},{"name":"VK","icon":"vk","unicode":"f189","created":3.2,"categories":["Brand Icons"]},{"name":"Weibo","icon":"weibo","unicode":"f18a","created":3.2,"categories":["Brand Icons"]},{"name":"Renren","icon":"renren","unicode":"f18b","created":3.2,"categories":["Brand Icons"]},{"name":"Pagelines","icon":"pagelines","unicode":"f18c","created":4,"categories":["Brand Icons"]},{"name":"Stack Exchange","icon":"stack-exchange","unicode":"f18d","created":4,"categories":["Brand Icons"]},{"name":"Arrow Circle Outlined Right","icon":"arrow-circle-o-right","unicode":"f18e","created":4,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Left","icon":"arrow-circle-o-left","unicode":"f190","created":4,"categories":["Directional Icons"]},{"name":"Caret Square Outlined Left","icon":"caret-square-o-left","unicode":"f191","created":4,"aliases":["toggle-left"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Dot Circle O","icon":"dot-circle-o","unicode":"f192","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Wheelchair","icon":"wheelchair","unicode":"f193","created":4,"categories":["Web Application Icons","Medical Icons"]},{"name":"Vimeo Square","icon":"vimeo-square","unicode":"f194","created":4,"categories":["Brand Icons"]},{"name":"Turkish Lira (TRY)","icon":"try","unicode":"f195","created":4,"aliases":["turkish-lira"],"categories":["Currency Icons"]},{"name":"Plus Square Outlined","icon":"plus-square-o","unicode":"f196","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Space Shuttle","icon":"space-shuttle","unicode":"f197","created":4.1,"categories":["Web Application Icons"]},{"name":"Slack Logo","icon":"slack","unicode":"f198","created":4.1,"categories":["Brand Icons"]},{"name":"Envelope Square","icon":"envelope-square","unicode":"f199","created":4.1,"categories":["Web Application Icons"]},{"name":"Wordpress Logo","icon":"wordpress","unicode":"f19a","created":4.1,"categories":["Brand Icons"]},{"name":"OpenID","icon":"openid","unicode":"f19b","created":4.1,"categories":["Brand Icons"]},{"name":"University","icon":"university","unicode":"f19c","created":4.1,"aliases":["institution","bank"],"categories":["Web Application Icons"]},{"name":"Graduation Cap","icon":"graduation-cap","unicode":"f19d","created":4.1,"aliases":["mortar-board"],"categories":["Web Application Icons"]},{"name":"Yahoo Logo","icon":"yahoo","unicode":"f19e","created":4.1,"categories":["Brand Icons"]},{"name":"Google Logo","icon":"google","unicode":"f1a0","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Logo","icon":"reddit","unicode":"f1a1","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Square","icon":"reddit-square","unicode":"f1a2","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Circle","icon":"stumbleupon-circle","unicode":"f1a3","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Logo","icon":"stumbleupon","unicode":"f1a4","created":4.1,"categories":["Brand Icons"]},{"name":"Delicious Logo","icon":"delicious","unicode":"f1a5","created":4.1,"categories":["Brand Icons"]},{"name":"Digg Logo","icon":"digg","unicode":"f1a6","created":4.1,"categories":["Brand Icons"]},{"name":"Pied Piper Logo","icon":"pied-piper","unicode":"f1a7","created":4.1,"categories":["Brand Icons"],"aliases":["pied-piper-square"]},{"name":"Pied Piper Alternate Logo","icon":"pied-piper-alt","unicode":"f1a8","created":4.1,"categories":["Brand Icons"]},{"name":"Drupal Logo","icon":"drupal","unicode":"f1a9","created":4.1,"categories":["Brand Icons"]},{"name":"Joomla Logo","icon":"joomla","unicode":"f1aa","created":4.1,"categories":["Brand Icons"]},{"name":"Language","icon":"language","unicode":"f1ab","created":4.1,"categories":["Web Application Icons"]},{"name":"Fax","icon":"fax","unicode":"f1ac","created":4.1,"categories":["Web Application Icons"]},{"name":"Building","icon":"building","unicode":"f1ad","created":4.1,"categories":["Web Application Icons"]},{"name":"Child","icon":"child","unicode":"f1ae","created":4.1,"categories":["Web Application Icons"]},{"name":"Paw","icon":"paw","unicode":"f1b0","created":4.1,"categories":["Web Application Icons"]},{"name":"spoon","icon":"spoon","unicode":"f1b1","created":4.1,"categories":["Web Application Icons"]},{"name":"Cube","icon":"cube","unicode":"f1b2","created":4.1,"categories":["Web Application Icons"]},{"name":"Cubes","icon":"cubes","unicode":"f1b3","created":4.1,"categories":["Web Application Icons"]},{"name":"Behance","icon":"behance","unicode":"f1b4","created":4.1,"categories":["Brand Icons"]},{"name":"Behance Square","icon":"behance-square","unicode":"f1b5","created":4.1,"categories":["Brand Icons"]},{"name":"Steam","icon":"steam","unicode":"f1b6","created":4.1,"categories":["Brand Icons"]},{"name":"Steam Square","icon":"steam-square","unicode":"f1b7","created":4.1,"categories":["Brand Icons"]},{"name":"Recycle","icon":"recycle","unicode":"f1b8","created":4.1,"categories":["Web Application Icons"]},{"name":"Car","icon":"car","unicode":"f1b9","created":4.1,"categories":["Web Application Icons"],"aliases":["automobile"]},{"name":"Taxi","icon":"taxi","unicode":"f1ba","created":4.1,"categories":["Web Application Icons"],"aliases":["cab"]},{"name":"Tree","icon":"tree","unicode":"f1bb","created":4.1,"categories":["Web Application Icons"]},{"name":"Spotify","icon":"spotify","unicode":"f1bc","created":4.1,"categories":["Brand Icons"]},{"name":"deviantART","icon":"deviantart","unicode":"f1bd","created":4.1,"categories":["Brand Icons"]},{"name":"SoundCloud","icon":"soundcloud","unicode":"f1be","created":4.1,"categories":["Brand Icons"]},{"name":"Database","icon":"database","unicode":"f1c0","created":4.1,"categories":["Web Application Icons"]},{"name":"PDF File Outlined","icon":"file-pdf-o","unicode":"f1c1","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Word File Outlined","icon":"file-word-o","unicode":"f1c2","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Excel File Outlined","icon":"file-excel-o","unicode":"f1c3","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Powerpoint File Outlined","icon":"file-powerpoint-o","unicode":"f1c4","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Image File Outlined","icon":"file-image-o","unicode":"f1c5","created":4.1,"aliases":["file-photo-o","file-picture-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Archive File Outlined","icon":"file-archive-o","unicode":"f1c6","created":4.1,"aliases":["file-zip-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Audio File Outlined","icon":"file-audio-o","unicode":"f1c7","created":4.1,"aliases":["file-sound-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Video File Outlined","icon":"file-video-o","unicode":"f1c8","created":4.1,"aliases":["file-movie-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Code File Outlined","icon":"file-code-o","unicode":"f1c9","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Vine","icon":"vine","unicode":"f1ca","created":4.1,"categories":["Brand Icons"]},{"name":"Codepen","icon":"codepen","unicode":"f1cb","created":4.1,"categories":["Brand Icons"]},{"name":"jsFiddle","icon":"jsfiddle","unicode":"f1cc","created":4.1,"categories":["Brand Icons"]},{"name":"Life Ring","icon":"life-ring","unicode":"f1cd","created":4.1,"aliases":["life-bouy","life-saver","support"],"categories":["Web Application Icons"]},{"name":"Circle Outlined Notched","icon":"circle-o-notch","unicode":"f1ce","created":4.1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Rebel Alliance","icon":"rebel","unicode":"f1d0","created":4.1,"aliases":["ra"],"categories":["Brand Icons"]},{"name":"Galactic Empire","icon":"empire","unicode":"f1d1","created":4.1,"aliases":["ge"],"categories":["Brand Icons"]},{"name":"Git Square","icon":"git-square","unicode":"f1d2","created":4.1,"categories":["Brand Icons"]},{"name":"Git","icon":"git","unicode":"f1d3","created":4.1,"categories":["Brand Icons"]},{"name":"Hacker News","icon":"hacker-news","unicode":"f1d4","created":4.1,"categories":["Brand Icons"]},{"name":"Tencent Weibo","icon":"tencent-weibo","unicode":"f1d5","created":4.1,"categories":["Brand Icons"]},{"name":"QQ","icon":"qq","unicode":"f1d6","created":4.1,"categories":["Brand Icons"]},{"name":"Weixin (WeChat)","icon":"weixin","unicode":"f1d7","created":4.1,"aliases":["wechat"],"categories":["Brand Icons"]},{"name":"Paper Plane","icon":"paper-plane","unicode":"f1d8","created":4.1,"aliases":["send"],"categories":["Web Application Icons"]},{"name":"Paper Plane Outlined","icon":"paper-plane-o","unicode":"f1d9","created":4.1,"aliases":["send-o"],"categories":["Web Application Icons"]},{"name":"History","icon":"history","unicode":"f1da","created":4.1,"categories":["Web Application Icons"]},{"name":"Circle Outlined Thin","icon":"circle-thin","unicode":"f1db","created":4.1,"categories":["Web Application Icons"]},{"name":"header","icon":"header","unicode":"f1dc","created":4.1,"categories":["Text Editor Icons"]},{"name":"paragraph","icon":"paragraph","unicode":"f1dd","created":4.1,"categories":["Text Editor Icons"]},{"name":"Sliders","icon":"sliders","unicode":"f1de","created":4.1,"categories":["Web Application Icons"]},{"name":"Share Alt","icon":"share-alt","unicode":"f1e0","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Share Alt Square","icon":"share-alt-square","unicode":"f1e1","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Bomb","icon":"bomb","unicode":"f1e2","created":4.1,"categories":["Web Application Icons"]}]}');function Or(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Pr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Pr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Cr=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 17.5c2.33 0 4.3-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5M8.5 11A1.5 1.5 0 0 0 10 9.5A1.5 1.5 0 0 0 8.5 8A1.5 1.5 0 0 0 7 9.5A1.5 1.5 0 0 0 8.5 11m7 0A1.5 1.5 0 0 0 17 9.5A1.5 1.5 0 0 0 15.5 8A1.5 1.5 0 0 0 14 9.5a1.5 1.5 0 0 0 1.5 1.5M12 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8a8 8 0 0 1 8 8a8 8 0 0 1-8 8m0-18C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"})),Br=null,Ar=function e(t){var o=Or((0,De.useState)(!1),2),r=o[0],n=o[1],a=Or((0,De.useState)(!1),2),l=a[0],i=a[1],c=Or((0,De.useState)("fontawesome"),2),s=c[0],u=c[1],d=Or((0,De.useState)([]),2),m=d[0],p=d[1],g=Or((0,De.useState)(!1),2),f=g[0],b=g[1],y=Or((0,De.useState)(""),2),R=y[0],_=y[1],w=Or((0,De.useState)(null==m?void 0:m.length),2),h=w[0],E=w[1],v=Or((0,De.useState)(1),2),O=v[0],P=v[1],C=(0,So.useInstanceId)(e,"iconControl"),B=null!==t.showReset?t.showReset:void 0!==t.value&&t.value!==t.defaultValue&&t.value!==t.placeholder,A=function(e,t,o){return e.slice((o-1)*t,o*t)};(0,De.useEffect)((function(){var e,t,o,r=(e=R,t=vr[s],o=e.toLowerCase(),t.filter((function(e){return e.name.toLowerCase().indexOf(o)>=0})));E(null==r?void 0:r.length),p(A(r,25,O))}),[O,R]),(0,De.useEffect)((function(){P(1)}),[R]),(0,De.useEffect)((function(){return clearTimeout(Br),b(!0),Br=setTimeout((function(){var e;P(1),p(A(vr[s],25,O)),E(null===(e=vr[s])||void 0===e?void 0:e.length),b(!1)}),200),function(){clearTimeout(Br)}}),[s]),(0,De.useEffect)((function(){b(!1)}),[]);var W,S,k=function(e){P("prev"===e?O-1:O+1)},T="dashicon"===s?"dashicons":"fa";return React.createElement("div",{className:"woolentor-icon-control-area woolentor-icon-control-".concat(C)},React.createElement("div",{className:"woolentor-icon-control-wrapper"},React.createElement("div",{className:"woolentor-icon-control-button-wrapper"},React.createElement("div",{className:"woolentor-icon-label"},t.label),React.createElement("div",{className:"woolentor-icon-control-buttons"},React.createElement(de.Button,{variant:"secondary",className:"woolentor-icon-control-icon-button",onClick:function(){l?(n(!1),i(!1)):n(!0)}},t.value&&React.createElement("span",{className:t.value}),!t.value&&React.createElement(de.Icon,{icon:Cr,style:{opacity:.3}})),t.allowReset&&B&&React.createElement(de.Button,{className:"woolentor-inspector-control-reset-button",variant:"tertiary","aria-label":(0,ue.__)("Reset","woolentor"),onClick:function(){t.onReset?t.onReset():t.onChange(t.defaultValue)},icon:React.createElement(de.Dashicon,{icon:"image-rotate"})})),r&&React.createElement(de.Popover,{className:"woolentor-icon-popover",onFocusOutside:function(e){e.target&&e.target.closest(".woolentor-icon-control-".concat(C))?i(!0):(n(!1),i(!1))},onClose:function(){return n(!1)},position:t.position},React.createElement(de.PanelBody,null,React.createElement("div",{className:"woolentor-icon-filter-area"},React.createElement(de.SelectControl,{value:s,options:[{label:(0,ue.__)("FontAwesome","woolentor"),value:"fontawesome"},{label:(0,ue.__)("Dashicon","woolentor"),value:"dashicon"}],onChange:function(e){return u(e)}}),React.createElement(de.TextControl,{className:"woolentor-icon-popover-input",value:R,onChange:_,placeholder:(0,ue.__)("Search for an icon","woolentor")})),React.createElement("div",{className:"woolentor-icon-popover-iconlist"},f&&React.createElement(de.Spinner,null),!f&&m.length>0&&m.map((function(e,o){var r=e.name,a=e.icon,l="".concat(T," ").concat(T,"-").concat(a);return React.createElement(de.Button,{key:o,onClick:function(){t.onChange(l!==t.value?l:t.value),n(!1)},label:r},React.createElement("span",{className:l}))})),!f&&!m.length&&React.createElement("p",{className:"components-base-control__help"},(0,ue.__)("No Icons found !","woolentor"))),React.createElement("div",{className:"woolentor-icon-control-footer"},(W=h,S=Math.ceil(W/25),React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-selector-pages"},"".concat(O," / ").concat(S," (").concat(W,")")),React.createElement("span",{className:"woolentor-next-prev-arrows"},1!==O&&React.createElement("span",{className:"woolentor-arrow-prev dashicons dashicons-arrow-left",onClick:function(){return k("prev")}}),S>O&&React.createElement("span",{className:"woolentor-arrow-next dashicons dashicons-arrow-right",onClick:function(){return k("next")}}))))))))))};Ar.defaultProps={label:(0,ue.__)("Icon","woolentor"),value:"",defaultValue:"",onChange:function(){},allowReset:!0,showReset:null,position:"center"};const Wr=(0,De.memo)(Ar);function Sr(e){return Sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sr(e)}function kr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Tr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(o),!0).forEach((function(t){xr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):kr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function xr(e,t,o){return r=function(e,t){if("object"!=Sr(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Sr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==Sr(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}function Lr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Nr=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Lr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Lr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(e.value),2),o=t[0],r=t[1],n=o.type,a=o.color,l=o.width,i=function(e,t){var n=Tr({},o);n.hasOwnProperty(t)?n[t]=e:n=Tr(Tr({},n),{},xr({},t,e)),r(n)};return(0,De.useEffect)((function(){e.onChange(o)}),[o]),React.createElement(Xr,{label:e.label,popoverLabel:e.popoverLabel},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:n,options:[{label:(0,ue.__)("None","woolentor"),value:""},{label:(0,ue.__)("Solid","woolentor"),value:"solid"},{label:(0,ue.__)("Double","woolentor"),value:"double"},{label:(0,ue.__)("Dotted","woolentor"),value:"dotted"},{label:(0,ue.__)("Dashed","woolentor"),value:"dashed"},{label:(0,ue.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return i(e,"type")}}),void 0!==n&&""!=n&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:l,attributesKey:"width",setAttributes:function(e){r(Tr(Tr({},o),e))},responsive:e.responsive}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:a,onChange:function(e){return i(e,"color")}}))))};Nr.defaultProps={label:(0,ue.__)("Border","woolentor"),popoverLabel:(0,ue.__)("Border","woolentor"),value:[],onChange:function(){},responsive:!0};const zr=(0,De.memo)(Nr),jr=window.wp.hooks;function Ir(e){return Ir="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ir(e)}function Mr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Fr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mr(Object(o),!0).forEach((function(t){Hr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Hr(e,t,o){return(t=qr(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Dr(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,qr(r.key),r)}}function qr(e){var t=function(e,t){if("object"!=Ir(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ir(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ir(t)?t:String(t)}function Gr(e,t,o){return t=Ur(t),function(e,t){if(t&&("object"===Ir(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Qr(e)}(e,Kr()?Reflect.construct(t,o||[],Ur(e).constructor):t.apply(e,o))}function Kr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Kr=function(){return!!e})()}function Ur(e){return Ur=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ur(e)}function Qr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vr(e,t){return Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vr(e,t)}var Yr=1,Zr={},Jr=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Gr(this,t,arguments)).state={open:Zr[e.props.label]||!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(Qr(e)),e.handleClose=e.handleClose.bind(Qr(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Qr(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Qr(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Qr(e)),e.handleReset=e.handleReset.bind(Qr(e)),e.buttonRef=(0,De.createRef)(),e.instanceId=Yr++,e}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vr(e,t)}(t,e),o=t,r=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var o=!1;return this.props.toggleOnSetAttributes.some((function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(o=!0,0))})),o?Fr(Fr({},e),{},Hr({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){(0,jr.addFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){var e=this;Zr[this.props.label]=this.state.open,setTimeout((function(){delete Zr[e.props.label]}),500),(0,jr.removeFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleReset",value:function(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}},{key:"handleOnClickOutside",value:function(e){var t;null!==(t=window.wp)&&void 0!==t&&null!==(t=t.media)&&void 0!==t&&null!==(t=t.frame)&&void 0!==t&&null!==(t=t.el)&&void 0!==t&&t.clientHeight||this.state.open&&(e.target.closest(".woolentor-button-icon-control__popover")||e.target.closest(".woolentor-button-icon-control__edit")||e.target.closest(".components-color-picker")||this.handleClose())}},{key:"render",value:function(){var e=this;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(this.props);var t=this.props.allowReset||!!this.props.onToggle&&this.props.checked;return React.createElement(de.BaseControl,{help:this.props.help,label:!this.props.onToggle&&React.createElement("label",{htmlFor:"woolentor-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"woolentor-button-icon-control",className:Gt()("woolentor-button-icon-control",this.props.className)},this.props.onToggle&&React.createElement(de.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),React.createElement("div",{className:"woolentor-button-icon-control__wrapper"},React.createElement(de.Button,{onClick:this.handleOpen,className:"woolentor-button-icon-control__edit",label:(0,ue.__)("Edit","woolentor"),variant:"secondary",icon:"edit",id:"woolentor-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&React.createElement(de.Popover,{className:"woolentor-button-icon-control__popover",focusOnMount:"container",onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},React.createElement("div",{className:"woolentor-popover-heading"},(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&React.createElement("span",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.allowReset&&t&&React.createElement(de.Button,{className:"woolentor-inspector-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,ue.__)("Reset","woolentor"),onClick:function(){e.props.onReset?e.props.onReset():e.props.onChange(e.props.defaultValue)},icon:React.createElement(de.Dashicon,{icon:"image-rotate"})})),React.createElement(de.PanelBody,null,this.props.children))))}}],r&&Dr(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);Jr.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",renderCustomPreview:null};const Xr=Jr,$r=window.wp.url;function en(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tn(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?tn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var on=function(e){var t=en((0,De.useState)([]),2),o=t[0],r=t[1],n=en(Po(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;(0,De.useEffect)((function(){var e;e=(0,$r.addQueryArgs)("/woolentor/v1/imagesizes",{wpnonce:woolentorData.security}),Ge()({path:e}).then((function(e){return r(e)}))}),[]);var u=function(){var e=[];return Object.keys(o).forEach((function(t){e.push({label:o[t],value:t})})),e};return u().length>0&&(0,De.createElement)(de.SelectControl,{label:i,value:c,options:u(),onChange:s})};on.defaultProps={attribute:"",label:void 0,value:void 0,onChange:void 0};const rn=(0,De.memo)(on);function nn(e){return nn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nn(e)}function an(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ln(r.key),r)}}function ln(e){var t=function(e,t){if("object"!=nn(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nn(t)?t:String(t)}function cn(e,t,o){return t=un(t),function(e,t){if(t&&("object"===nn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,sn()?Reflect.construct(t,o||[],un(e).constructor):t.apply(e,o))}function sn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(sn=function(){return!!e})()}function un(e){return un=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},un(e)}function dn(e,t){return dn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dn(e,t)}var mn=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cn(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dn(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=(t.columns,t.rows),a=t.productTab,l=t.slider,i=t.productFilterType,c=t.perPage,s=t.customOrder,u=t.orderBy,d=t.order,m=t.selectedCategories,p=t.slitems,g=t.slarrows,f=t.sldots,b=t.slpauseOnHover,y=t.slautolay,R=t.slautoplaySpeed,_=t.slanimationSpeed,w=t.slscrollItem,h=t.sltabletDisplayColumns,E=t.sltabletScrollColumns,v=t.sltabletWidth,O=t.slMobileDisplayColumns,P=t.slMobileScrollColumns,C=t.slMobileWidth;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Layout","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Product Style","woolentor"),value:r,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"}],onChange:function(e){return o({style:e})}}),React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.RangeControl,{label:(0,ue.__)("Rows","woolentor"),value:n,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(io,{label:(0,ue.__)("Tab","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:a,onChange:function(){return o({productTab:!a})}})),!0!==a&&React.createElement(io,{label:(0,ue.__)("Slider","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({slider:!l})}}))),React.createElement(Vt,{title:(0,ue.__)("Query Options","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Filter By","woolentor"),value:i,options:[{label:(0,ue.__)("Recent Products","woolentor"),value:"recent"},{label:(0,ue.__)("Featured Products","woolentor"),value:"featured"},{label:(0,ue.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,ue.__)("Sale Products","woolentor"),value:"sale"},{label:(0,ue.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,ue.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Number Of Products","woolentor"),value:c,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(io,{label:(0,ue.__)("Custom Order","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:s,onChange:function(){return o({customOrder:!s})}})),React.createElement(Ko,{title:(0,ue.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:m,type:"multiple"}),s?React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:d,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:u,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),1==l&&!0!==a&&React.createElement(Vt,{title:(0,ue.__)("Slider Options","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:p,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:g,onChange:function(){return o({slarrows:!g})}})),React.createElement(io,{label:(0,ue.__)("Slider dots","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:f,onChange:function(){return o({sldots:!f})}})),React.createElement(io,{label:(0,ue.__)("Pause on Hover?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:b,onChange:function(){return o({slpauseOnHover:!b})}})),React.createElement(io,{label:(0,ue.__)("Slider auto play","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:y,onChange:function(){return o({slautolay:!y})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:R,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:_,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:w,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h3",null,(0,ue.__)("Tablet Screen options","woolentor")),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:h,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:E,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:v,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h3",null,(0,ue.__)("Mobile Phone Screen options","woolentor")),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:O,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:P,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:C,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"titleAlign",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Action Button","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBgColor,onChange:function(e){return o({actionBtnBgColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnHoverBgColor,onChange:function(e){return o({actionBtnHoverBgColor:e})}}))),!0===a?React.createElement(Vt,{title:(0,ue.__)("Tab Menu","woolentor")},React.createElement(Dt,{name:"tabmenu",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(zr,{value:t.tabMenuBorder,onChange:function(e){return o({tabMenuBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuActiveBGColor,onChange:function(e){return o({tabMenuActiveBGColor:e})}})),React.createElement(zr,{value:t.tabMenuActiveBorder,onChange:function(e){return o({tabMenuActiveBorder:e})}})))):""),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&an(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const pn=mn;var gn=o(589);function fn(e){return fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fn(e)}function bn(){return bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},bn.apply(this,arguments)}function yn(e,t,o){return(t=wn(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Rn(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wn(r.key),r)}}function wn(e){var t=function(e,t){if("object"!=fn(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=fn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fn(t)?t:String(t)}function hn(e,t,o){return t=vn(t),function(e,t){if(t&&("object"===fn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,En()?Reflect.construct(t,o||[],vn(e).constructor):t.apply(e,o))}function En(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(En=function(){return!!e})()}function vn(e){return vn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vn(e)}function On(e,t){return On=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},On(e,t)}var Pn=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=hn(this,t,[e])).state={productData:[],categoryData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&On(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchProductsData(),this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData(),e.attributes.selectedCategories!=i&&this.fetchCategoryData()}},{key:"fetchProductsData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(o.orderBy=this.props.attributes.orderBy,o.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(o.categories=this.props.attributes.selectedCategories),t.length>0&&(o.categories=t);var r=(0,$r.addQueryArgs)("/woolentor/v1/products",o);Ge()({path:r}).then((function(t){return e.setState({productData:t})}))}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:1e3,queryOrder:"ASC",queryType:"regular",querySlug:this.props.attributes.selectedCategories,wpnonce:woolentorData.security},o=(0,$r.addQueryArgs)("/woolentor/v1/category",t);Ge()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.name,r=t.attributes,n=t.className,a=t.isSelected,l=t.setAttributes,i=t.clientId,c=r.blockUniqId;function s(e){var t=e.className,o=e.onClick;return React.createElement(de.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function u(e){var t=e.className,o=e.onClick;return React.createElement(de.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}""==c&&l({blockUniqId:i});var d,m={arrows:r.slarrows,prevArrow:React.createElement(u,null),nextArrow:React.createElement(s,null),dots:r.sldots,infinite:!0,autoplay:r.slautolay,autoplaySpeed:r.slautoplaySpeed,speed:r.slanimationSpeed,fade:!1,pauseOnHover:r.slpauseOnHover,slidesToShow:r.slitems,slidesToScroll:r.slscrollItem,rtl:r.slIsrtl,responsive:[{breakpoint:r.sltabletWidth,settings:{slidesToShow:r.sltabletDisplayColumns,slidesToScroll:r.sltabletScrollColumns}},{breakpoint:r.slMobileWidth,settings:{slidesToShow:r.slMobileDisplayColumns,slidesToScroll:r.slMobileScrollColumns}}]},p=Gt()("woolentor-product-tab-area",yn({},"woolentor-grid-columns-".concat(r.columns.desktop),r.columns.desktop),yn({},"woolentor-grid-columns-laptop-".concat(r.columns.laptop),r.columns.laptop),yn({},"woolentor-grid-columns-tablet-".concat(r.columns.tablet),r.columns.tablet),yn({},"woolentor-grid-columns-mobile-".concat(r.columns.mobile),r.columns.mobile),"woolentorblock-".concat(c)),g=Gt()(yn({},"woolentor-grid",1!=r.slider||1==r.slider&&1==r.productTab),yn({},"woolentor-grid-slider",1==r.slider&&!0!==r.productTab)),f=Gt()("product-item",yn({},"product_style_three",3==r.style)),b=Gt()(yn({},"woolentor-grid-column",r.columns.desktop)),y=Be(r,o,c),R=this.state,_=R.productData,w=R.categoryData,h=0,E=!1;_.length>0&&(d=_.map((function(e,t){return h++,r.rows>1&&h%r.rows!=0&&(E=!0),React.createElement("div",{key:t},React.createElement("div",{className:b},React.createElement("div",{className:1==E?f+" mb-30":f},React.createElement("div",{className:"product-inner"},React.createElement("div",{className:"image-wrap"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.permalink,className:"image"},(0,De.createElement)("div",{className:"woolentor-product-image",dangerouslySetInnerHTML:{__html:e.image.full.html}}),!0===e.on_sale&&React.createElement("span",{className:"onsale"},(0,ue.__)("Sale!","woolentor")))),1==r.style&&!0===e.wishlist.status?(0,De.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",3==r.style?React.createElement("div",{className:"product_information_area"},React.createElement("div",{className:"actions style_two"},!0===e.wishlist.status?(0,De.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",(0,De.createElement)("div",{className:"woolentor-product-btn"},(0,De.createElement)("a",null,(0,ue.__)("Add to cart","woolentor")))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),(0,De.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))):React.createElement("div",{className:2==r.style?"actions style_two":"actions"},2==r.style?React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.wishlist.status?(0,De.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):""):React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.compare.status?(0,De.createElement)("span",{className:"woolentor-product-compare",dangerouslySetInnerHTML:{__html:e.compare.html}}):""))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.permalink},e.title))),(0,De.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))))))})));var v,O=function(t){e.fetchProductsData(t.target.getAttribute("dataslug"))},P=0;return r.selectedCategories.length>0&&(v=w.map((function(e,t){return P++,React.createElement(React.Fragment,null,React.createElement("li",null,React.createElement("a",{className:1==P?"htactive":"",href:"#woolentortab"+c+P,onClick:O,dataslug:e.slug},e.name)))}))),React.createElement(De.Fragment,null,a&&React.createElement(pn,this.props),React.createElement("div",{className:"woocommerce"},React.createElement("div",{className:n},React.createElement("div",{className:p},r.productTab&&React.createElement("div",{className:"product-tab-list ht-text-center"},React.createElement("ul",{className:"ht-tab-menus"},v)),0==_.length?React.createElement(de.Spinner,null):React.createElement("div",{className:g},1==r.slider&&!0!==r.productTab?React.createElement(gn.A,bn({},m,{className:"product-slider"}),d):d)))),y)}}],r&&Rn(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Cn=Pn,Bn=React.createElement(de.SVG,{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 359 359",space:"preserve"},React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,0H13C7.5,0,3,4.5,3,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C106,4.5,101.5,0,96,0z M87,84H23V20h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C231,4.5,226.5,0,221,0z M212,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,126H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,130.5,101.5,126,96,126z M87,209H23 v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,130.5,226.5,126,221,126z M212,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C356,4.5,351.5,0,346,0z M337,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,130.5,351.5,126,346,126z M337,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,256H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,260.5,101.5,256,96,256z M87,340H23 v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,260.5,226.5,256,221,256z M212,340h-64v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,260.5,351.5,256,346,256z M337,340h-64v-64h64V340z"})))),An=JSON.parse('{"name":"woolentor/product-tab","category":"woolentor-blocks","title":"WL : Product Tab","description":"Display product.","keywords":["woolentor","product tab","woocommerce product"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"style":{"type":"string","default":"1"},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":1},"productTab":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"slitems":{"type":"number","default":4},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a:hover{ color: {{titleHoverColor}}; }"}},"titleAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ text-align: {{titleAlign}}; }"}},"priceColor":{"type":"string","selector":".product-item .product-inner .content .price","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price,{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price .amount{ color: {{priceColor}}; }"}},"actionBtnColor":{"type":"string","selector":".product-item .actions a","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button,{{WOOLENTOR_WRAPPER}} .product-item .actions a::before{ color: {{actionBtnColor}}; }"}},"actionBtnBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions{ background-color: {{actionBtnBgColor}}; }"}},"actionBtnHoverColor":{"type":"string","selector":".product-item .actions a:hover","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button:hover,{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover::before{ color: {{actionBtnHoverColor}}; }"}},"actionBtnHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions:hover{ background-color: {{actionBtnHoverBgColor}}; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content{ text-align: {{contentAlign}}; }"}},"tabMenuColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ color: {{tabMenuColor}}; }"}},"tabMenuBGColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ background-color: {{tabMenuBGColor}}; }"}},"tabMenuBorder":{"type":"object","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a"}},"tabMenuActiveColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ color: {{tabMenuActiveColor}}; }"}},"tabMenuActiveBGColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ background-color: {{tabMenuActiveBGColor}}; }"}},"tabMenuActiveBorder":{"type":"object","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive"}}}}');var Wn=An.name,Sn=An.category,kn=An.title,Tn=An.description,xn=An.keywords,Ln=An.attributes,Nn={title:(0,ue.__)(kn,"woolentor"),description:(0,ue.__)(Tn,"woolentor"),icon:React.createElement(de.Icon,{icon:Bn}),keywords:xn,attributes:Ln,edit:Cn,save:function(){return null}};const zn=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Product Grid","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Grid Style","woolentor"),value:t.gridStyle,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"},{label:(0,ue.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({gridStyle:e})}}),React.createElement(io,{label:(0,ue.__)("Slider","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.slider,onChange:function(){return o({slider:!t.slider})}})),React.createElement(io,{label:(0,ue.__)("Filterable","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.filterable,onChange:function(){return o({filterable:!t.filterable})}}))),!0!==t.slider&&React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(Vt,{title:(0,ue.__)("Query Settings","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Filter By","woolentor"),value:t.productType,options:[{label:(0,ue.__)("Recent Products","woolentor"),value:"recent"},{label:(0,ue.__)("Featured Products","woolentor"),value:"featured"},{label:(0,ue.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,ue.__)("Sale Products","woolentor"),value:"sale"},{label:(0,ue.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,ue.__)("Mixed order Products","woolentor"),value:"mixed_order"},{label:(0,ue.__)("Add ID Manually","woolentor"),value:"show_byid_manually"}],onChange:function(e){return o({productType:e})}}),"show_byid_manually"===t.productType&&React.createElement(de.TextControl,{label:(0,ue.__)("Product IDs","woolentor"),value:t.productIdsManually,onChange:function(e){return o({productIdsManually:e})},help:(0,ue.__)("Add Product ids separated with comma","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(xo,{taxonomy:t.taxonomy,onChangeTaxonomy:function(e){return o({taxonomy:e})}}),""!==t.taxonomy&&React.createElement(de.SelectControl,{label:(0,ue.__)("Category Operator","woolentor"),value:t.catOperator,options:[{label:(0,ue.__)("AND","woolentor"),value:"AND"},{label:(0,ue.__)("IN","woolentor"),value:"IN"},{label:(0,ue.__)("NOT IN","woolentor"),value:"NOT IN"}],onChange:function(e){return o({catOperator:e})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Custom Order","woolentor"),checked:t.customOrder,onChange:function(){return o({customOrder:!t.customOrder})}}),t.customOrder?React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:t.order,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(Vt,{title:(0,ue.__)("Additional Options","woolentor")},React.createElement(de.ToggleControl,{label:(0,ue.__)("Pagination","woolentor"),checked:t.paginate,onChange:function(){return o({paginate:!t.paginate})}}),t.paginate&&React.createElement(React.Fragment,null,React.createElement(de.ToggleControl,{label:(0,ue.__)("Allow Order","woolentor"),checked:t.allowOrder,onChange:function(){return o({allowOrder:!t.allowOrder})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Result Count","woolentor"),checked:t.showResultCount,onChange:function(){return o({showResultCount:!t.showResultCount})}})),React.createElement(go,{label:(0,ue.__)("Cart Button Settings","woolentor")}),React.createElement(Wr,{label:(0,ue.__)("Add to Cart Button Icon","woolentor"),onReset:function(){return o({addToCartIcon:""})},value:t.addToCartIcon,onChange:function(e){return o({addToCartIcon:e})}}),("1"===t.gridStyle||"2"===t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(de.TextControl,{label:(0,ue.__)("Add to Cart Button Text","woolentor"),value:t.addToCartText,onChange:function(e){return o({addToCartText:e})},placeholder:(0,ue.__)("Add to Cart","woolentor")}),t.addToCartIcon&&React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Add to Cart Icon Position","woolentor"),value:t.buttonIconAlign,options:[{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({buttonIconAlign:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200}))),React.createElement(go,{label:(0,ue.__)("Image Settings","woolentor")}),React.createElement(de.SelectControl,{label:(0,ue.__)("Image Style","woolentor"),value:t.imageLayoutType,options:[{label:(0,ue.__)("Zoom Image","woolentor"),value:"zoom"},{label:(0,ue.__)("Secondary Image","woolentor"),value:"secondary_img"}],onChange:function(e){return o({imageLayoutType:e})}}),React.createElement(go,{label:(0,ue.__)("Content Settings","woolentor")}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Hide Category","woolentor"),checked:t.hideCategory,onChange:function(){return o({hideCategory:!t.hideCategory})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Hide Rating","woolentor"),checked:t.hideRating,onChange:function(){return o({hideRating:!t.hideRating})}})),!0===t.slider&&React.createElement(Vt,{title:(0,ue.__)("Slider Option","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.sliderItems,onChange:function(e){return o({sliderItems:e})},min:1,step:1,max:100}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.arrows,onChange:function(){return o({arrows:!t.arrows})}})),React.createElement(io,{label:(0,ue.__)("Slider dots","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.dots,onChange:function(){return o({dots:!t.dots})}})),React.createElement(io,{label:(0,ue.__)("Pause on Hover?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.pauseOnHover,onChange:function(){return o({pauseOnHover:!t.pauseOnHover})}})),React.createElement(io,{label:(0,ue.__)("Slider auto play","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.autoplay,onChange:function(){return o({autoplay:!t.autoplay})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:t.autoplaySpeed,onChange:function(e){return o({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:t.animationSpeed,onChange:function(e){return o({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.scrollColumns,onChange:function(e){return o({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(go,{label:(0,ue.__)("Tablet Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.tabletDisplayColumns,onChange:function(e){return o({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.tabletScrollColumns,onChange:function(e){return o({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:t.tabletWidth,onChange:function(e){return o({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(go,{label:(0,ue.__)("Mobile Phone Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.mobileDisplayColumns,onChange:function(e){return o({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.mobileScrollColumns,onChange:function(e){return o({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:t.mobileWidth,onChange:function(e){return o({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Item Style","woolentor"),initialOpen:!0},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(zr,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(zr,{label:(0,ue.__)("Hover Border","woolentor"),value:t.itemHoverBorder,onChange:function(e){return o({itemHoverBorder:e})}}),React.createElement(wt.PanelColorSettings,{title:(0,ue.__)("Background Color Settings"),showTitle:!1,colorSettings:[{value:t.itemBGColor,onChange:function(e){return o({itemBGColor:e})},label:(0,ue.__)("Background Color","woolentor")},{value:t.itemBGHoverColor,onChange:function(e){return o({itemBGHoverColor:e})},label:(0,ue.__)("Background Hover Color","woolentor")}]})),React.createElement(Vt,{title:(0,ue.__)("Content Style","woolentor"),initialOpen:!1},React.createElement(go,{label:(0,ue.__)("Title","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0}),React.createElement(go,{label:(0,ue.__)("Category","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.categoryColor,onChange:function(e){return o({categoryColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.categoryHoverColor,onChange:function(e){return o({categoryHoverColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.categorySize,fallbackFontSize:t.categorySize,onChange:function(e){return o({categorySize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.categoryMargin,attributesKey:"categoryMargin",setAttributes:o,responsive:!0}),React.createElement(go,{label:(0,ue.__)("Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0}),React.createElement(go,{label:(0,ue.__)("Rating","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Action Button Style","woolentor"),initialOpen:!1},React.createElement(de.RangeControl,{label:(0,ue.__)("Size","woolentor"),value:t.actionBtnSize,onChange:function(e){return o({actionBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(Dt,{name:"actionbutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(zr,{label:(0,ue.__)("Border","woolentor"),value:t.actionBtnBorder,onChange:function(e){return o({actionBtnBorder:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(zr,{label:(0,ue.__)("Border","woolentor"),value:t.actionBtnHoverBorder,onChange:function(e){return o({actionBtnHoverBorder:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBGHoverColor,onChange:function(e){return o({actionBtnBGHoverColor:e})}})))),("1"==t.gridStyle||"3"==t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Add To Cart Button","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Size","woolentor"),value:t.actionCartBtnSize,onChange:function(e){return o({actionCartBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.actionCartBtnBorderRadius,attributesKey:"actionCartBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(de.RangeControl,{label:(0,ue.__)("Icon Size","woolentor"),value:t.actionCartBtnIconSize,onChange:function(e){return o({actionCartBtnIconSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(Dt,{name:"actioncartbutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionCartBtnColor,onChange:function(e){return o({actionCartBtnColor:e})}})),React.createElement(zr,{label:(0,ue.__)("Border","woolentor"),value:t.actionCartBtnBorder,onChange:function(e){return o({actionCartBtnBorder:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionCartBtnBGColor,onChange:function(e){return o({actionCartBtnBGColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionCartBtnHoverColor,onChange:function(e){return o({actionCartBtnHoverColor:e})}})),React.createElement(zr,{label:(0,ue.__)("Border","woolentor"),value:t.actionCartBtnHoverBorder,onChange:function(e){return o({actionCartBtnHoverBorder:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionCartBtnBGHoverColor,onChange:function(e){return o({actionCartBtnBGHoverColor:e})}})))))),!0===t.slider&&React.createElement(Vt,{title:(0,ue.__)("Slider Control","woolentor")},React.createElement(go,{label:(0,ue.__)("Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationColor,onChange:function(e){return o({navigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationBGColor,onChange:function(e){return o({navigationBGColor:e})}})),React.createElement(zr,{value:t.navigationBorder,onChange:function(e){return o({navigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationHoverColor,onChange:function(e){return o({navigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationHoverBGColor,onChange:function(e){return o({navigationHoverBGColor:e})}})),React.createElement(zr,{value:t.navigationHoverBorder,onChange:function(e){return o({navigationHoverBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Pagination","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Position","woolentor"),value:t.paginationPosition,onChange:function(e){return o({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(Dt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(zr,{value:t.paginationBorder,onChange:function(e){return o({paginationBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationActiveColor,onChange:function(e){return o({paginationActiveColor:e})}})),React.createElement(zr,{value:t.paginationActiveBorder,onChange:function(e){return o({paginationActiveBorder:e})}}))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))},jn=window.wp.serverSideRender;var In=o.n(jn);function Mn(e){return Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mn(e)}function Fn(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hn(r.key),r)}}function Hn(e){var t=function(e,t){if("object"!=Mn(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Mn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mn(t)?t:String(t)}function Dn(e,t,o){return t=Gn(t),function(e,t){if(t&&("object"===Mn(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qn()?Reflect.construct(t,o||[],Gn(e).constructor):t.apply(e,o))}function qn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qn=function(){return!!e})()}function Gn(e){return Gn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gn(e)}function Kn(e,t){return Kn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kn(e,t)}var Un=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Dn(this,t,[e])).customEvent=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kn(e,t)}(t,e),o=t,r=[{key:"componentDidUpdate",value:function(e){var t=this,o=0;if(this.customEvent=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:this.props.attributes.blockUniqId}}),e.attributes!=this.props.attributes)var r=setInterval((function(){document.dispatchEvent(t.customEvent),3===o&&clearInterval(r),o++}),500)}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Gt()((c={},u=o,(s=Hn(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Be(t,l,i);return document.dispatchEvent(this.customEvent),React.createElement(De.Fragment,null,r&&React.createElement(zn,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:l,className:"woolentorblock-editor-".concat(i),attributes:{columns:t.columns,gridStyle:t.gridStyle,noGutter:t.noGutter,taxonomy:t.taxonomy,productType:t.productType,perPage:t.perPage,orderBy:t.orderBy,order:t.order,paginate:t.paginate,productIdsManually:t.productIdsManually,hideCategory:t.hideCategory,hideRating:t.hideRating,slider:t.slider,sliderItems:t.sliderItems,arrows:t.arrows,dots:t.dots,pauseOnHover:t.pauseOnHover,autoplay:t.autoplay,autoplaySpeed:t.autoplaySpeed,animationSpeed:t.animationSpeed,scrollColumns:t.scrollColumns,tabletDisplayColumns:t.tabletDisplayColumns,tabletScrollColumns:t.tabletScrollColumns,tabletWidth:t.tabletWidth,mobileDisplayColumns:t.mobileDisplayColumns,mobileScrollColumns:t.mobileScrollColumns,mobileWidth:t.mobileWidth,blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&Fn(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Qn=Un,Vn=JSON.parse('{"name":"woolentor/product-grid","category":"woolentor-blocks","title":"WL: Product Grid","description":"Display Product Grid.","keywords":["woolentor","product","Grid","woocommerce","shop product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"gridStyle":{"type":"string","default":"1"},"filterable":{"type":"boolean","default":false},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"productType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":3},"taxonomy":{"type":"string"},"catOperator":{"type":"string","default":"IN"},"productIdsManually":{"type":"string"},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"paginate":{"type":"boolean","default":false},"allowOrder":{"type":"boolean","default":false},"showResultCount":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"sliderItems":{"type":"number","default":5},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":3},"tabletDisplayColumns":{"type":"number","default":2},"tabletScrollColumns":{"type":"number","default":2},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"addToCartText":{"type":"string","default":"Add To Cart"},"addToCartIcon":{"type":"string","default":"fa fa-plus"},"buttonIconAlign":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"addToCartIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-right i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-left: {{iconSpecing}}px; }{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-left i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-right: {{iconSpecing}}px; }"}},"imageLayoutType":{"type":"string","default":"zoom"},"hideCategory":{"type":"boolean","default":false},"hideRating":{"type":"boolean","default":false},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2"}},"itemPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { padding: {{itemPadding}}; }"}},"itemBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { background-color: {{itemBGColor}}; }"}},"itemBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover { background-color: {{itemBGHoverColor}}; }"}},"itemHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a:hover { color: {{titleHoverColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 { margin: {{titleMargin}}; }"}},"categoryColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { color: {{categoryColor}}; }"}},"categoryHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a:hover { color: {{categoryHoverColor}}; }"}},"categorySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { font-size: {{categorySize}}; }"}},"categoryMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 { margin: {{categoryMargin}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2,{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { font-size: {{priceSize}}; }"}},"priceMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 { margin: {{priceMargin}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 i { color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 { margin: {{ratingMargin}}; }"}},"actionBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ font-size: {{actionBtnSize}}px; }"}},"actionBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ border-radius: {{actionBtnBorderRadius}}; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { color: {{actionBtnColor}}; }"}},"actionBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { background-color: {{actionBtnBGColor}}; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { color: {{actionBtnHoverColor}}; }"}},"actionBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { background-color: {{actionBtnBGHoverColor}}; }"}},"actionBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover"}},"actionCartBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ font-size: {{actionCartBtnSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ border-radius: {{actionCartBtnBorderRadius}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnIconSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a i{ font-size: {{actionCartBtnIconSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { color: {{actionCartBtnColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { background-color: {{actionCartBtnBGColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { color: {{actionCartBtnHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { background-color: {{actionCartBtnBGHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}}}}'),Yn=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var Zn=Vn.name,Jn=Vn.title,Xn=Vn.description,$n=Vn.category,ea=Vn.attributes,ta=Vn.keywords,oa=Vn.supports,ra={title:(0,ue.__)(Jn,"woolentor"),description:(0,ue.__)(Xn,"woolentor"),icon:React.createElement(de.Icon,{icon:Yn}),keywords:ta,supports:oa,attributes:ea,edit:Qn,save:function(){return null}};function na(e){return na="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},na(e)}function aa(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,la(r.key),r)}}function la(e){var t=function(e,t){if("object"!=na(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=na(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==na(t)?t:String(t)}function ia(e,t,o){return t=sa(t),function(e,t){if(t&&("object"===na(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ca()?Reflect.construct(t,o||[],sa(e).constructor):t.apply(e,o))}function ca(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ca=function(){return!!e})()}function sa(e){return sa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sa(e)}function ua(e,t){return ua=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ua(e,t)}var da=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ia(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ua(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.contentAlignment,a=t.buttonUrl;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Banner Style","woolentor"),value:r,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"}],onChange:function(e){return o({style:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Content Alignment","woolentor"),value:n,options:[{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"},{label:(0,ue.__)("Bottom","woolentor"),value:"bottom"}],onChange:function(e){return o({contentAlignment:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Link","woolentor"),value:a,onChange:function(e){return o({buttonUrl:e})},help:"Please provide a valid URL format."}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBackground,onChange:function(e){return o({areaBackground:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Sub Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],r&&aa(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ma=da;var pa=o(609),ga=o.n(pa);const fa=window.wp.primitives,ba=(0,pa.createElement)(fa.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,pa.createElement)(fa.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));function ya(e){return ya="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ya(e)}function Ra(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function _a(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wa(r.key),r)}}function wa(e){var t=function(e,t){if("object"!=ya(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ya(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ya(t)?t:String(t)}function ha(e,t,o){return t=va(t),function(e,t){if(t&&("object"===ya(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Oa(e)}(e,Ea()?Reflect.construct(t,o||[],va(e).constructor):t.apply(e,o))}function Ea(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ea=function(){return!!e})()}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},va(e)}function Oa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pa(e,t){return Pa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Pa(e,t)}var Ca=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=ha(this,t,arguments)).addImage=e.addImage.bind(Oa(e)),e.onSelectImage=e.onSelectImage.bind(Oa(e)),e}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Pa(e,t)}(t,e),o=t,r=[{key:"onSelectImage",value:function(e){e&&e.url&&this.props.setAttributes({imgUrl:e.url})}},{key:"addImage",value:function(e){var t=this;(0,wt.MediaUpload)({allowedTypes:["image","png"],filesList:e,onFileChange:function(e){var o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ra(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ra(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,1)[0];return t.onSelectImage(o)}})}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.clientId,l=e.setAttributes,i=o.title,c=o.subTitle,s=o.imgUrl,u=o.style,d=o.contentAlignment,m=o.buttonText,p=o.buttonUrl,g=o.blockUniqId;""==g&&l({blockUniqId:a});var f=function(e){return l({imgUrl:e.url,imgId:e.id})},b=Be(o,t,g);return React.createElement(De.Fragment,null,n&&React.createElement(ma,this.props),React.createElement("div",{className:"woolentorblock-".concat(g," ").concat(r)},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+u+" woolentor-content-align-"+d},React.createElement("div",{className:"woolentor-content"},React.createElement(wt.RichText,{tagName:"h3",className:"banner_subtitle",value:c,onChange:function(e){return l({subTitle:e})},placeholder:(0,ue.__)("Banner sub title...","woolentor"),style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(wt.RichText,{tagName:"h2",className:"banner_title",value:i,onChange:function(e){return l({title:e})},placeholder:(0,ue.__)("Banner title...","woolentor"),style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(wt.RichText,{tagName:"a",className:"banner_button",value:m,onChange:function(e){return l({buttonText:e})},placeholder:(0,ue.__)("Shop Now ....","woolentor"),href:p,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),s?React.createElement("div",{className:"woolentor-banner-img"},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:s,alt:"WooLentor Banner image"}),React.createElement("div",null,React.createElement(wt.MediaUploadCheck,null,React.createElement(wt.MediaUpload,{onSelect:f,allowedTypes:["image","png"],value:s,render:function(e){var t=e.open;return React.createElement(de.Button,{onClick:t},s?(0,ue.__)("Replace Image","woolentor"):React.createElement(wt.BlockIcon,{icon:ba}))}})))):React.createElement("div",{className:"woolentor-banner-img"},React.createElement(wt.MediaUploadCheck,null,React.createElement(wt.MediaUpload,{onSelect:f,allowedTypes:["image","png"],value:s,render:function(e){var t=e.open;return React.createElement(de.Button,{onClick:t},s?(0,ue.__)("Replace Image","woolentor"):React.createElement(wt.BlockIcon,{icon:ba}))}}))))),b)}}],r&&_a(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Ba=Ca,Aa=JSON.parse('{"name":"woolentor/promo-banner","category":"woolentor-blocks","title":"WL : Promo Banner","description":"Display promo banner.","keywords":["woolentor","product banner","woocommerce promo","promo banner"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"contentAlignment":{"type":"string","default":"left"},"areaBackground":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner{ background-color: {{areaBackground}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner { margin: {{areaMargin}}; }"}},"title":{"type":"string","default":"","selector":".banner_title"},"subTitle":{"type":"string","default":"","selector":".banner_subtitle"},"imgId":{"type":"number"},"imgUrl":{"type":"string","source":"attribute","attribute":"src","selector":"img"},"buttonUrl":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"buttonText":{"type":"string","source":"html","selector":"a"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"titleColor":{"type":"string","selector":".woolentor-banner .banner_title"},"titleSize":{"type":"string"},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_title { padding: {{titlePadding}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_title { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","selector":".woolentor-banner .banner_subtitle"},"subTitleSize":{"type":"string"},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_subtitle { padding: {{subTitlePadding}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_subtitle { margin: {{subTitleMargin}}; }"}},"buttonColor":{"type":"string","selector":".woolentor-banner .banner_button"},"buttonSize":{"type":"string"},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_button { padding: {{buttonPadding}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_button { margin: {{buttonMargin}}; }"}}}}'),Wa=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var Sa=Aa.name,ka=Aa.category,Ta=Aa.title,xa=Aa.description,La=Aa.keywords,Na=Aa.attributes,za=Aa.supports,ja={title:(0,ue.__)(Ta,"woolentor"),description:(0,ue.__)(xa,"woolentor"),icon:React.createElement(de.Icon,{icon:Wa}),keywords:La,supports:za,attributes:Na,edit:Ba,save:function(e){var t=e.className,o=e.attributes,r=o.title,n=o.subTitle,a=o.imgUrl,l=o.style,i=o.contentAlignment,c=o.buttonText,s=o.buttonUrl,u=o.blockUniqId;return React.createElement("div",{className:"woolentorblock-".concat(u," ").concat(t)},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+l+" woolentor-content-align-"+i},React.createElement("div",{className:"woolentor-content"},React.createElement(wt.RichText.Content,{tagName:"h3",className:"banner_subtitle",value:n,style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(wt.RichText.Content,{tagName:"h2",className:"banner_title",value:r,style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(wt.RichText.Content,{tagName:"a",className:"banner_button",href:(0,$r.isURL)(s)?s:"#",value:c,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),a&&React.createElement("div",{className:"woolentor-banner-img"},s&&(0,$r.isURL)(s)?React.createElement("a",{href:s},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r})):React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r}))))}};function Ia(e){return Ia="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ia(e)}function Ma(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fa(r.key),r)}}function Fa(e){var t=function(e,t){if("object"!=Ia(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ia(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ia(t)?t:String(t)}function Ha(e,t,o){return t=qa(t),function(e,t){if(t&&("object"===Ia(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Da()?Reflect.construct(t,o||[],qa(e).constructor):t.apply(e,o))}function Da(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Da=function(){return!!e})()}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qa(e)}function Ga(e,t){return Ga=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ga(e,t)}var Ka=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ha(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ga(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.title,n=t.contentPosition,a=t.bannerImage,l=t.badgeImage,i=t.badgeHorizontalPos,c=t.badgeVerticlePos;return React.createElement(React.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Content Position","woolentor"),value:n,options:[{label:(0,ue.__)("Top","woolentor"),value:"top"},{label:(0,ue.__)("Center","woolentor"),value:"center"},{label:(0,ue.__)("Bottom","woolentor"),value:"bottom"},{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({contentPosition:e})}}),React.createElement(Jo,{title:(0,ue.__)("Banner image","woolentor"),ImageData:a,attribute:"bannerImage"}),React.createElement(Jo,{title:(0,ue.__)("Badge image","woolentor"),ImageData:l,attribute:"badgeImage"}),l.id&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Badge Horizontal Position","woolentor"),value:i,onChange:function(e){return o({badgeHorizontalPos:e})},min:-1e3,step:1,max:1e3}),React.createElement(de.RangeControl,{label:(0,ue.__)("Badge Vertical Position","woolentor"),value:c,onChange:function(e){return o({badgeVerticlePos:e})},min:-1e3,step:1,max:1e3})),React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),value:r,placeholder:(0,ue.__)("Banner Title","woolentor"),onChange:function(e){return o({title:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Sub Title","woolentor"),placeholder:(0,ue.__)("Banner Sub Title","woolentor"),value:t.subTitle,onChange:function(e){return o({subTitle:e})}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Description","woolentor"),help:(0,ue.__)("Enter Banner description","woolentor"),value:t.bannerDescription,onChange:function(e){return o({bannerDescription:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Offer Amount","woolentor"),placeholder:(0,ue.__)("50%","woolentor"),value:t.offerAmount,onChange:function(e){return o({offerAmount:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Offer Tag Line","woolentor"),value:t.offerTagLine,placeholder:(0,ue.__)("off","woolentor"),onChange:function(e){return o({offerTagLine:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Banner Link","woolentor"),value:t.bannerLink,placeholder:(0,ue.__)("https://your-link.com","woolentor"),onChange:function(e){return o({bannerLink:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,ue.__)("Shop Now","woolentor"),onChange:function(e){return o({buttonText:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Content Area","woolentor")},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.contentAreaMargin,attributesKey:"contentAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.contentAreaPadding,attributesKey:"contentAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Sub Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleSubColor,onChange:function(e){return o({titleSubColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSubSize,fallbackFontSize:t.titleSubSize,onChange:function(e){return o({titleSubSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Description","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.desColor,onChange:function(e){return o({desColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.desSize,fallbackFontSize:t.desSize,onChange:function(e){return o({desSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.desMargin,attributesKey:"desMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.desPadding,attributesKey:"desPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Offer Amount","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.offerColor,onChange:function(e){return o({offerColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerSize,fallbackFontSize:t.offerSize,onChange:function(e){return o({offerSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.offerMargin,attributesKey:"offerMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Offer Tag Line","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.offerTagColor,onChange:function(e){return o({offerTagColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerTagSize,fallbackFontSize:t.offerTagSize,onChange:function(e){return o({offerTagSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.offerTagMargin,attributesKey:"offerTagMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonHoverColor,onChange:function(e){return o({buttonHoverColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],r&&Ma(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Ua=Ka;function Qa(e){return Qa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qa(e)}function Va(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ya(r.key),r)}}function Ya(e){var t=function(e,t){if("object"!=Qa(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qa(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qa(t)?t:String(t)}function Za(e,t,o){return t=Xa(t),function(e,t){if(t&&("object"===Qa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ja()?Reflect.construct(t,o||[],Xa(e).constructor):t.apply(e,o))}function Ja(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ja=function(){return!!e})()}function Xa(e){return Xa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xa(e)}function $a(e,t){return $a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$a(e,t)}var el=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512",className:"woolentor-banner-default"},React.createElement("g",null,React.createElement("path",{d:"M446.575,0H65.425C29.349,0,0,29.35,0,65.426v381.149C0,482.65,29.349,512,65.425,512h381.15 C482.651,512,512,482.65,512,446.574V65.426C512,29.35,482.651,0,446.575,0z M481.842,446.575 c0,19.447-15.821,35.267-35.267,35.267H65.425c-19.447,0-35.268-15.821-35.268-35.267v-55.007l99.255-84.451 c3.622-3.082,8.906-3.111,12.562-0.075l62.174,51.628c5.995,4.977,14.795,4.569,20.304-0.946L372.181,209.77 c2.67-2.675,5.783-2.935,7.408-2.852c1.62,0.083,4.695,0.661,7.078,3.596l95.176,117.19V446.575z M481.842,279.865l-71.766-88.366 c-7.117-8.764-17.666-14.122-28.942-14.701c-11.268-0.57-22.317,3.672-30.294,11.662L212.832,326.681l-51.59-42.839 c-14.959-12.422-36.563-12.293-51.373,0.308l-79.712,67.822V65.426c0-19.447,15.821-35.268,35.268-35.268h381.15 c19.447,0,35.267,15.821,35.267,35.268V279.865z"})),React.createElement("g",null,React.createElement("path",{d:"M161.174,62.995c-40.095,0-72.713,32.62-72.713,72.713c0,40.094,32.619,72.713,72.713,72.713s72.713-32.619,72.713-72.713 S201.269,62.995,161.174,62.995z M161.174,178.264c-23.466,0-42.556-19.091-42.556-42.556c0-23.466,19.09-42.556,42.556-42.556 c23.466,0,42.556,19.091,42.556,42.556S184.64,178.264,161.174,178.264z"}))),tl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Za(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$a(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()("wlspcial-banner",(c={},s="woolentor-banner-content-pos-"+o.contentPosition,u=o.contentPosition,(s=Ya(s))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Ua,this.props),React.createElement("div",{className:r},React.createElement("div",{className:d},React.createElement("div",{className:"banner-thumb"},React.createElement("a",{href:o.bannerLink?o.bannerLink:"#"},o.bannerImage.url?React.createElement("img",{src:o.bannerImage.url,alt:"Banner"}):React.createElement("div",{className:"woolentor-default-banner"},el))),o.badgeImage.url&&React.createElement("div",{className:"wlbanner-badgeimage"},React.createElement("img",{src:o.badgeImage.url,alt:"Banner Badge"})),React.createElement("div",{className:"banner-content"},o.title&&React.createElement("h2",null,o.title),o.subTitle&&React.createElement("h6",null,o.subTitle),o.offerAmount&&React.createElement("h5",null,o.offerAmount,React.createElement("span",null,o.offerTagLine)),o.bannerDescription&&React.createElement("p",null,o.bannerDescription),o.buttonText&&React.createElement("a",{href:o.bannerLink?o.bannerLink:"#"},o.buttonText)))),m)}}],r&&Va(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ol=tl,rl=JSON.parse('{"name":"woolentor/special-day-offer","category":"woolentor-blocks","title":"WL : Special Day Offer","description":"Display spesial day offer banner.","keywords":["woolentor","shop banner","banner","special day","offer","special offer"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"contentPosition":{"type":"string","default":"center"},"bannerImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Banner Title"},"subTitle":{"type":"string","default":"Banner Sub Title"},"bannerDescription":{"type":"string","default":"Banner Description"},"offerAmount":{"type":"string"},"offerTagLine":{"type":"string"},"bannerLink":{"type":"string"},"buttonText":{"type":"string"},"badgeImage":{"type":"object","default":{"id":null,"url":""}},"badgeHorizontalPos":{"type":"number","default":25,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { left: {{badgeHorizontalPos}}%; }"}},"badgeVerticlePos":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { top: {{badgeVerticlePos}}%; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { margin: {{titleMargin}}; }"}},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { padding: {{titlePadding}}; }"}},"titleSubColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { color: {{titleSubColor}}; }"}},"titleSubSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { font-size: {{titleSubSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { margin: {{subTitleMargin}}; }"}},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { padding: {{subTitlePadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { text-align: {{contentAlignment}}; }"}},"contentAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { padding: {{contentAreaPadding}}; }"}},"contentAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { margin: {{contentAreaMargin}}; }"}},"desColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ color: {{desColor}}; }"}},"desSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ font-size: {{desSize}}; }"}},"desMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ margin: {{desMargin}}; }"}},"desPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ padding: {{desPadding}}; }"}},"offerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ color: {{offerColor}}; }"}},"offerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ font-size: {{offerSize}}; }"}},"offerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ margin: {{offerMargin}}; }"}},"offerTagColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ color: {{offerTagColor}}; }"}},"offerTagSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ font-size: {{offerTagSize}}; }"}},"offerTagMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ margin: {{offerTagMargin}}; }"}},"buttonColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ color: {{buttonColor}}; }"}},"buttonHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a:hover{ color: {{buttonHoverColor}}; }"}},"buttonSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ font-size: {{buttonSize}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ margin: {{buttonMargin}}; }"}}}}'),nl=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var al=rl.name,ll=rl.category,il=rl.title,cl=rl.description,sl=rl.keywords,ul=rl.attributes,dl=rl.supports,ml={title:(0,ue.__)(il,"woolentor"),description:(0,ue.__)(cl,"woolentor"),icon:React.createElement(de.Icon,{icon:nl}),keywords:sl,attributes:ul,supports:dl,edit:ol,save:function(){return null}};function pl(e){return pl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pl(e)}function gl(e){return function(e){if(Array.isArray(e))return fl(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return fl(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?fl(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fl(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function bl(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,yl(r.key),r)}}function yl(e){var t=function(e,t){if("object"!=pl(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=pl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pl(t)?t:String(t)}function Rl(e,t,o){return t=wl(t),function(e,t){if(t&&("object"===pl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_l()?Reflect.construct(t,o||[],wl(e).constructor):t.apply(e,o))}function _l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_l=function(){return!!e})()}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wl(e)}function hl(e,t){return hl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hl(e,t)}var El=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Rl(this,t,[e])).state={activeClass:!1},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hl(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.style,l=r.bgProperty,i=function(e,t,o){var a=gl(r.markerList);a[o][t]=e,n({markerList:a})};return r.markerList.length&&(e=r.markerList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.markerList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=gl(r.markerList);t.splice(e,1),n({markerList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Marker Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Marker Title","woolentor"),value:r.markerList[o].title,onChange:function(e){return i(e,"title",o)}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Marker Content","woolentor"),value:r.markerList[o].content,onChange:function(e){return i(e,"content",o)}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Horizontal Postion","woolentor"),value:r.markerList[o].horizontal,onChange:function(e){return i(e,"horizontal",o)},min:-1e3,step:1,max:1e3}),React.createElement(de.RangeControl,{label:(0,ue.__)("Vertical Postion","woolentor"),value:r.markerList[o].verticle,onChange:function(e){return i(e,"verticle",o)},min:-1e3,step:1,max:1e3}))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Image","woolentor"),initialOpen:!0},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"bgProperty",setAttributes:n,bgProperty:l})),React.createElement(Vt,{title:(0,ue.__)("Marker","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:a,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"},{label:(0,ue.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return n({style:e})}}),e,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=gl(r.markerList);e.push({title:(0,ue.__)("Marker Item #"+(r.markerList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({markerList:e}),t.setState({activeClass:r.markerList.length})}.bind(this)},(0,ue.__)("Add Marker","woolentor")))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Marker","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerColor,onChange:function(e){return n({markerColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerBGColor,onChange:function(e){return n({markerBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerBorderColor,onChange:function(e){return n({markerBorderColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:r.markerBorderRadius,attributesKey:"markerBorderRadius",setAttributes:n}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:r.markerPadding,attributesKey:"markerPadding",setAttributes:n})),React.createElement(Vt,{title:(0,ue.__)("Content Area","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerContentBGColor,onChange:function(e){return n({markerContentBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:r.markerContentBorderRadius,attributesKey:"markerContentBorderRadius",setAttributes:n}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:r.markerContentPadding,attributesKey:"markerContentPadding",setAttributes:n})),React.createElement(Vt,{title:(0,ue.__)("Marker Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerTitleColor,onChange:function(e){return n({markerTitleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerTitleSize,fallbackFontSize:r.markerTitleSize,onChange:function(e){return n({markerTitleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:r.markerTitleMargin,attributesKey:"markerTitleMargin",setAttributes:n})),React.createElement(Vt,{title:(0,ue.__)("Marker Description","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.markerDescriptionColor,onChange:function(e){return n({markerDescriptionColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerDescriptionSize,fallbackFontSize:r.markerDescriptionSize,onChange:function(e){return n({markerDescriptionSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:r.markerDescriptionMargin,attributesKey:"markerDescriptionMargin",setAttributes:n}))))}}],r&&bl(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const vl=El;function Ol(e){return Ol="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ol(e)}function Pl(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Cl(r.key),r)}}function Cl(e){var t=function(e,t){if("object"!=Ol(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ol(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ol(t)?t:String(t)}function Bl(e,t,o){return t=Wl(t),function(e,t){if(t&&("object"===Ol(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Al()?Reflect.construct(t,o||[],Wl(e).constructor):t.apply(e,o))}function Al(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Al=function(){return!!e})()}function Wl(e){return Wl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Wl(e)}function Sl(e,t){return Sl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sl(e,t)}var kl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Bl(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sl(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.bgProperty;""==i&&a({blockUniqId:l});var s,u,d,m=Gt()((s={},u="wlb-marker-style-".concat(o.style),d=o.style,(u=Cl(u))in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-".concat(i)),p=".wlb-marker-style-".concat(o.style,"{\n\t\t\t").concat(c.imageUrl&&"background-image:url("+c.imageUrl+");","\n\t\t\t").concat(c.position&&"background-position:"+c.position+";","\n\t\t\t").concat(c.attachment&&"background-attachment:"+c.attachment+";","\n\t\t\t").concat(c.repeat&&"background-repeat:"+c.repeat+";","\n\t\t\t").concat(c.size&&"background-size:"+c.size+";","\n\t\t}"),g=Be(o,t,i),f=o.markerList.map((function(e,t){return React.createElement("div",{key:t,className:"wlb_image_pointer",style:{left:"".concat(e.horizontal,"%"),top:"".concat(e.verticle,"%")}},React.createElement("div",{className:"wlb_pointer_box"},e.title&&React.createElement("h4",null,e.title),e.content&&React.createElement("p",null,e.content)))}));return React.createElement(De.Fragment,null,n&&React.createElement(vl,this.props),React.createElement("div",{className:r},React.createElement("div",{className:m},f)),React.createElement("style",{type:"text/css"},p),g)}}],r&&Pl(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Tl=kl,xl=JSON.parse('{"name":"woolentor/image-marker","category":"woolentor-blocks","title":"WL : Image Marker","description":"Display image marker.","keywords":["woolentor","shop idicator","image indicator","marker","image marker"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"bgProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"style":{"type":"string","default":"1"},"markerList":{"type":"array","default":[{"title":"Marker One","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":50,"verticle":15},{"title":"Marker Two","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":40,"verticle":20},{"title":"Marker Three","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":60,"verticle":30}]},"markerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer::before { color: {{markerColor}}; }"}},"markerBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { background-color: {{markerBGColor}}; }"}},"markerBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-color: {{markerBorderColor}}; }"}},"markerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-radius: {{markerBorderRadius}}; }"}},"markerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { padding: {{markerPadding}}; }"}},"markerContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { background-color: {{markerContentBGColor}}; }"}},"markerContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { border-radius: {{markerContentBorderRadius}}; }"}},"markerContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { padding: {{markerContentPadding}}; }"}},"markerTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { color: {{markerTitleColor}}; }"}},"markerTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { font-size: {{markerTitleSize}}; }"}},"markerTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { margin: {{markerTitleMargin}}; }"}},"markerDescriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { color: {{markerDescriptionColor}}; }"}},"markerDescriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { font-size: {{markerDescriptionSize}}; }"}},"markerDescriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { margin: {{markerDescriptionMargin}}; }"}}}}'),Ll=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 193.826 193.826",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M191.495,55.511L137.449,1.465c-1.951-1.953-5.119-1.953-7.07,0l-0.229,0.229c-3.314,3.313-5.14,7.72-5.14,12.406 c0,3.019,0.767,5.916,2.192,8.485l-56.55,48.533c-4.328-3.868-9.852-5.985-15.703-5.985c-6.305,0-12.232,2.455-16.689,6.913 l-0.339,0.339c-1.953,1.952-1.953,5.118,0,7.07l32.378,32.378l-31.534,31.533c-0.631,0.649-15.557,16.03-25.37,28.27 c-9.345,11.653-11.193,13.788-11.289,13.898c-1.735,1.976-1.639,4.956,0.218,6.822c0.973,0.977,2.256,1.471,3.543,1.471 c1.173,0,2.349-0.41,3.295-1.237c0.083-0.072,2.169-1.885,13.898-11.289c12.238-9.813,27.619-24.74,28.318-25.421l31.483-31.483 l30.644,30.644c0.976,0.977,2.256,1.465,3.535,1.465s2.56-0.488,3.535-1.465l0.339-0.339c4.458-4.457,6.913-10.385,6.913-16.689 c0-5.851-2.118-11.375-5.985-15.703l48.533-56.55c2.569,1.425,5.466,2.192,8.485,2.192c4.687,0,9.093-1.825,12.406-5.14l0.229-0.229 C193.448,60.629,193.448,57.463,191.495,55.511z"}));var Nl=xl.name,zl=xl.category,jl=xl.title,Il=xl.description,Ml=xl.supports,Fl=xl.keywords,Hl=xl.attributes,Dl={title:(0,ue.__)(jl,"woolentor"),description:(0,ue.__)(Il,"woolentor"),icon:React.createElement(de.Icon,{icon:Ll}),keywords:Fl,supports:Ml,attributes:Hl,edit:Tl,save:function(){return null}};const ql=function(e){var t=e.attributes,o=e.setAttributes,r=t.title,n=t.subTitle,a=t.layout,l=t.featureImage;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:a,options:[{label:(0,ue.__)("Layout One","woolentor"),value:"1"},{label:(0,ue.__)("Layout Two","woolentor"),value:"2"},{label:(0,ue.__)("Layout Three","woolentor"),value:"3"},{label:(0,ue.__)("Layout Four","woolentor"),value:"4"},{label:(0,ue.__)("Layout Five","woolentor"),value:"5"}],onChange:function(e){return o({layout:e})}}),React.createElement(Jo,{title:(0,ue.__)("Image","woolentor"),ImageData:l,attribute:"featureImage"}),React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),value:r,onChange:function(e){return o({title:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Sub Title","woolentor"),value:n,onChange:function(e){return o({subTitle:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor")},React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBorderColor,onChange:function(e){return o({areaBorderColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaHoverBorderColor,onChange:function(e){return o({areaHoverBorderColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Sub Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}))))};function Gl(e){return Gl="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gl(e)}function Kl(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ul(r.key),r)}}function Ul(e){var t=function(e,t){if("object"!=Gl(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Gl(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Gl(t)?t:String(t)}function Ql(e,t,o){return t=Yl(t),function(e,t){if(t&&("object"===Gl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vl()?Reflect.construct(t,o||[],Yl(e).constructor):t.apply(e,o))}function Vl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vl=function(){return!!e})()}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yl(e)}function Zl(e,t){return Zl=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zl(e,t)}var Jl=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ql(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zl(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(wt.BlockControls,null,React.createElement(wt.AlignmentToolbar,{value:t.textAlignment,onChange:function(e){return o({textAlignment:e})}})))}}],r&&Kl(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Xl=Jl;function $l(e){return $l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$l(e)}function ei(e,t,o){return(t=oi(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ti(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,oi(r.key),r)}}function oi(e){var t=function(e,t){if("object"!=$l(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=$l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$l(t)?t:String(t)}function ri(e,t,o){return t=ai(t),function(e,t){if(t&&("object"===$l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ni()?Reflect.construct(t,o||[],ai(e).constructor):t.apply(e,o))}function ni(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ni=function(){return!!e})()}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ai(e)}function li(e,t){return li=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},li(e,t)}var ii=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ri(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&li(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.className,r=e.attributes,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=r.blockUniqId,c=r.featureImage;""==i&&a({blockUniqId:l});var s=Gt()(o,ei({},"woolentor-blocks ht-feature-wrap ht-feature-style-"+r.layout,r.layout),ei({},"woolentor-text-align-"+r.textAlignment,r.textAlignment),"woolentorblock-".concat(i)),u=Be(r,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(ql,this.props),n&&React.createElement(Xl,this.props),React.createElement("div",{className:s},React.createElement("div",{className:"ht-feature-inner"},c.url&&React.createElement("div",{className:"ht-feature-img"},React.createElement("img",{src:c.url,alt:r.title})),React.createElement("div",{className:"ht-feature-content"},r.title&&React.createElement("h4",null,r.title),r.subTitle&&React.createElement("p",null,r.subTitle)))),u)}}],r&&ti(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ci=ii,si=JSON.parse('{"name":"woolentor/store-feature","category":"woolentor-blocks","title":"WL : Store Feature","description":"Display store feature.","keywords":["woolentor","shop feature","feature","store"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"layout":{"type":"string","default":"1"},"featureImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Free shipping"},"subTitle":{"type":"string","default":"Start from $100"},"textAlignment":{"type":"string","default":"center"},"areaBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-feature-inner { border-color: {{areaBorderColor}}; }"}},"areaHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap:hover .ht-feature-inner { border-color: {{areaHoverBorderColor}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap { background-color: {{areaBackgroundColor}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { color: {{subTitleColor}}; }"}},"subTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { font-size: {{subTitleSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { margin: {{subTitleMargin}}; }"}}}}'),ui=React.createElement("svg",{viewBox:"-27 0 512 512.00001",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m399.996094 0h-341.996094c-31.980469 0-58 26.019531-58 58v369.996094c0 16.542968 13.457031 30 30 30h131.332031c5.523438 0 10-4.476563 10-10 0-5.523438-4.476562-10-10-10h-131.332031c-5.515625 0-10-4.484375-10-10v-369.996094c0-20.953125 17.046875-38 38-38h298.234375c-8.855469 10.1875-14.238281 23.472656-14.238281 38v322.265625c0 9.226563-7.503906 16.730469-16.730469 16.730469-7.210937 0-13.589844-4.597656-15.875-11.4375l-15.070313-45.21875c-4.253906-12.765625-16.15625-21.339844-29.609374-21.339844-17.210938 0-31.210938 14-31.210938 31.207031v7.789063h-51.832031c-5.523438 0-10 4.480468-10 10 0 5.523437 4.476562 10 10 10h51.832031v49.75c0 14.765625 2.878906 29.164062 8.558594 42.789062l14.710937 35.308594c1.601563 3.839844 5.316407 6.15625 9.234375 6.15625 1.28125 0 2.585938-.246094 3.839844-.769531 5.101562-2.125 7.511719-7.980469 5.386719-13.078125l-14.710938-35.308594c-4.65625-11.175781-7.019531-22.984375-7.019531-35.09375v-77.539062c0-6.183594 5.027344-11.210938 11.210938-11.210938 4.832031 0 9.109374 3.078125 10.636718 7.664062l15.070313 45.21875c5.007812 15.019532 19.011719 25.113282 34.847656 25.113282 20.253906 0 36.730469-16.476563 36.730469-36.730469v-171.449219l13.363281 13.335938c23.84375 23.796875 36.972656 55.457031 36.972656 89.140625v106.300781c0 27.535156-6.238281 55.238281-18.035156 80.117188-2.367187 4.988281-.238281 10.953124 4.75 13.320312s10.953125.242188 13.320313-4.75c13.058593-27.539062 19.964843-58.207031 19.964843-88.6875v-106.300781c0-39.035157-15.214843-75.71875-42.84375-103.296875l-27.492187-27.441406v-9.554688h66c16.542968 0 30-13.457031 30-30v-83c0-31.980469-26.015625-58-58-58zm38 141c0 5.511719-4.484375 10-10 10h-66v-93c0-20.953125 17.046875-38 38-38s38 17.046875 38 38zm0 0"}),React.createElement("path",{d:"m205 437.996094c-2.632812 0-5.210938 1.070312-7.070312 2.929687-1.859376 1.863281-2.929688 4.441407-2.929688 7.070313 0 2.632812 1.070312 5.210937 2.929688 7.070312 1.859374 1.859375 4.4375 2.929688 7.070312 2.929688 2.628906 0 5.207031-1.070313 7.070312-2.929688 1.859376-1.859375 2.929688-4.4375 2.929688-7.070312 0-2.628906-1.070312-5.207032-2.929688-7.070313-1.863281-1.859375-4.441406-2.929687-7.070312-2.929687zm0 0"}),React.createElement("path",{d:"m137.667969 74c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m137.667969 194c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m117.667969 294h-44c-11.03125 0-20 8.96875-20 20v43.996094c0 11.03125 8.96875 20 20 20h44c11.027343 0 20-8.96875 20-20v-43.996094c0-11.03125-8.972657-20-20-20zm0 63.996094h-44v-43.996094h44l.011719 43.996094s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m296.332031 138c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-68.9375c-5.523437 0-10 4.476562-10 10s4.476563 10 10 10zm0 0"}),React.createElement("path",{d:"m181.667969 138c2.632812 0 5.210937-1.070312 7.070312-2.929688 1.859375-1.859374 2.929688-4.441406 2.929688-7.070312s-1.070313-5.210938-2.929688-7.070312c-1.859375-1.859376-4.4375-2.929688-7.070312-2.929688-2.640625 0-5.210938 1.070312-7.070313 2.929688-1.867187 1.859374-2.929687 4.441406-2.929687 7.070312s1.0625 5.210938 2.929687 7.070312c1.859375 1.859376 4.429688 2.929688 7.070313 2.929688zm0 0"}),React.createElement("path",{d:"m181.664062 258h114.667969c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-114.667969c-5.519531 0-10 4.476562-10 10s4.480469 10 10 10zm0 0"}));var di=si.name,mi=si.category,pi=si.title,gi=si.description,fi=si.keywords,bi=si.supports,yi=si.attributes,Ri={title:(0,ue.__)(pi,"woolentor"),description:(0,ue.__)(gi,"woolentor"),icon:React.createElement(de.Icon,{icon:ui}),keywords:fi,supports:bi,example:{attributes:{style:"1"}},attributes:yi,edit:ci,save:function(){return null}},_i=[{label:(0,ue.__)("H1","woolentor"),value:"h1"},{label:(0,ue.__)("H2","woolentor"),value:"h2"},{label:(0,ue.__)("H3","woolentor"),value:"h3"},{label:(0,ue.__)("H4","woolentor"),value:"h4"},{label:(0,ue.__)("H5","woolentor"),value:"h5"},{label:(0,ue.__)("H6","woolentor"),value:"h6"},{label:(0,ue.__)("P","woolentor"),value:"p"},{label:(0,ue.__)("div","woolentor"),value:"div"},{label:(0,ue.__)("span","woolentor"),value:"span"}],wi=[{label:(0,ue.__)("None","woolentor"),value:""},{label:(0,ue.__)("Solid","woolentor"),value:"solid"},{label:(0,ue.__)("Double","woolentor"),value:"double"},{label:(0,ue.__)("Dotted","woolentor"),value:"dotted"},{label:(0,ue.__)("Dashed","woolentor"),value:"dashed"},{label:(0,ue.__)("Groove","woolentor"),value:"groove"},{label:(0,ue.__)("Inset","woolentor"),value:"inset"},{label:(0,ue.__)("Outset","woolentor"),value:"outset"},{label:(0,ue.__)("Ridge","woolentor"),value:"ridge"}];function hi(e){return hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hi(e)}function Ei(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function vi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(o),!0).forEach((function(t){Oi(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ei(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Oi(e,t,o){return r=function(e,t){if("object"!=hi(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==hi(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}function Pi(e){return function(e){if(Array.isArray(e))return Bi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ci(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ci(e,t){if(e){if("string"==typeof e)return Bi(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bi(e,t):void 0}}function Bi(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}(0,ue.__)("Recent Products","woolentor"),(0,ue.__)("Featured Products","woolentor"),(0,ue.__)("Best Selling Products","woolentor"),(0,ue.__)("Sale Products","woolentor"),(0,ue.__)("Top Rated Products","woolentor"),(0,ue.__)("Mixed order Products","woolentor"),(0,ue.__)("Descending","woolentor"),(0,ue.__)("Ascending","woolentor"),(0,ue.__)("None","woolentor"),(0,ue.__)("ID","woolentor"),(0,ue.__)("Date","woolentor"),(0,ue.__)("Name","woolentor"),(0,ue.__)("Title","woolentor"),(0,ue.__)("Comment count","woolentor"),(0,ue.__)("Random","woolentor"),(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-alignleft"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-aligncenter"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-alignright"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"editor-justify"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"desktop"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"laptop"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"tablet"})),(0,ue.__)(React.createElement(de.Dashicon,{icon:"smartphone"}));const Ai=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||Ci(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=(o.columns,o.noGutter),c=function(e,t,n){var a=o.brandLogoList.map((function(o,r){return r===n?vi(vi({},o),{},Oi({},t,"image"===t?vi(vi({},o.image),e):e)):o}));r({brandLogoList:a})};return o.brandLogoList.length>0&&(t=o.brandLogoList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.brandLogoList[t].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,ue.__)("Delete Brand","woolentor"),onClick:function(){return function(e){var t=Pi(o.brandLogoList);t.splice(e,1),r({brandLogoList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Brand Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Brand Title","woolentor"),value:o.brandLogoList[t].title,onChange:function(e){return c(e,"title",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Jo,{title:(0,ue.__)("Choose Image","woolentor"),ImageData:o.brandLogoList[t].image,onChange:function(e){return c(e,"image",t)}})),React.createElement(de.TextControl,{label:(0,ue.__)("Brand Link","woolentor"),value:o.brandLogoList[t].link,placeholder:(0,ue.__)("https://your-site.com","woolentor"),onChange:function(e){return c(e,"link",t)}}))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Brand Logo","woolentor"),initialOpen:!0},t,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Pi(o.brandLogoList);e.push({title:(0,ue.__)("Brand Item #"+(o.brandLogoList.length+1),"woolentor"),image:{id:"",url:""},link:""}),r({brandLogoList:e}),l(o.brandLogoList.length)}.bind(void 0)},(0,ue.__)("Add Brand","woolentor"))),React.createElement(Vt,{title:(0,ue.__)("Brand Option","woolentor")},!0!==o.slider&&React.createElement(React.Fragment,null,React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:i,help:i?(0,ue.__)("Enable No Gutters.","woolentor"):(0,ue.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return r({noGutter:!i})}}),!i&&React.createElement(de.RangeControl,{label:(0,ue.__)("Gutter Spacing","woolentor"),value:o.itemSpace,onChange:function(e){return r({itemSpace:e})},min:0,step:1,max:200})),React.createElement(io,{label:(0,ue.__)("Slider","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.slider,onChange:function(){return r({slider:!o.slider})}}))),!0===o.slider&&React.createElement(Vt,{title:(0,ue.__)("Slider Option","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:o.sliderItems,onChange:function(e){return r({sliderItems:e})},min:1,step:1,max:100}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.arrows,onChange:function(){return r({arrows:!o.arrows})}})),React.createElement(io,{label:(0,ue.__)("Slider dots","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.dots,onChange:function(){return r({dots:!o.dots})}})),React.createElement(io,{label:(0,ue.__)("Pause on Hover?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.pauseOnHover,onChange:function(){return r({pauseOnHover:!o.pauseOnHover})}})),React.createElement(io,{label:(0,ue.__)("Slider auto play","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:o.autoplay,onChange:function(){return r({autoplay:!o.autoplay})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:o.autoplaySpeed,onChange:function(e){return r({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:o.animationSpeed,onChange:function(e){return r({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:o.scrollColumns,onChange:function(e){return r({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(go,{label:(0,ue.__)("Tablet Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:o.tabletDisplayColumns,onChange:function(e){return r({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:o.tabletScrollColumns,onChange:function(e){return r({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:o.tabletWidth,onChange:function(e){return r({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(go,{label:(0,ue.__)("Mobile Phone Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:o.mobileDisplayColumns,onChange:function(e){return r({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:o.mobileScrollColumns,onChange:function(e){return r({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:o.mobileWidth,onChange:function(e){return r({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Brand Item","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:o.singleItemAreaBorderType,options:wi,onChange:function(e){return r({singleItemAreaBorderType:e})}}),o.singleItemAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:o.singleItemAreaBorderWidth,attributesKey:"singleItemAreaBorderWidth",setAttributes:r}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:o.singleItemAreaBorderColor,onChange:function(e){return r({singleItemAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.singleItemAreaBorderRadius,attributesKey:"singleItemAreaBorderRadius",setAttributes:r}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.singleItemAreaMargin,attributesKey:"singleItemAreaMargin",setAttributes:r}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.singleItemAreaPadding,attributesKey:"singleItemAreaPadding",setAttributes:r}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"brandAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Brand Image","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:o.brandImageBorderType,options:wi,onChange:function(e){return r({brandImageBorderType:e})}}),o.brandImageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:o.brandImageBorderWidth,attributesKey:"brandImageBorderWidth",setAttributes:r}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:o.brandImageBorderColor,onChange:function(e){return r({brandImageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.brandImageBorderRadius,attributesKey:"brandImageBorderRadius",setAttributes:r})),!0===o.slider&&React.createElement(Vt,{title:(0,ue.__)("Slider Control","woolentor")},React.createElement(go,{label:(0,ue.__)("Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.navigationColor,onChange:function(e){return r({navigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:o.navigationBGColor,onChange:function(e){return r({navigationBGColor:e})}})),React.createElement(zr,{value:o.navigationBorder,onChange:function(e){return r({navigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.navigationHoverColor,onChange:function(e){return r({navigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:o.navigationHoverBGColor,onChange:function(e){return r({navigationHoverBGColor:e})}})),React.createElement(zr,{value:o.navigationHoverBorder,onChange:function(e){return r({navigationHoverBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Pagination","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Position","woolentor"),value:o.paginationPosition,onChange:function(e){return r({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(Dt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.paginationColor,onChange:function(e){return r({paginationColor:e})}})),React.createElement(zr,{value:o.paginationBorder,onChange:function(e){return r({paginationBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.paginationActiveColor,onChange:function(e){return r({paginationActiveColor:e})}})),React.createElement(zr,{value:o.paginationActiveBorder,onChange:function(e){return r({paginationActiveBorder:e})}}))))))};var Wi=function(){return Wi=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Wi.apply(this,arguments)};function Si(e,t,o){if(o||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var ki=o(833),Ti=o.n(ki),xi="-ms-",Li="-moz-",Ni="-webkit-",zi="comm",ji="rule",Ii="decl",Mi="@import",Fi="@keyframes",Hi="@layer",Di=Math.abs,qi=String.fromCharCode,Gi=Object.assign;function Ki(e){return e.trim()}function Ui(e,t){return(e=t.exec(e))?e[0]:e}function Qi(e,t,o){return e.replace(t,o)}function Vi(e,t,o){return e.indexOf(t,o)}function Yi(e,t){return 0|e.charCodeAt(t)}function Zi(e,t,o){return e.slice(t,o)}function Ji(e){return e.length}function Xi(e){return e.length}function $i(e,t){return t.push(e),e}function ec(e,t){return e.filter((function(e){return!Ui(e,t)}))}var tc=1,oc=1,rc=0,nc=0,ac=0,lc="";function ic(e,t,o,r,n,a,l,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:tc,column:oc,length:l,return:"",siblings:i}}function cc(e,t){return Gi(ic("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function sc(e){for(;e.root;)e=cc(e.root,{children:[e]});$i(e,e.siblings)}function uc(){return ac=nc>0?Yi(lc,--nc):0,oc--,10===ac&&(oc=1,tc--),ac}function dc(){return ac=nc<rc?Yi(lc,nc++):0,oc++,10===ac&&(oc=1,tc++),ac}function mc(){return Yi(lc,nc)}function pc(){return nc}function gc(e,t){return Zi(lc,e,t)}function fc(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function bc(e){return Ki(gc(nc-1,_c(91===e?e+2:40===e?e+1:e)))}function yc(e){for(;(ac=mc())&&ac<33;)dc();return fc(e)>2||fc(ac)>3?"":" "}function Rc(e,t){for(;--t&&dc()&&!(ac<48||ac>102||ac>57&&ac<65||ac>70&&ac<97););return gc(e,pc()+(t<6&&32==mc()&&32==dc()))}function _c(e){for(;dc();)switch(ac){case e:return nc;case 34:case 39:34!==e&&39!==e&&_c(ac);break;case 40:41===e&&_c(e);break;case 92:dc()}return nc}function wc(e,t){for(;dc()&&e+ac!==57&&(e+ac!==84||47!==mc()););return"/*"+gc(t,nc-1)+"*"+qi(47===e?e:dc())}function hc(e){for(;!fc(mc());)dc();return gc(e,nc)}function Ec(e,t){for(var o="",r=0;r<e.length;r++)o+=t(e[r],r,e,t)||"";return o}function vc(e,t,o,r){switch(e.type){case Hi:if(e.children.length)break;case Mi:case Ii:return e.return=e.return||e.value;case zi:return"";case Fi:return e.return=e.value+"{"+Ec(e.children,r)+"}";case ji:if(!Ji(e.value=e.props.join(",")))return""}return Ji(o=Ec(e.children,r))?e.return=e.value+"{"+o+"}":""}function Oc(e,t,o){switch(function(e,t){return 45^Yi(e,0)?(((t<<2^Yi(e,0))<<2^Yi(e,1))<<2^Yi(e,2))<<2^Yi(e,3):0}(e,t)){case 5103:return Ni+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ni+e+e;case 4789:return Li+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ni+e+Li+e+xi+e+e;case 5936:switch(Yi(e,t+11)){case 114:return Ni+e+xi+Qi(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ni+e+xi+Qi(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ni+e+xi+Qi(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Ni+e+xi+e+e;case 6165:return Ni+e+xi+"flex-"+e+e;case 5187:return Ni+e+Qi(e,/(\w+).+(:[^]+)/,Ni+"box-$1$2"+xi+"flex-$1$2")+e;case 5443:return Ni+e+xi+"flex-item-"+Qi(e,/flex-|-self/g,"")+(Ui(e,/flex-|baseline/)?"":xi+"grid-row-"+Qi(e,/flex-|-self/g,""))+e;case 4675:return Ni+e+xi+"flex-line-pack"+Qi(e,/align-content|flex-|-self/g,"")+e;case 5548:return Ni+e+xi+Qi(e,"shrink","negative")+e;case 5292:return Ni+e+xi+Qi(e,"basis","preferred-size")+e;case 6060:return Ni+"box-"+Qi(e,"-grow","")+Ni+e+xi+Qi(e,"grow","positive")+e;case 4554:return Ni+Qi(e,/([^-])(transform)/g,"$1"+Ni+"$2")+e;case 6187:return Qi(Qi(Qi(e,/(zoom-|grab)/,Ni+"$1"),/(image-set)/,Ni+"$1"),e,"")+e;case 5495:case 3959:return Qi(e,/(image-set\([^]*)/,Ni+"$1$`$1");case 4968:return Qi(Qi(e,/(.+:)(flex-)?(.*)/,Ni+"box-pack:$3"+xi+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ni+e+e;case 4200:if(!Ui(e,/flex-|baseline/))return xi+"grid-column-align"+Zi(e,t)+e;break;case 2592:case 3360:return xi+Qi(e,"template-","")+e;case 4384:case 3616:return o&&o.some((function(e,o){return t=o,Ui(e.props,/grid-\w+-end/)}))?~Vi(e+(o=o[t].value),"span",0)?e:xi+Qi(e,"-start","")+e+xi+"grid-row-span:"+(~Vi(o,"span",0)?Ui(o,/\d+/):+Ui(o,/\d+/)-+Ui(e,/\d+/))+";":xi+Qi(e,"-start","")+e;case 4896:case 4128:return o&&o.some((function(e){return Ui(e.props,/grid-\w+-start/)}))?e:xi+Qi(Qi(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Qi(e,/(.+)-inline(.+)/,Ni+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ji(e)-1-t>6)switch(Yi(e,t+1)){case 109:if(45!==Yi(e,t+4))break;case 102:return Qi(e,/(.+:)(.+)-([^]+)/,"$1"+Ni+"$2-$3$1"+Li+(108==Yi(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Vi(e,"stretch",0)?Oc(Qi(e,"stretch","fill-available"),t,o)+e:e}break;case 5152:case 5920:return Qi(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,o,r,n,a,l,i){return xi+o+":"+r+i+(n?xi+o+"-span:"+(a?l:+l-+r)+i:"")+e}));case 4949:if(121===Yi(e,t+6))return Qi(e,":",":"+Ni)+e;break;case 6444:switch(Yi(e,45===Yi(e,14)?18:11)){case 120:return Qi(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Ni+(45===Yi(e,14)?"inline-":"")+"box$3$1"+Ni+"$2$3$1"+xi+"$2box$3")+e;case 100:return Qi(e,":",":"+xi)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Qi(e,"scroll-","scroll-snap-")+e}return e}function Pc(e,t,o,r){if(e.length>-1&&!e.return)switch(e.type){case Ii:return void(e.return=Oc(e.value,e.length,o));case Fi:return Ec([cc(e,{value:Qi(e.value,"@","@"+Ni)})],r);case ji:if(e.length)return function(e,t){return e.map(t).join("")}(o=e.props,(function(t){switch(Ui(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":sc(cc(e,{props:[Qi(t,/:(read-\w+)/,":"+Li+"$1")]})),sc(cc(e,{props:[t]})),Gi(e,{props:ec(o,r)});break;case"::placeholder":sc(cc(e,{props:[Qi(t,/:(plac\w+)/,":"+Ni+"input-$1")]})),sc(cc(e,{props:[Qi(t,/:(plac\w+)/,":"+Li+"$1")]})),sc(cc(e,{props:[Qi(t,/:(plac\w+)/,xi+"input-$1")]})),sc(cc(e,{props:[t]})),Gi(e,{props:ec(o,r)})}return""}))}}function Cc(e){return function(e){return lc="",e}(Bc("",null,null,null,[""],e=function(e){return tc=oc=1,rc=Ji(lc=e),nc=0,[]}(e),0,[0],e))}function Bc(e,t,o,r,n,a,l,i,c){for(var s=0,u=0,d=l,m=0,p=0,g=0,f=1,b=1,y=1,R=0,_="",w=n,h=a,E=r,v=_;b;)switch(g=R,R=dc()){case 40:if(108!=g&&58==Yi(v,d-1)){-1!=Vi(v+=Qi(bc(R),"&","&\f"),"&\f",Di(s?i[s-1]:0))&&(y=-1);break}case 34:case 39:case 91:v+=bc(R);break;case 9:case 10:case 13:case 32:v+=yc(g);break;case 92:v+=Rc(pc()-1,7);continue;case 47:switch(mc()){case 42:case 47:$i(Wc(wc(dc(),pc()),t,o,c),c);break;default:v+="/"}break;case 123*f:i[s++]=Ji(v)*y;case 125*f:case 59:case 0:switch(R){case 0:case 125:b=0;case 59+u:-1==y&&(v=Qi(v,/\f/g,"")),p>0&&Ji(v)-d&&$i(p>32?Sc(v+";",r,o,d-1,c):Sc(Qi(v," ","")+";",r,o,d-2,c),c);break;case 59:v+=";";default:if($i(E=Ac(v,t,o,s,u,n,i,_,w=[],h=[],d,a),a),123===R)if(0===u)Bc(v,t,E,E,w,a,d,i,h);else switch(99===m&&110===Yi(v,3)?100:m){case 100:case 108:case 109:case 115:Bc(e,E,E,r&&$i(Ac(e,E,E,0,0,n,i,_,n,w=[],d,h),h),n,h,d,i,r?w:h);break;default:Bc(v,E,E,E,[""],h,0,i,h)}}s=u=p=0,f=y=1,_=v="",d=l;break;case 58:d=1+Ji(v),p=g;default:if(f<1)if(123==R)--f;else if(125==R&&0==f++&&125==uc())continue;switch(v+=qi(R),R*f){case 38:y=u>0?1:(v+="\f",-1);break;case 44:i[s++]=(Ji(v)-1)*y,y=1;break;case 64:45===mc()&&(v+=bc(dc())),m=mc(),u=d=Ji(_=v+=hc(pc())),R++;break;case 45:45===g&&2==Ji(v)&&(f=0)}}return a}function Ac(e,t,o,r,n,a,l,i,c,s,u,d){for(var m=n-1,p=0===n?a:[""],g=Xi(p),f=0,b=0,y=0;f<r;++f)for(var R=0,_=Zi(e,m+1,m=Di(b=l[f])),w=e;R<g;++R)(w=Ki(b>0?p[R]+" "+_:Qi(_,/&\f/g,p[R])))&&(c[y++]=w);return ic(e,t,o,0===n?ji:i,c,s,u,d)}function Wc(e,t,o,r){return ic(e,t,o,zi,qi(ac),Zi(e,2,-2),0,r)}function Sc(e,t,o,r,n){return ic(e,t,o,Ii,Zi(e,0,r),Zi(e,r+1,-1),r,n)}const kc={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var Tc="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",xc="active",Lc="data-styled-version",Nc="6.1.8",zc="/*!sc*/\n",jc="undefined"!=typeof window&&"HTMLElement"in window,Ic=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),Mc=(new Set,Object.freeze([])),Fc=Object.freeze({});var Hc=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Dc=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,qc=/(^-|-$)/g;function Gc(e){return e.replace(Dc,"-").replace(qc,"")}var Kc=/(a)(d)/gi,Uc=52,Qc=function(e){return String.fromCharCode(e+(e>25?39:97))};function Vc(e){var t,o="";for(t=Math.abs(e);t>Uc;t=t/Uc|0)o=Qc(t%Uc)+o;return(Qc(t%Uc)+o).replace(Kc,"$1-$2")}var Yc,Zc=5381,Jc=function(e,t){for(var o=t.length;o;)e=33*e^t.charCodeAt(--o);return e},Xc=function(e){return Jc(Zc,e)};function $c(e){return"string"==typeof e&&!0}var es="function"==typeof Symbol&&Symbol.for,ts=es?Symbol.for("react.memo"):60115,os=es?Symbol.for("react.forward_ref"):60112,rs={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ns={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},as={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ls=((Yc={})[os]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Yc[ts]=as,Yc);function is(e){return("type"in(t=e)&&t.type.$$typeof)===ts?as:"$$typeof"in e?ls[e.$$typeof]:rs;var t}var cs=Object.defineProperty,ss=Object.getOwnPropertyNames,us=Object.getOwnPropertySymbols,ds=Object.getOwnPropertyDescriptor,ms=Object.getPrototypeOf,ps=Object.prototype;function gs(e,t,o){if("string"!=typeof t){if(ps){var r=ms(t);r&&r!==ps&&gs(e,r,o)}var n=ss(t);us&&(n=n.concat(us(t)));for(var a=is(e),l=is(t),i=0;i<n.length;++i){var c=n[i];if(!(c in ns||o&&o[c]||l&&c in l||a&&c in a)){var s=ds(t,c);try{cs(e,c,s)}catch(e){}}}}return e}function fs(e){return"function"==typeof e}function bs(e){return"object"==typeof e&&"styledComponentId"in e}function ys(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Rs(e,t){if(0===e.length)return"";for(var o=e[0],r=1;r<e.length;r++)o+=t?t+e[r]:e[r];return o}function _s(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function ws(e,t,o){if(void 0===o&&(o=!1),!o&&!_s(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=ws(e[r],t[r]);else if(_s(t))for(var r in t)e[r]=ws(e[r],t[r]);return e}function hs(e,t){Object.defineProperty(e,"toString",{value:t})}function Es(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var vs=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,o=0;o<e;o++)t+=this.groupSizes[o];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var o=this.groupSizes,r=o.length,n=r;e>=n;)if((n<<=1)<0)throw Es(16,"".concat(e));this.groupSizes=new Uint32Array(n),this.groupSizes.set(o),this.length=n;for(var a=r;a<n;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=(a=0,t.length);a<i;a++)this.tag.insertRule(l,t[a])&&(this.groupSizes[e]++,l++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],o=this.indexOfGroup(e),r=o+t;this.groupSizes[e]=0;for(var n=o;n<r;n++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var o=this.groupSizes[e],r=this.indexOfGroup(e),n=r+o,a=r;a<n;a++)t+="".concat(this.tag.getRule(a)).concat(zc);return t},e}(),Os=new Map,Ps=new Map,Cs=1,Bs=function(e){if(Os.has(e))return Os.get(e);for(;Ps.has(Cs);)Cs++;var t=Cs++;return Os.set(e,t),Ps.set(t,e),t},As=function(e,t){Cs=t+1,Os.set(e,t),Ps.set(t,e)},Ws="style[".concat(Tc,"][").concat(Lc,'="').concat(Nc,'"]'),Ss=new RegExp("^".concat(Tc,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),ks=function(e,t,o){for(var r,n=o.split(","),a=0,l=n.length;a<l;a++)(r=n[a])&&e.registerName(t,r)},Ts=function(e,t){for(var o,r=(null!==(o=t.textContent)&&void 0!==o?o:"").split(zc),n=[],a=0,l=r.length;a<l;a++){var i=r[a].trim();if(i){var c=i.match(Ss);if(c){var s=0|parseInt(c[1],10),u=c[2];0!==s&&(As(u,s),ks(e,u,c[3]),e.getTag().insertRules(s,n)),n.length=0}else n.push(i)}}};function xs(){return o.nc}var Ls=function(e){var t=document.head,o=e||t,r=document.createElement("style"),n=function(e){var t=Array.from(e.querySelectorAll("style[".concat(Tc,"]")));return t[t.length-1]}(o),a=void 0!==n?n.nextSibling:null;r.setAttribute(Tc,xc),r.setAttribute(Lc,Nc);var l=xs();return l&&r.setAttribute("nonce",l),o.insertBefore(r,a),r},Ns=function(){function e(e){this.element=Ls(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,o=0,r=t.length;o<r;o++){var n=t[o];if(n.ownerNode===e)return n}throw Es(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),zs=function(){function e(e){this.element=Ls(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var o=document.createTextNode(t);return this.element.insertBefore(o,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),js=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Is=jc,Ms={isServer:!jc,useCSSOMInjection:!Ic},Fs=function(){function e(e,t,o){void 0===e&&(e=Fc),void 0===t&&(t={});var r=this;this.options=Wi(Wi({},Ms),e),this.gs=t,this.names=new Map(o),this.server=!!e.isServer,!this.server&&jc&&Is&&(Is=!1,function(e){for(var t=document.querySelectorAll(Ws),o=0,r=t.length;o<r;o++){var n=t[o];n&&n.getAttribute(Tc)!==xc&&(Ts(e,n),n.parentNode&&n.parentNode.removeChild(n))}}(this)),hs(this,(function(){return function(e){for(var t=e.getTag(),o=t.length,r="",n=function(o){var n=function(e){return Ps.get(e)}(o);if(void 0===n)return"continue";var a=e.names.get(n),l=t.getGroup(o);if(void 0===a||0===l.length)return"continue";var i="".concat(Tc,".g").concat(o,'[id="').concat(n,'"]'),c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(l).concat(i,'{content:"').concat(c,'"}').concat(zc)},a=0;a<o;a++)n(a);return r}(r)}))}return e.registerId=function(e){return Bs(e)},e.prototype.reconstructWithOptions=function(t,o){return void 0===o&&(o=!0),new e(Wi(Wi({},this.options),t),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,o=e.target;return e.isServer?new js(o):t?new Ns(o):new zs(o)}(this.options),new vs(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Bs(e),this.names.has(e))this.names.get(e).add(t);else{var o=new Set;o.add(t),this.names.set(e,o)}},e.prototype.insertRules=function(e,t,o){this.registerName(e,t),this.getTag().insertRules(Bs(e),o)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(Bs(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Hs=/&/g,Ds=/^\s*\/\/.*$/gm;function qs(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=qs(e.children,t)),e}))}function Gs(e){var t,o,r,n=void 0===e?Fc:e,a=n.options,l=void 0===a?Fc:a,i=n.plugins,c=void 0===i?Mc:i,s=function(e,r,n){return n.startsWith(o)&&n.endsWith(o)&&n.replaceAll(o,"").length>0?".".concat(t):e},u=c.slice();u.push((function(e){e.type===ji&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Hs,o).replace(r,s))})),l.prefix&&u.push(Pc),u.push(vc);var d=function(e,n,a,i){void 0===n&&(n=""),void 0===a&&(a=""),void 0===i&&(i="&"),t=i,o=n,r=new RegExp("\\".concat(o,"\\b"),"g");var c=e.replace(Ds,""),s=Cc(a||n?"".concat(a," ").concat(n," { ").concat(c," }"):c);l.namespace&&(s=qs(s,l.namespace));var d,m,p,g=[];return Ec(s,(d=u.concat((p=function(e){return g.push(e)},function(e){e.root||(e=e.return)&&p(e)})),m=Xi(d),function(e,t,o,r){for(var n="",a=0;a<m;a++)n+=d[a](e,t,o,r)||"";return n})),g};return d.hash=c.length?c.reduce((function(e,t){return t.name||Es(15),Jc(e,t.name)}),Zc).toString():"",d}var Ks=new Fs,Us=Gs(),Qs=ga().createContext({shouldForwardProp:void 0,styleSheet:Ks,stylis:Us}),Vs=(Qs.Consumer,ga().createContext(void 0));function Ys(){return(0,pa.useContext)(Qs)}function Zs(e){var t=(0,pa.useState)(e.stylisPlugins),o=t[0],r=t[1],n=Ys().styleSheet,a=(0,pa.useMemo)((function(){var t=n;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,n]),l=(0,pa.useMemo)((function(){return Gs({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:o})}),[e.enableVendorPrefixes,e.namespace,o]);(0,pa.useEffect)((function(){Ti()(o,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var i=(0,pa.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:l}}),[e.shouldForwardProp,a,l]);return ga().createElement(Qs.Provider,{value:i},ga().createElement(Vs.Provider,{value:l},e.children))}var Js=function(){function e(e,t){var o=this;this.inject=function(e,t){void 0===t&&(t=Us);var r=o.name+t.hash;e.hasNameForId(o.id,r)||e.insertRules(o.id,r,t(o.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,hs(this,(function(){throw Es(12,String(o.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Us),this.name+e.hash},e}(),Xs=function(e){return e>="A"&&e<="Z"};function $s(e){for(var t="",o=0;o<e.length;o++){var r=e[o];if(1===o&&"-"===r&&"-"===e[0])return e;Xs(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var eu=function(e){return null==e||!1===e||""===e},tu=function(e){var t,o,r=[];for(var n in e){var a=e[n];e.hasOwnProperty(n)&&!eu(a)&&(Array.isArray(a)&&a.isCss||fs(a)?r.push("".concat($s(n),":"),a,";"):_s(a)?r.push.apply(r,Si(Si(["".concat(n," {")],tu(a),!1),["}"],!1)):r.push("".concat($s(n),": ").concat((t=n,null==(o=a)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||t in kc||t.startsWith("--")?String(o).trim():"".concat(o,"px")),";")))}return r};function ou(e,t,o,r){return eu(e)?[]:bs(e)?[".".concat(e.styledComponentId)]:fs(e)?!fs(n=e)||n.prototype&&n.prototype.isReactComponent||!t?[e]:ou(e(t),t,o,r):e instanceof Js?o?(e.inject(o,r),[e.getName(r)]):[e]:_s(e)?tu(e):Array.isArray(e)?Array.prototype.concat.apply(Mc,e.map((function(e){return ou(e,t,o,r)}))):[e.toString()];var n}function ru(e){for(var t=0;t<e.length;t+=1){var o=e[t];if(fs(o)&&!bs(o))return!1}return!0}var nu=Xc(Nc),au=function(){function e(e,t,o){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===o||o.isStatic)&&ru(e),this.componentId=t,this.baseHash=Jc(nu,t),this.baseStyle=o,Fs.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,o){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=ys(r,this.staticRulesId);else{var n=Rs(ou(this.rules,e,t,o)),a=Vc(Jc(this.baseHash,n)>>>0);if(!t.hasNameForId(this.componentId,a)){var l=o(n,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,l)}r=ys(r,a),this.staticRulesId=a}else{for(var i=Jc(this.baseHash,o.hash),c="",s=0;s<this.rules.length;s++){var u=this.rules[s];if("string"==typeof u)c+=u;else if(u){var d=Rs(ou(u,e,t,o));i=Jc(i,d+s),c+=d}}if(c){var m=Vc(i>>>0);t.hasNameForId(this.componentId,m)||t.insertRules(this.componentId,m,o(c,".".concat(m),void 0,this.componentId)),r=ys(r,m)}}return r},e}(),lu=ga().createContext(void 0);lu.Consumer;var iu={};function cu(e,t,o){var r=bs(e),n=e,a=!$c(e),l=t.attrs,i=void 0===l?Mc:l,c=t.componentId,s=void 0===c?function(e,t){var o="string"!=typeof e?"sc":Gc(e);iu[o]=(iu[o]||0)+1;var r="".concat(o,"-").concat(function(e){return Vc(Xc(e)>>>0)}(Nc+o+iu[o]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):c,u=t.displayName,d=void 0===u?function(e){return $c(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):u,m=t.displayName&&t.componentId?"".concat(Gc(t.displayName),"-").concat(t.componentId):t.componentId||s,p=r&&n.attrs?n.attrs.concat(i).filter(Boolean):i,g=t.shouldForwardProp;if(r&&n.shouldForwardProp){var f=n.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;g=function(e,t){return f(e,t)&&b(e,t)}}else g=f}var y=new au(o,m,r?n.componentStyle:void 0);function R(e,t){return function(e,t,o){var r=e.attrs,n=e.componentStyle,a=e.defaultProps,l=e.foldedComponentIds,i=e.styledComponentId,c=e.target,s=ga().useContext(lu),u=Ys(),d=e.shouldForwardProp||u.shouldForwardProp,m=function(e,t,o){return void 0===o&&(o=Fc),e.theme!==o.theme&&e.theme||t||o.theme}(t,s,a)||Fc,p=function(e,t,o){for(var r,n=Wi(Wi({},t),{className:void 0,theme:o}),a=0;a<e.length;a+=1){var l=fs(r=e[a])?r(n):r;for(var i in l)n[i]="className"===i?ys(n[i],l[i]):"style"===i?Wi(Wi({},n[i]),l[i]):l[i]}return t.className&&(n.className=ys(n.className,t.className)),n}(r,t,m),g=p.as||c,f={};for(var b in p)void 0===p[b]||"$"===b[0]||"as"===b||"theme"===b&&p.theme===m||("forwardedAs"===b?f.as=p.forwardedAs:d&&!d(b,g)||(f[b]=p[b]));var y=function(e,t){var o=Ys();return e.generateAndInjectStyles(t,o.styleSheet,o.stylis)}(n,p),R=ys(l,i);return y&&(R+=" "+y),p.className&&(R+=" "+p.className),f[$c(g)&&!Hc.has(g)?"class":"className"]=R,f.ref=o,(0,pa.createElement)(g,f)}(_,e,t)}R.displayName=d;var _=ga().forwardRef(R);return _.attrs=p,_.componentStyle=y,_.displayName=d,_.shouldForwardProp=g,_.foldedComponentIds=r?ys(n.foldedComponentIds,n.styledComponentId):"",_.styledComponentId=m,_.target=r?n.target:e,Object.defineProperty(_,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var r=0,n=t;r<n.length;r++)ws(e,n[r],!0);return e}({},n.defaultProps,e):e}}),hs(_,(function(){return".".concat(_.styledComponentId)})),a&&gs(_,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),_}function su(e,t){for(var o=[e[0]],r=0,n=t.length;r<n;r+=1)o.push(t[r],e[r+1]);return o}new Set;var uu=function(e){return Object.assign(e,{isCss:!0})};function du(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(fs(e)||_s(e))return uu(ou(su(Mc,Si([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?ou(r):uu(ou(su(r,t)))}function mu(e,t,o){if(void 0===o&&(o=Fc),!t)throw Es(1,t);var r=function(r){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];return e(t,o,du.apply(void 0,Si([r],n,!1)))};return r.attrs=function(r){return mu(e,t,Wi(Wi({},o),{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return mu(e,t,Wi(Wi({},o),r))},r}var pu,gu,fu=function(e){return mu(cu,e)},bu=fu;function yu(e){return yu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yu(e)}function Ru(){return Ru=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ru.apply(this,arguments)}function _u(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function wu(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function hu(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?wu(Object(o),!0).forEach((function(t){Eu(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):wu(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Eu(e,t,o){return(t=Ou(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function vu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ou(r.key),r)}}function Ou(e){var t=function(e,t){if("object"!=yu(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=yu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yu(t)?t:String(t)}function Pu(e,t,o){return t=Bu(t),function(e,t){if(t&&("object"===yu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cu()?Reflect.construct(t,o||[],Bu(e).constructor):t.apply(e,o))}function Cu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cu=function(){return!!e})()}function Bu(e){return Bu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bu(e)}function Au(e,t){return Au=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Au(e,t)}Hc.forEach((function(e){bu[e]=fu(e)})),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=ru(e),Fs.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,o,r){var n=r(Rs(ou(this.rules,t,o,r)),""),a=this.componentId+e;o.insertRules(a,a,n)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,o,r){e>2&&Fs.registerId(this.componentId+e),this.removeStyles(e,o),this.createStyles(e,t,o,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),o=xs(),r=Rs([o&&'nonce="'.concat(o,'"'),"".concat(Tc,'="true"'),"".concat(Lc,'="').concat(Nc,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw Es(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw Es(2);var o=((t={})[Tc]="",t[Lc]=Nc,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=xs();return r&&(o.nonce=r),[ga().createElement("style",Wi({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new Fs({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw Es(2);return ga().createElement(Zs,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw Es(3)}}(),"__sc-".concat(Tc,"__");var Wu=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"130",height:"130",viewBox:"0 0 130 130"},React.createElement("image",{id:"woolentor-logo",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"})),Su=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Pu(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Au(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=o.blockUniqId;""==l&&n({blockUniqId:a});var i=function(e){var t=e.className,o=e.style,r=e.onClick;return React.createElement(de.Button,{className:t,style:hu(hu({},o),{},{display:"block"}),onClick:r},React.createElement("i",{className:"fa fa-angle-right"}))},c=function(e){var t=e.className,o=e.style,r=e.onClick;return React.createElement(de.Button,{className:t,style:hu(hu({},o),{},{display:"block"}),onClick:r},React.createElement("i",{className:"fa fa-angle-left"}))},s={dots:o.dots,infinite:!0,fade:!1,speed:o.animationSpeed,slidesToShow:o.sliderItems,slidesToScroll:o.scrollColumns,autoplay:o.autoplay,autoplaySpeed:o.autoplaySpeed,pauseOnHover:o.pauseOnHover,arrows:o.arrows,nextArrow:React.createElement(i,null),prevArrow:React.createElement(c,null),rtl:o.slIsrtl,responsive:[{breakpoint:o.tabletWidth,settings:{slidesToShow:o.tabletDisplayColumns,slidesToScroll:o.tabletScrollColumns}},{breakpoint:o.mobileWidth,settings:{slidesToShow:o.mobileDisplayColumns,slidesToScroll:o.mobileScrollColumns}}]},u=Gt()(t,"woolentorblock-brand-logo-"+l,Eu({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),Eu({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),Eu({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),Eu({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),d=Gt()(Eu({},"woolentor-grid",1!=o.slider),Eu({},"woolentor-no-gutters",!0===o.noGutter),Eu({},"woolentor-grid-slider",!0===o.slider)),m=bu.div(pu||(pu=_u(["\n\t\t\t& .woolentor-grid:not(.woolentor-no-gutters){\n\t\t\t\t","\n\t\t\t}\n\t\t"])),!o.noGutter&&"column-gap: "+o.itemSpace+"px;"),p=".woolentorblock-brand-logo-"+l,g=bu.div(gu||(gu=_u(["\n\t\t\t& .wl-single-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t& img,.woolentor-default-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t"])),je(o.singleItemAreaBorderType,"border-style"),Ie(o.singleItemAreaBorderWidth,"border-width"),je(o.singleItemAreaBorderColor,"border-color"),Ie(o.singleItemAreaBorderRadius,"border-radius"),Ie(o.singleItemAreaMargin,"margin"),Ie(o.singleItemAreaPadding,"padding"),je(o.brandAlignment,"text-align"),je(o.brandImageBorderType,"border-style"),Ie(o.brandImageBorderWidth,"border-width"),je(o.brandImageBorderColor,"border-color"),Ie(o.brandImageBorderRadius,"border-radius")),f="\n\t\t\t".concat(p," .product-slider .slick-arrow {\n\t\t\t\t").concat(je(o.navigationColor,"color"),"\n\t\t\t\t").concat(je(o.navigationBGColor,"background-color"),"\n\t\t\t\t").concat(Fe(o.navigationBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-arrow:hover {\n\t\t\t\t").concat(je(o.navigationHoverColor,"color"),"\n\t\t\t\t").concat(je(o.navigationHoverBGColor,"background-color"),"\n\t\t\t\t").concat(Fe(o.navigationHoverBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots{\n\t\t\t\t").concat(je(o.paginationPosition,"bottom","px"),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots li button {\n\t\t\t\t").concat(je(o.paginationColor,"background-color"),"\n\t\t\t\t").concat(Fe(o.paginationBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots li.slick-active button {\n\t\t\t\t").concat(je(o.paginationActiveColor,"background-color"),"\n\t\t\t\t").concat(Fe(o.paginationActiveBorder),"\n\t\t\t}\n\t\t"),b=o.brandLogoList.map((function(e,t){return React.createElement(g,{className:"woolentor-grid-column",key:t},React.createElement("div",{className:"wl-single-brand"},e.image.url?React.createElement("img",{src:e.image.url,alt:e.title}):React.createElement("div",{className:"woolentor-default-brand"},Wu)))}));return React.createElement(De.Fragment,null,r&&React.createElement(Ai,this.props),React.createElement(m,{className:u},React.createElement("div",{className:d},!0===o.slider?React.createElement(gn.A,Ru({},s,{className:"product-slider"}),b):b),React.createElement("style",{type:"text/css"},f)))}}],r&&vu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ku=Su,Tu=JSON.parse('{"name":"woolentor/brand-logo","category":"woolentor-blocks","title":"WL : Brand Logo","description":"Display brand logo.","keywords":["woolentor","logo","brand","brand logo"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"brandLogoList":{"type":"array","default":[{"title":"Brand Title One","image":{"id":"","url":""}},{"title":"Brand Title Two","image":{"id":"","url":""}},{"title":"Brand Title Three","image":{"id":"","url":""}}]},"columns":{"type":"object","default":{"desktop":6}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"slider":{"type":"boolean","default":false},"sliderItems":{"type":"number","default":5},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":3},"tabletDisplayColumns":{"type":"number","default":2},"tabletScrollColumns":{"type":"number","default":2},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"singleItemAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-style: {{singleItemAreaBorderType}}; }"}},"singleItemAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-width: {{singleItemAreaBorderWidth}}; }"}},"singleItemAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-color: {{singleItemAreaBorderColor}}; }"}},"singleItemAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-radius: {{singleItemAreaBorderRadius}}; }"}},"singleItemAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { margin: {{singleItemAreaMargin}}; }"}},"singleItemAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { padding: {{singleItemAreaPadding}}; }"}},"brandAlignment":{"type":"string","default":"center","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { text-align: {{brandAlignment}}; }"}},"brandImageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-style: {{brandImageBorderType}}; }"}},"brandImageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-width: {{brandImageBorderWidth}}; }"}},"brandImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-color: {{brandImageBorderColor}}; }"}},"brandImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-radius: {{brandImageBorderRadius}}; }"}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}}}}'),xu=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512"},React.createElement("path",{d:"M166,0H75C33.645,0,0,33.645,0,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75V75 C241,33.645,207.355,0,166,0z M211,166c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45V75c0-24.813,20.187-45,45-45h91 c24.813,0,45,20.187,45,45V166z"}),React.createElement("path",{d:"M437,271h-91c-41.355,0-75,33.645-75,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91 C512,304.645,478.355,271,437,271z M482,437c0,24.813-20.187,45-45,45h-91c-24.813,0-45-20.187-45-45v-91 c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45V437z"}),React.createElement("path",{d:"M437,0h-91c-41.355,0-75,33.645-75,75v91c0,57.897-47.103,105-105,105H75c-41.355,0-75,33.645-75,75v91 c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91c0-57.897,47.103-105,105-105h91c41.355,0,75-33.645,75-75V75 C512,33.645,478.355,0,437,0z M211,346v91c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45v-91c0-24.813,20.187-45,45-45 h91c20.827,0,40.568-4.741,58.2-13.2C215.741,305.432,211,325.173,211,346z M482,166c0,24.813-20.187,45-45,45h-91 c-20.827,0-40.568,4.741-58.2,13.2c8.459-17.632,13.2-37.373,13.2-58.2V75c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45 V166z"}));var Lu=Tu.name,Nu=Tu.category,zu=Tu.title,ju=Tu.description,Iu=Tu.keywords,Mu=Tu.supports,Fu=Tu.attributes,Hu={title:(0,ue.__)(zu,"woolentor"),description:(0,ue.__)(ju,"woolentor"),icon:React.createElement(de.Icon,{icon:xu}),keywords:Iu,supports:Mu,attributes:Fu,edit:ku,save:function(){return null}};function Du(e){return Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Du(e)}function qu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gu(r.key),r)}}function Gu(e){var t=function(e,t){if("object"!=Du(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Du(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Du(t)?t:String(t)}function Ku(e,t,o){return t=Qu(t),function(e,t){if(t&&("object"===Du(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Uu()?Reflect.construct(t,o||[],Qu(e).constructor):t.apply(e,o))}function Uu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Uu=function(){return!!e})()}function Qu(e){return Qu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qu(e)}function Vu(e,t){return Vu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vu(e,t)}var Yu=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ku(this,t,[e])}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vu(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.displayType,a=t.productCategory,l=t.productCategories,i=t.order,c=t.displayLimit,s=t.showCount,u=t.sliderOn,d=(t.columns,t.noGutter),m=t.itemSpace;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:r,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"},{label:(0,ue.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({style:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Category Display Type","woolentor"),value:n,options:[{label:(0,ue.__)("Single Category","woolentor"),value:"singleCat"},{label:(0,ue.__)("Multiple Categories","woolentor"),value:"multipleCat"},{label:(0,ue.__)("All Categories","woolentor"),value:"allCat"}],onChange:function(e){return o({displayType:e})}}),"singleCat"==n&&React.createElement(Ko,{title:(0,ue.__)("Select category","woolentor"),attributesKey:"productCategory",setAttributes:o,selectedTaxonomies:a,type:"single"}),"multipleCat"==n&&React.createElement(Ko,{title:(0,ue.__)("Select categories","woolentor"),attributesKey:"productCategories",setAttributes:o,selectedTaxonomies:l,type:"multiple"}),"singleCat"!=n&&React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:i,options:[{label:(0,ue.__)("Ascending","woolentor"),value:"asc"},{label:(0,ue.__)("Descending","woolentor"),value:"desc"}],onChange:function(e){return o({order:e})}}),"allCat"==n&&React.createElement(de.RangeControl,{label:(0,ue.__)("Limit","woolentor"),value:c,onChange:function(e){return o({displayLimit:e})},min:1,step:1,max:20}),("1"==r||"4"==r)&&React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Count","woolentor"),checked:s,help:s?(0,ue.__)("Enable show Count.","woolentor"):(0,ue.__)("Toggle to show the count.","woolentor"),onChange:function(){return o({showCount:!s})}}),React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Slider On","woolentor"),checked:u,help:u?(0,ue.__)("Enable slider.","woolentor"):(0,ue.__)("Toggle to show the slider.","woolentor"),onChange:function(){return o({sliderOn:!u})}})),1==u&&React.createElement(Vt,{title:(0,ue.__)("Slider Options","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.slitems,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Slider Arrow","woolentor"),checked:t.slarrows,help:t.slarrows?(0,ue.__)("Enable slider arrow.","woolentor"):(0,ue.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return o({slarrows:!t.slarrows})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Slider dots","woolentor"),checked:t.sldots,help:t.sldots?(0,ue.__)("Enable slider pagination.","woolentor"):(0,ue.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({sldots:!t.sldots})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Pause on Hover?","woolentor"),checked:t.slpauseOnHover,help:t.slpauseOnHover?(0,ue.__)("Enable slider pagination.","woolentor"):(0,ue.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({slpauseOnHover:!t.slpauseOnHover})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Is RTL","woolentor"),checked:t.slIsrtl,help:t.slIsrtl?(0,ue.__)("Enable RTL.","woolentor"):(0,ue.__)("Toggle to show the RTL direction.","woolentor"),onChange:function(){return o({slIsrtl:!t.slIsrtl})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Slider auto play","woolentor"),checked:t.slautolay,help:t.slautolay?(0,ue.__)("Enable slider auto play.","woolentor"):(0,ue.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return o({slautolay:!t.slautolay})}}),1==t.slautolay&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:t.slautoplaySpeed,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:t.slanimationSpeed,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5})),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.slscrollItem,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,ue.__)("Tablet Screen options","woolentor")),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.sltabletDisplayColumns,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.sltabletScrollColumns,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:t.sltabletWidth,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,ue.__)("Mobile Phone Screen options","woolentor")),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.slMobileDisplayColumns,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.slMobileScrollColumns,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:t.slMobileWidth,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500})),0==u&&React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:d,help:d?(0,ue.__)("Enable No Gutters.","woolentor"):(0,ue.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!d})}}),!d&&React.createElement(de.RangeControl,{label:(0,ue.__)("Gutter Spacing","woolentor"),value:m,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor"),initialOpen:!0},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(io,{label:(0,ue.__)("Box Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBoxColor,onChange:function(e){return o({imageBoxColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Count","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.countColor,onChange:function(e){return o({countColor:e})}})),React.createElement(io,{label:(0,ue.__)("Before Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.countBeforeColor,onChange:function(e){return o({countBeforeColor:e})}})))))}}],r&&qu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Zu=Yu;function Ju(e){return Ju="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ju(e)}function Xu(){return Xu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Xu.apply(this,arguments)}function $u(e,t,o){return(t=td(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function ed(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,td(r.key),r)}}function td(e){var t=function(e,t){if("object"!=Ju(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ju(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ju(t)?t:String(t)}function od(e,t,o){return t=nd(t),function(e,t){if(t&&("object"===Ju(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,rd()?Reflect.construct(t,o||[],nd(e).constructor):t.apply(e,o))}function rd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(rd=function(){return!!e})()}function nd(e){return nd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},nd(e)}function ad(e,t){return ad=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ad(e,t)}var ld=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=od(this,t,[e])).state={categoryData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ad(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t,o=this.props.attributes,r=o.displayLimit,n=o.order;t="singleCat"==o.displayType?o.productCategory:"multipleCat"==o.displayType?o.productCategories:"";var a=e.attributes;("singleCat"==a.displayType?a.productCategory:"multipleCat"==a.displayType?a.productCategories:"")==t&&e.attributes.displayLimit==r&&e.attributes.order==n||this.fetchCategoryData()}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:this.props.attributes.displayLimit,queryOrder:this.props.attributes.order,queryType:"regular",wpnonce:woolentorData.security};"singleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategory:"multipleCat"==this.props.attributes.displayType?(t.querySlug=this.props.attributes.productCategories,t.queryLimit=!1):t.querySlug="";var o=(0,$r.addQueryArgs)("/woolentor/v1/category",t);Ge()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.style;""==i&&a({blockUniqId:l});var s=this.state.categoryData,u=0;function d(e){var t=e.className,o=e.onClick;return React.createElement(de.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function m(e){var t=e.className,o=e.onClick;return React.createElement(de.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}var p,g={arrows:o.slarrows,prevArrow:React.createElement(m,null),nextArrow:React.createElement(d,null),dots:o.sldots,infinite:!0,autoplay:o.slautolay,autoplaySpeed:o.slautoplaySpeed,speed:o.slanimationSpeed,fade:!1,pauseOnHover:o.slpauseOnHover,slidesToShow:o.slitems,slidesToScroll:o.slscrollItem,rtl:o.slIsrtl,responsive:[{breakpoint:o.sltabletWidth,settings:{slidesToShow:o.sltabletDisplayColumns,slidesToScroll:o.sltabletScrollColumns}},{breakpoint:o.slMobileWidth,settings:{slidesToShow:o.slMobileDisplayColumns,slidesToScroll:o.slMobileScrollColumns}}]},f=Gt()(r,"woolentorblock-".concat(i),$u({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),$u({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),$u({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),$u({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile),$u({},"woolentor-area-".concat(o.align),o.align)),b=Gt()($u({},"woolentor-grid",!0!==o.sliderOn),$u({},"woolentor-grid-slider",1==o.sliderOn),$u({},"woolentor-no-gutters",1==o.noGutter),$u({},"product-slider",1==o.sliderOn)),y=Gt()("woolentor-grid-column"),R=Be(o,t,i);return s.length>0&&(p=s.map((function(e,t){return 4===u&&(u=0),u++,React.createElement("div",{key:t},React.createElement("div",{className:y},"1"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{className:"ht-category-border",href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image[o.imageSize].html}})))),React.createElement("div",{className:"ht-category-content"},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name))),1==o.showCount&&React.createElement("span",null,e.count))),"2"===c&&React.createElement("div",{className:"ht-category-wrap-2"},React.createElement("div",{className:"ht-category-content-2"},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name)))),e.image&&React.createElement("div",{className:"ht-category-image-2"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}}))))),"3"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image?React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))):React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},React.createElement("img",{src:e.placeholderImg,alt:e.name})))),React.createElement("div",{className:"ht-category-content-3 ht-category-content-3-bg"+u},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name))))),"4"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-4"},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name)),1==o.showCount&&React.createElement("span",null,e.count)))),"5"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image-3 ht-category-image-zoom"},React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},(0,De.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-5"},React.createElement("h3",null,React.createElement(de.Disabled,null,React.createElement("a",{href:e.link},e.name)))))))}))),React.createElement(De.Fragment,null,n&&React.createElement(Zu,this.props),React.createElement("div",{className:f},React.createElement("div",{className:b},0==s.length?React.createElement(de.Spinner,null):1==o.sliderOn?React.createElement(gn.A,Xu({},g,{className:"product-slider"}),p):p)),R)}}],r&&ed(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const id=ld,cd=JSON.parse('{"name":"woolentor/category-grid","category":"woolentor-blocks","title":"WL : Category Grid","description":"Display product category grid.","keywords":["woolentor","shop category","category grid","product category","woocommerce"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"displayType":{"type":"string","default":"allCat"},"productCategory":{"type":"string"},"productCategories":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"displayLimit":{"type":"number","default":6},"showCount":{"type":"boolean","default":true},"imageSize":{"type":"string","default":"full"},"sliderOn":{"type":"boolean","default":false},"slitems":{"type":"number","default":3},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slIsrtl":{"type":"boolean","default":false},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; row-gap: {{itemSpace}}px; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { background-color: {{areaBackgroundColor}}; }"}},"imageBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap-2:hover::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border-2::before { border-color: {{imageBoxColor}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image\'] { margin: {{imageMargin}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image, {{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image-\'] { border-radius: {{imageBorderRadius}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 { margin: {{titleMargin}}; }"}},"countColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span { color: {{countColor}}; }"}},"countBeforeColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span::before { background-color: {{countBeforeColor}}; }"}}}}'),sd=React.createElement("svg",{enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var ud=cd.name,dd=cd.category,md=cd.title,pd=cd.description,gd=cd.keywords,fd=cd.supports,bd=cd.attributes,yd={title:(0,ue.__)(md,"woolentor"),description:(0,ue.__)(pd,"woolentor"),icon:React.createElement(de.Icon,{icon:sd}),keywords:gd,supports:fd,attributes:bd,edit:id,save:function(){return null}};function Rd(e){return Rd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rd(e)}function _d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function wd(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_d(Object(o),!0).forEach((function(t){hd(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function hd(e,t,o){return(t=Pd(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ed(e){return function(e){if(Array.isArray(e))return vd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return vd(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?vd(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vd(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Od(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Pd(r.key),r)}}function Pd(e){var t=function(e,t){if("object"!=Rd(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Rd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rd(t)?t:String(t)}function Cd(e,t,o){return t=Ad(t),function(e,t){if(t&&("object"===Rd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Bd()?Reflect.construct(t,o||[],Ad(e).constructor):t.apply(e,o))}function Bd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Bd=function(){return!!e})()}function Ad(e){return Ad=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ad(e)}function Wd(e,t){return Wd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Wd(e,t)}var Sd=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Cd(this,t,[e])).state={activeClass:!1},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wd(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.showFirstItem,l=function(e,t,o){var a=r.faqList.map((function(r,n){return n===o?wd(wd({},r),{},hd({},t,e)):r}));n({faqList:a})};return r.faqList.length&&(e=r.faqList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.faqList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=Ed(r.faqList);t.splice(e,1),n({faqList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Faq Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Marker Title","woolentor"),value:r.faqList[o].title,onChange:function(e){return l(e,"title",o)}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Faq Content","woolentor"),value:r.faqList[o].content,onChange:function(e){return l(e,"content",o)}}))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","styles"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("FAQ","woolentor"),initialOpen:!0},e,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Ed(r.faqList);e.push({title:(0,ue.__)("Faq Item #"+(r.faqList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({faqList:e}),t.setState({activeClass:r.faqList.length})}.bind(this)},(0,ue.__)("Add FAQ","woolentor"))),React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor")},React.createElement(de.ToggleControl,{label:(0,ue.__)("Show First Item","woolentor"),checked:a,help:a?(0,ue.__)("Enable first item.","woolentor"):(0,ue.__)("Toggle to show the first item.","woolentor"),onChange:function(){return n({showFirstItem:!a})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Icon Position","woolentor"),value:r.iconPosition,options:[{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return n({iconPosition:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:r.titleBorderType,options:[{label:(0,ue.__)("None","woolentor"),value:""},{label:(0,ue.__)("Solid","woolentor"),value:"solid"},{label:(0,ue.__)("Double","woolentor"),value:"double"},{label:(0,ue.__)("Dotted","woolentor"),value:"dotted"},{label:(0,ue.__)("Dashed","woolentor"),value:"dashed"},{label:(0,ue.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return n({titleBorderType:e})}}),r.titleBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:r.titleBorderWidth,attributesKey:"titleBorderWidth",setAttributes:n}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:r.titleBorderColor,onChange:function(e){return n({titleBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:r.titleBorderRadius,attributesKey:"titleBorderRadius",setAttributes:n}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:r.headBackgroundColor,onChange:function(e){return n({headBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Active Background Color","woolentor")},React.createElement(de.ColorPalette,{value:r.activeHeadBackgroundColor,onChange:function(e){return n({activeHeadBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.faqTitleColor,onChange:function(e){return n({faqTitleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Active Title Color","woolentor")},React.createElement(de.ColorPalette,{value:r.activeFaqTitleColor,onChange:function(e){return n({activeFaqTitleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.titleSize,fallbackFontSize:r.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement(io,{label:(0,ue.__)("Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:r.iconColor,onChange:function(e){return n({iconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Active Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:r.activeIconColor,onChange:function(e){return n({activeIconColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:r.contentColor,onChange:function(e){return n({contentColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.contentSize,fallbackFontSize:r.contentSize,onChange:function(e){return n({contentSize:e})}}))))}}],r&&Od(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const kd=Sd;function Td(e){return Td="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Td(e)}function xd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ld(r.key),r)}}function Ld(e){var t=function(e,t){if("object"!=Td(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Td(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Td(t)?t:String(t)}function Nd(e,t,o){return t=jd(t),function(e,t){if(t&&("object"===Td(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zd()?Reflect.construct(t,o||[],jd(e).constructor):t.apply(e,o))}function zd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zd=function(){return!!e})()}function jd(e){return jd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jd(e)}function Id(e,t){return Id=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Id(e,t)}var Md=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nd(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Id(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id");this.props.attributes.faqList.length>0&&jQuery("#".concat(e)).length>0&&new Accordion("#"+e,{duration:500,showItem:this.props.attributes.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"})}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.faqList;if(e.attributes.faqList!==o||t.showFirstItem!==e.attributes.showFirstItem){this.$el=jQuery(this.el);var r=this.$el.attr("id");o.length>0&&(new Accordion("#"+r,{duration:500,showItem:t.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"}),jQuery(".htwoolentor-faq-card").on("click",(function(e){jQuery(this).toggleClass("is-active")})))}}},{key:"componentWillUnmount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id"),t=jQuery("#"+e);t.accordion&&(t.accordion("destroy"),t.accordion=!1)}},{key:"render",value:function(){var e=this,t=this.props,o=t.name,r=t.attributes,n=t.className,a=t.isSelected,l=t.setAttributes,i=t.clientId,c=r.blockUniqId;i!==c&&l({blockUniqId:i});var s,u,d,m=Gt()("htwoolentor-faq","woolentorblock-".concat(c),"woolentorblock-faq-area-"+c,(s={},u="woolentorfaq-icon-pos-".concat(r.iconPosition),d=r.iconPosition,(u=Ld(u))in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s)),p=Be(r,o,c),g=React.createElement("span",{className:"htwoolentor-faq-head-indicator"}),f=r.faqList.map((function(e,t){var o=e.title?React.createElement("span",{className:"htwoolentor-faq-head-text"},e.title):"";return React.createElement("div",{key:t,className:"htwoolentor-faq-card"},"right"===r.iconPosition?React.createElement("div",{className:"htwoolentor-faq-head"},o,g):React.createElement("div",{className:"htwoolentor-faq-head"},g,o),React.createElement("div",{className:"htwoolentor-faq-body"},React.createElement("div",{className:"htwoolentor-faq-content"},e.content&&React.createElement("p",null,e.content))))}));return React.createElement(De.Fragment,null,a&&React.createElement(kd,this.props),React.createElement("div",{className:n},React.createElement("div",{className:m,id:"htwoolentor-faq-"+c+Math.random().toString(36).substr(2,9),ref:function(t){return e.el=t}},f.length>0?f:(0,ue.__)("FAQ list does not exist.","woolentor")),p))}}],r&&xd(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Fd=Md,Hd=JSON.parse('{"name":"woolentor/faq","category":"woolentor-blocks","title":"WL : FAQ","description":"Display faq.","keywords":["WooLentor","faq","accordion","question","answer"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"faqList":{"type":"array","default":[{"title":"Words To Live By","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"Producing Perfume From Home","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"The Basics Of Western Astrology Explained","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"What Curling Irons Are The Best Ones","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."}]},"showFirstItem":{"type":"boolean","default":true},"iconPosition":{"type":"string","default":"right"},"headBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ background-color: {{headBackgroundColor}}; }"}},"faqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ color: {{faqTitleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ font-size: {{titleSize}}; }"}},"titleBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-style: {{titleBorderType}}; }"}},"titleBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-width: {{titleBorderWidth}}; }"}},"titleBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-color: {{titleBorderColor}}; }"}},"titleBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-radius: {{titleBorderRadius}}; }"}},"iconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:after{ background-color: {{iconColor}}!important; }"}},"activeHeadBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head{ background-color: {{activeHeadBackgroundColor}}; }"}},"activeFaqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-text{ color: {{activeFaqTitleColor}}; }"}},"activeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:after{ background-color: {{activeIconColor}}!important; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content{ color: {{contentColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content p{ font-size: {{contentSize}}; }"}}}}'),Dd=React.createElement("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",space:"preserve"},React.createElement("g",null,React.createElement("path",{d:"M256,0C114.516,0,0,114.497,0,256c0,141.484,114.497,256,256,256c141.484,0,256-114.497,256-256 C512,114.516,397.503,0,256,0z M256,472c-119.377,0-216-96.607-216-216c0-119.377,96.607-216,216-216 c119.377,0,216,96.607,216,216C472,375.377,375.393,472,256,472z"}),React.createElement("path",{d:"M256,128.5c-44.112,0-80,35.888-80,80c0,11.046,8.954,20,20,20s20-8.954,20-20c0-22.056,17.944-40,40-40 c22.056,0,40,17.944,40,40c0,22.056-17.944,40-40,40c-11.046,0-20,8.954-20,20v50c0,11.046,8.954,20,20,20 c11.046,0,20-8.954,20-20v-32.531c34.466-8.903,60-40.26,60-77.469C336,164.388,300.112,128.5,256,128.5z"})));var qd=Hd.name,Gd=Hd.category,Kd=Hd.title,Ud=Hd.description,Qd=Hd.keywords,Vd=Hd.supports,Yd=Hd.attributes,Zd={title:(0,ue.__)(Kd,"woolentor"),description:(0,ue.__)(Ud,"woolentor"),icon:React.createElement(de.Icon,{icon:Dd}),keywords:Qd,supports:Vd,attributes:Yd,edit:Fd,save:function(){return null}};function Jd(e){return Jd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jd(e)}function Xd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$d(r.key),r)}}function $d(e){var t=function(e,t){if("object"!=Jd(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jd(t)?t:String(t)}function em(e,t,o){return t=om(t),function(e,t){if(t&&("object"===Jd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tm()?Reflect.construct(t,o||[],om(e).constructor):t.apply(e,o))}function tm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tm=function(){return!!e})()}function om(e){return om=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},om(e)}function rm(e,t){return rm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rm(e,t)}var nm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),em(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rm(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.productFilterType,n=t.perPage,a=t.customOrder,l=t.orderBy,i=t.order,c=t.selectedCategories;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Layout","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:t.layout,options:[{label:(0,ue.__)("Layout One","woolentor"),value:"1"},{label:(0,ue.__)("Layout Two","woolentor"),value:"2"},{label:(0,ue.__)("Layout Three","woolentor"),value:"3"}],onChange:function(e){return o({layout:e})}}),React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:t.noGutter,help:t.noGutter?(0,ue.__)("Enable No Gutters.","woolentor"):(0,ue.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(de.RangeControl,{label:(0,ue.__)("Gutter Spacing","woolentor"),value:t.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Margin Bottom","woolentor"),value:t.itemMarginBottom,onChange:function(e){return o({itemMarginBottom:e})},min:0,step:1,max:1e3})),React.createElement(Vt,{title:(0,ue.__)("Query Options","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Filter By","woolentor"),value:r,options:[{label:(0,ue.__)("Recent Products","woolentor"),value:"recent"},{label:(0,ue.__)("Featured Products","woolentor"),value:"featured"},{label:(0,ue.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,ue.__)("Sale Products","woolentor"),value:"sale"},{label:(0,ue.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,ue.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Number Of Products","woolentor"),value:n,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Custom Order","woolentor"),checked:a,help:a?(0,ue.__)("Enable custom order.","woolentor"):(0,ue.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return o({customOrder:!a})}}),React.createElement(Ko,{title:(0,ue.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:c,type:"multiple"}),a?React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:i,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:l,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(Vt,{title:(0,ue.__)("Content Settings","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Content Limit","woolentor"),value:t.contentLimit,onChange:function(e){return o({contentLimit:e})},min:1,step:1,max:1e3}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Title","woolentor"),checked:t.showTitle,help:t.showTitle?(0,ue.__)("Enable Title.","woolentor"):(0,ue.__)("Toggle to show the title.","woolentor"),onChange:function(){return o({showTitle:!t.showTitle})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Price","woolentor"),checked:t.showPrice,help:t.showPrice?(0,ue.__)("Enable Price.","woolentor"):(0,ue.__)("Toggle to show the price.","woolentor"),onChange:function(){return o({showPrice:!t.showPrice})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Content","woolentor"),checked:t.showContent,help:t.showContent?(0,ue.__)("Enable Content.","woolentor"):(0,ue.__)("Toggle to show the content.","woolentor"),onChange:function(){return o({showContent:!t.showContent})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Rating","woolentor"),checked:t.showRating,help:t.showRating?(0,ue.__)("Enable Rating.","woolentor"):(0,ue.__)("Toggle to show the rating.","woolentor"),onChange:function(){return o({showRating:!t.showRating})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Item","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.itemAreaBGColor,onChange:function(e){return o({itemAreaBGColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(Dt,{name:"title"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(go,{label:(0,ue.__)("Sale Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement(go,{label:(0,ue.__)("Reguler Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.regulerPriceColor,onChange:function(e){return o({regulerPriceColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cotentColor,onChange:function(e){return o({cotentColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Empty Rating Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Rating Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Action Button","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnAreaBGColor,onChange:function(e){return o({actionBtnAreaBGColor:e})}})),React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.actionBtnBgHoverColor,onChange:function(e){return o({actionBtnBgHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Xd(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const am=nm;function lm(e){return lm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},lm(e)}function im(e,t,o){return(t=sm(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function cm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,sm(r.key),r)}}function sm(e){var t=function(e,t){if("object"!=lm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=lm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lm(t)?t:String(t)}function um(e,t,o){return t=mm(t),function(e,t){if(t&&("object"===lm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,dm()?Reflect.construct(t,o||[],mm(e).constructor):t.apply(e,o))}function dm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(dm=function(){return!!e})()}function mm(e){return mm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},mm(e)}function pm(e,t){return pm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pm(e,t)}var gm=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=um(this,t,[e])).state={productData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&pm(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchProductsData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData()}},{key:"componentWillUnmount",value:function(){}},{key:"fetchProductsData",value:function(){var e=this,t={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(t.orderBy=this.props.attributes.orderBy,t.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(t.categories=this.props.attributes.selectedCategories);var o=(0,$r.addQueryArgs)("/woolentor/v1/products",t);Ge()({path:o}).then((function(t){return e.setState({productData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s=Gt()("woocommerce","woolentor-product-curvy","woolentorblock-".concat(i),im({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),im({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),im({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),im({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),u=Gt()("wl_single-product-item",im({},"wl_left-item",2==o.layout),im({},"wl_dark-item",3==o.layout)),d=Be(o,t,i),m=this.state.productData;return m.length>0&&(c=m.map((function(e,t){return React.createElement("div",{className:"woolentor-grid-column",key:t},React.createElement("div",{className:u},React.createElement(de.Disabled,null,React.createElement("a",{href:e.permalink,className:"product-thumbnail"},(0,De.createElement)("div",{className:"images",dangerouslySetInnerHTML:{__html:e.image.full.html}}))),React.createElement("div",{className:"product-content"},React.createElement("div",{className:"product-content-top"},!0===o.showTitle&&React.createElement("h6",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),!0===o.showPrice&&(0,De.createElement)("div",{className:"product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),!0===o.showContent&&React.createElement("p",null,e.content.split(" ").slice(0,o.contentLimit).join(" ")),!0===o.showRating&&(0,De.createElement)("div",{className:"reading",dangerouslySetInnerHTML:{__html:e.rating.html}})),React.createElement("ul",{className:"action"},React.createElement("li",{className:"wl_cart"},React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"action-item"+e.addtocart.class,"data-product_id":e.id},React.createElement("i",{className:"fa fa-shopping-cart"}))),e.wishlist.status&&(0,De.createElement)("li",{dangerouslySetInnerHTML:{__html:e.wishlist.html}}),e.compare.status&&(0,De.createElement)("li",{dangerouslySetInnerHTML:{__html:e.compare.html2}})))))}))),React.createElement(De.Fragment,null,n&&React.createElement(am,this.props),React.createElement("div",{className:r},React.createElement("div",{className:s},0==m.length?React.createElement(de.Spinner,null):React.createElement("div",{className:!0===o.noGutter?"woolentor-grid woolentor-no-gutters":"woolentor-grid"},c))),d)}}],r&&cm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const fm=gm,bm=JSON.parse('{"name":"woolentor/product-curvy","category":"woolentor-blocks","title":"WL : Product Curvy","description":"Product Curvy.","keywords":["WooLentor","product","curvy","woocommerce","display product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layout":{"type":"string"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"contentLimit":{"type":"number","default":6},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showContent":{"type":"boolean","default":true},"showRating":{"type":"boolean","default":true},"itemAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl_single-product-item, {{WOOLENTOR_WRAPPER}} .wl_single-product-item.wl_dark-item .product-content { background-color: {{itemAreaBGColor}}; }"}},"itemMarginBottom":{"type":"number","default":15,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid{ row-gap: {{itemMarginBottom}}px; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ font-size: {{titleSize}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a:hover{ color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ margin: {{titleMargin}}; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price, {{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price{ color: {{salePriceColor}}!important; }"}},"regulerPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price del,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price del{ color: {{regulerPriceColor}}!important; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ font-size: {{contentSize}}; }"}},"cotentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ color: {{cotentColor}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ margin: {{contentMargin}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating span{ color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating{ margin: {{ratingMargin}}; }"}},"actionBtnAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action{ background-color: {{actionBtnAreaBGColor}}!important; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare::before{ color: {{actionBtnColor}}!important; }"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ background-color: {{actionBtnBGColor}}!important; }"}},"actionBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ border-radius: {{actionBtnBorderRadius}}!important; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare:hover::before{ color: {{actionBtnHoverColor}}!important; }"}},"actionBtnBgHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover{ background-color: {{actionBtnBgHoverColor}}!important; }"}},"imageBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-thumbnail{ border-color: {{imageBorderColor}}!important; }"}}}}'),ym=React.createElement("svg",{id:"Capa_1",enableBackground:"new 0 0 512 512",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m166.717 225.43c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m166.717 263.74c-4.309 0-7.802 3.493-7.802 7.803 0 4.309 3.493 7.802 7.802 7.802s7.803-3.493 7.803-7.802c-.001-4.31-3.494-7.803-7.803-7.803z"}),React.createElement("path",{d:"m166.717 302.049c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802c-.001-4.309-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m302.846 63.778h-90.035l-2.93-21.993c-.497-3.727-3.675-6.51-7.435-6.51h-17.57c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h11.003l2.93 21.993c.003.022.008.043.012.064.003.018.002.036.005.053l7.994 53.55c.549 3.674 3.703 6.393 7.418 6.393h80.614c3.715 0 6.869-2.719 7.418-6.393l7.994-53.55c.322-2.159-.311-4.351-1.736-6.003-1.425-1.654-3.5-2.604-5.682-2.604zm-14.458 53.55h-67.686l-5.755-38.55h79.196z"}),React.createElement("path",{d:"m248.916 165.704c0-12.407-10.094-22.5-22.5-22.5s-22.5 10.093-22.5 22.5 10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5zm-30 0c0-4.136 3.364-7.5 7.5-7.5s7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5-7.5-3.364-7.5-7.5z"}),React.createElement("path",{d:"m282.673 143.204c-12.406 0-22.5 10.093-22.5 22.5s10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5-10.094-22.5-22.5-22.5zm0 30c-4.136 0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5z"}),React.createElement("path",{d:"m279.948 225.733h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 264.042h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 302.351h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("g",null,React.createElement("path",{d:"m484.615 88.534h-84.393v-66.614c0-9.951-8.096-18.047-18.047-18.047h-252.349c-9.951 0-18.048 8.096-18.048 18.047v66.614h-19.645c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h19.646v259.248h-96.779v-246.862c0-6.83 5.557-12.386 12.386-12.386h34.747c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-34.747c-15.101 0-27.386 12.286-27.386 27.386v291.442c0 15.1 12.285 27.385 27.386 27.385h166.31l-8.039 58.38h-24.209c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h189.248c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-24.209l-8.039-58.38h55.225c4.142 0 7.5-3.358 7.5-7.5s-3.358-7.5-7.5-7.5h-346.287c-6.829 0-12.386-5.556-12.386-12.385v-29.58h482v29.58c0 6.829-5.556 12.385-12.385 12.385h-80.942c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h80.942c15.1 0 27.385-12.285 27.385-27.385v-291.442c0-15.1-12.285-27.386-27.385-27.386zm-173.269 404.593h-110.548l8.039-58.38h94.47zm75.208-186.168c-28.917 0-52.443-23.526-52.443-52.443s23.526-52.444 52.443-52.444 52.443 23.526 52.443 52.444-23.526 52.443-52.443 52.443zm-259.776-285.039c0-1.68 1.367-3.047 3.048-3.047h252.349c1.68 0 3.047 1.367 3.047 3.047v165.186c-36.574.715-66.111 30.669-66.111 67.41s29.537 66.695 66.111 67.41v40.61h-258.444zm273.444 340.863v-42.217c30.658-6.335 53.775-33.542 53.775-66.049s-23.118-59.714-53.775-66.05v-84.932h84.393c6.829 0 12.385 5.556 12.385 12.386v246.862z"}),React.createElement("path",{d:"m394.221 246.215c-4.215-1.49-10.156-1.779-12.221-5.464-.154-.191-.159-1.161.199-2.321.211-.685.763-1.893 2.083-2.291 1.891-.57 4.118-.173 6.035.466 2.912.971 6.118-.031 8.046-2.418.044-.054.087-.107.13-.162 3.168-3.921 1.627-9.835-3.085-11.626-.542-.206-1.099-.395-1.671-.567v-2.359c0-4.142-3.357-7.5-7.5-7.5s-7.5 3.358-7.5 7.5v2.722c-5.865 2.243-10.182 7.478-11.399 13.944-1.211 6.425.935 12.69 5.601 16.349 4.315 3.385 10.376 5.783 16.283 7.872 2.59.915 3.688 2.655 3.266 5.17-.332 1.975-2.032 5.324-6.3 5.352-4.606.03-5.695-.139-9.043-2.329-3.712-2.427-8.775-1.144-10.826 2.94-1.733 3.451-.383 7.68 2.861 9.774 3.572 2.307 6.456 3.498 9.557 4.088v3.177c0 4.142 3.357 7.5 7.5 7.5s7.5-3.358 7.5-7.5v-4.032c6.961-2.626 12.247-8.778 13.543-16.485 1.631-9.702-3.617-18.462-13.059-21.8z"}))));var Rm=bm.name,_m=bm.category,wm=bm.title,hm=bm.description,Em=bm.keywords,vm=bm.supports,Om=bm.attributes,Pm={title:(0,ue.__)(wm,"woolentor"),description:(0,ue.__)(hm,"woolentor"),icon:React.createElement(de.Icon,{icon:ym}),keywords:Em,supports:vm,attributes:Om,edit:fm,save:function(){return null}};const Cm=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Title Tag","woolentor"),value:r,options:_i,onChange:function(e){return o({titleTag:e})}}),React.createElement("hr",null),React.createElement(io,{label:(0,ue.__)("Show Title","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})}})),React.createElement(io,{label:(0,ue.__)("Show Description","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.showDescription,onChange:function(){return o({showDescription:!t.showDescription})}})),React.createElement(io,{label:(0,ue.__)("Show Image","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.showImage,onChange:function(){return o({showImage:!t.showImage})}})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(go,{label:(0,ue.__)("Title","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(go,{label:(0,ue.__)("Description","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.descColor,onChange:function(e){return o({descColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descSize,fallbackFontSize:t.descSize,onChange:function(e){return o({descSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.descMargin,attributesKey:"descMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Bm(e){return Bm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bm(e)}var Am,Wm,Sm,km;function Tm(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function xm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lm(r.key),r)}}function Lm(e){var t=function(e,t){if("object"!=Bm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Bm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Bm(t)?t:String(t)}function Nm(e,t,o){return t=jm(t),function(e,t){if(t&&("object"===Bm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zm()?Reflect.construct(t,o||[],jm(e).constructor):t.apply(e,o))}function zm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zm=function(){return!!e})()}function jm(e){return jm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jm(e)}function Im(e,t){return Im=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Im(e,t)}var Mm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nm(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Im(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u,d=Gt()((c={},u=o,(s=Lm(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-archive-data-area"),m=bu.div(Am||(Am=Tm(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),t.areaPadding&&Ie(t.areaPadding,"padding"),Me(i),je(t.contentAlignment,"text-align")),p=bu.div(Wm||(Wm=Tm(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),je(t.titleColor,"color","!important"),je(t.titleSize,"font-size","!important"),t.titleMargin&&Ie(t.titleMargin,"margin","!important")),g=bu.div(Sm||(Sm=Tm(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),je(t.descColor,"color"),je(t.descSize,"font-size"),t.descMargin&&Ie(t.descMargin,"margin")),f=bu.div(km||(km=Tm(["\n\t\t\t\n\t\t"]))),b={title:(0,ue.__)("Archive Title","woolentor"),desc:(0,ue.__)("Lorem Ipsum is simply dummy text of the printing and typesetting industry.","woolentor"),image_url:woolentorData.url+"/src/assets/images/overlay_image.jpeg"};return React.createElement(De.Fragment,null,r&&React.createElement(Cm,this.props),React.createElement(m,{className:d},t.showImage&&React.createElement(f,{className:"woolentor-archive-image"},React.createElement("img",{src:b.image_url,alt:b.title})),t.showTitle&&React.createElement(p,{className:"woolentor-archive-title",as:t.titleTag},b.title),t.showDescription&&React.createElement(g,{className:"woolentor-archive-desc"},b.desc)))}}],r&&xm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Fm=Mm,Hm=JSON.parse('{"name":"woolentor/archive-title","category":"woolentor-blocks","title":"WL : Archive Title","description":"Display archive title.","keywords":["woolentor","archive","title","category title"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"showTitle":{"type":"boolean","default":true},"showDescription":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":false},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align:{{contentAlignment}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ color:{{titleColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ font-size:{{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ margin:{{titleMargin}}!important; }"}},"descColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ color:{{descColor}}!important; }"}},"descSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ font-size:{{descSize}}!important; }"}},"descMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ margin:{{descMargin}}!important; }"}}}}'),Dm=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var qm=Hm.name,Gm=Hm.category,Km=Hm.title,Um=Hm.description,Qm=Hm.keywords,Vm=Hm.attributes,Ym={title:(0,ue.__)(Km,"woolentor"),description:(0,ue.__)(Um,"woolentor"),icon:React.createElement(de.Icon,{icon:Dm}),keywords:Qm,example:{attributes:{title_tag:"h2"}},attributes:Vm,edit:Fm,save:function(){return null}};const Zm=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Separator","woolentor"),placeholder:(0,ue.__)("/","woolentor"),value:t.separator,onChange:function(e){return o({separator:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Text Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Space","woolentor"),value:t.space,onChange:function(e){return o({space:e})},min:0,step:1,max:500}),React.createElement(go,{label:(0,ue.__)("Separator","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.separateColor,onChange:function(e){return o({separateColor:e})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Size","woolentor"),value:t.separateSize,onChange:function(e){return o({separateSize:e})},min:0,step:1,max:500}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jm(e){return Jm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jm(e)}function Xm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$m(r.key),r)}}function $m(e){var t=function(e,t){if("object"!=Jm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jm(t)?t:String(t)}function ep(e,t,o){return t=op(t),function(e,t){if(t&&("object"===Jm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tp()?Reflect.construct(t,o||[],op(e).constructor):t.apply(e,o))}function tp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tp=function(){return!!e})()}function op(e){return op=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},op(e)}function rp(e,t){return rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rp(e,t)}var np=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ep(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=$m(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-breadcrumb","woolentorblock-".concat(i)),m=""!=o.separator?React.createElement("span",{className:"breadcrumb-separator"},o.separator):React.createElement("span",{className:"breadcrumb-separator"}," / "),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Zm,this.props),React.createElement("div",{className:d},React.createElement("nav",{className:"woocommerce-breadcrumb"},React.createElement("a",{href:"#"},(0,ue.__)("Home","woolentor")),m,React.createElement("a",{href:"#"},(0,ue.__)("Shop","woolentor")),m,(0,ue.__)("Sample Product","woolentor"))),p)}}],r&&Xm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ap=np,lp=JSON.parse('{"name":"woolentor/breadcrumbs","category":"woolentor-blocks","title":"WL : Breadcrumbs","description":"Display breadcrumbs.","keywords":["woolentor","breadcrumbs","navigation","breadcrumb","breadcrumbs menu"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"separator":{"type":"string","default":"/"},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {text-align:{{contentAlignment}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb{color:{{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a{color:{{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a:hover{color:{{linkHoverColor}}; }"}},"space":{"type":"number","default":10,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{margin: 0 {{space}}px; }"}},"separateColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{color:{{separateColor}}; }"}},"separateSize":{"type":"number","default":14,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{font-size:{{separateSize}}px; }"}}}}'),ip=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{fill:"currentColor",d:"m56 48l80 80l-80 80V48z",opacity:".2"}),React.createElement("path",{fill:"currentColor",d:"m141.7 122.3l-80-80a8.4 8.4 0 0 0-8.8-1.7A8 8 0 0 0 48 48v160a8 8 0 0 0 4.9 7.4a8.5 8.5 0 0 0 3.1.6a8.3 8.3 0 0 0 5.7-2.3l80-80a8.1 8.1 0 0 0 0-11.4ZM64 188.7V67.3l60.7 60.7Z"}),React.createElement("path",{fill:"currentColor",d:"m221.7 122.3l-80-80a8.1 8.1 0 0 0-11.4 11.4l74.4 74.3l-74.4 74.3a8.1 8.1 0 0 0 0 11.4a8.2 8.2 0 0 0 11.4 0l80-80a8.1 8.1 0 0 0 0-11.4Z"}));var cp=lp.name,sp=lp.category,up=lp.title,dp=lp.description,mp=lp.keywords,pp=lp.attributes,gp={title:(0,ue.__)(up,"woolentor"),description:(0,ue.__)(dp,"woolentor"),icon:React.createElement(de.Icon,{icon:ip}),keywords:mp,example:{attributes:{separator:"/"}},attributes:pp,edit:ap,save:function(){return null}};function fp(e){return function(e){if(Array.isArray(e))return yp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bp(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bp(e,t){if(e){if("string"==typeof e)return yp(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?yp(e,t):void 0}}function yp(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Rp=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||bp(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=function(e,t,n){var a=fp(o.customerReviewList);a[n][t]=e,r({customerReviewList:a})};return o.customerReviewList.length>0&&(t=o.customerReviewList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.customerReviewList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,ue.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=fp(o.customerReviewList);t.splice(e,1),r({customerReviewList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Customer Name","woolentor"),value:o.customerReviewList[t].name,onChange:function(e){return i(e,"name",t)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Designation","woolentor"),value:o.customerReviewList[t].designation,placeholder:(0,ue.__)("Designation","woolentor"),onChange:function(e){return i(e,"designation",t)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Rating","woolentor"),value:o.customerReviewList[t].rating,placeholder:(0,ue.__)("5","woolentor"),onChange:function(e){return i(e,"rating",t)}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Message","woolentor"),value:o.customerReviewList[t].message,placeholder:(0,ue.__)("Review Message","woolentor"),onChange:function(e){return i(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Jo,{title:(0,ue.__)("Choose Image","woolentor"),instructions:(0,ue.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.customerReviewList[t].image,onChange:function(e){return i(e,"image",t)}})))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Review","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:o.reviewStyle,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({reviewStyle:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Review Type","woolentor"),value:o.reviewType,options:[{label:(0,ue.__)("Custom","woolentor"),value:"custom"},{label:(0,ue.__)("All Products","woolentor"),value:"allproduct"},{label:(0,ue.__)("Single Product","woolentor"),value:"productwise"},{label:(0,ue.__)("Dynamic","woolentor"),value:"dynamic"}],onChange:function(e){return r({reviewType:e})}}),"custom"==o.reviewType&&React.createElement(React.Fragment,null,t,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=fp(o.customerReviewList);e.push({name:(0,ue.__)("Customer Name #"+(o.customerReviewList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({customerReviewList:e}),l(o.customerReviewList.length)}.bind(void 0)},(0,ue.__)("Add Review","woolentor"))),"allproduct"==o.reviewType&&React.createElement(React.Fragment,null,React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.reviewType&&React.createElement(de.TextControl,{label:(0,ue.__)("Product ID","woolentor"),placeholder:(0,ue.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.reviewType&&React.createElement(de.Notice,{status:"success",isDismissible:!1},(0,ue.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.reviewType&&React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.reviewType&&React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(zr,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(zr,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Name","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Designation","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Message","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},_p=function(e){return e.attributes,e.setAttributes,React.createElement(De.Fragment,null,React.createElement(wt.BlockControls,null,React.createElement(_r.BlockControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign"})))};function hp(e){return hp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hp(e)}function Ep(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vp(r.key),r)}}function vp(e){var t=function(e,t){if("object"!=hp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hp(t)?t:String(t)}function Op(e,t,o){return t=Cp(t),function(e,t){if(t&&("object"===hp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Pp()?Reflect.construct(t,o||[],Cp(e).constructor):t.apply(e,o))}function Pp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Pp=function(){return!!e})()}function Cp(e){return Cp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cp(e)}function Bp(e,t){return Bp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bp(e,t)}var Ap=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Op(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Gt()((c={},u=o,(s=vp(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Be(t,l,i);return React.createElement(De.Fragment,null,r&&React.createElement(Rp,this.props),r&&React.createElement(_p,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:l,attributes:{blockUniqId:i,reviewStyle:t.reviewStyle,reviewType:t.reviewType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,customerReviewList:t.customerReviewList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&Ep(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Wp=Ap,Sp=JSON.parse('{"name":"woolentor/customer-review","category":"woolentor-blocks","title":"WL: Customer Review","description":"Display Product Customer Review.","keywords":["woolentor","product","review","woocommerce","customer","customer review"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"reviewStyle":{"type":"string","default":"1"},"reviewType":{"type":"string","default":"custom"},"customerReviewList":{"type":"array","default":[{"name":"Carolina Monntoya","designation":"Managing Director","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Peter Rose","designation":"Manager","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Gerald Gilbert","designation":"Developer","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { text-align: {{contentAlign}}; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .wlb-review-style-2 .wl-customer-testimonal .clint-info h4:before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info .rating { color: {{ratingColor}}!important; }"}}}}'),kp=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var Tp=Sp.name,xp=Sp.title,Lp=Sp.description,Np=Sp.category,zp=Sp.attributes,jp=Sp.keywords,Ip=Sp.supports,Mp={title:(0,ue.__)(xp,"woolentor"),description:(0,ue.__)(Lp,"woolentor"),icon:React.createElement(de.Icon,{icon:kp}),keywords:jp,supports:Ip,attributes:zp,edit:Wp,save:function(){return null}};const Fp=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.RangeControl,{label:(0,ue.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:t.order,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Empty Message","woolentor"),checked:t.showEmptyMessage,onChange:function(){return o({showEmptyMessage:!t.showEmptyMessage})}}),t.showEmptyMessage&&React.createElement(de.TextareaControl,{label:(0,ue.__)("Empty Message","woolentor"),value:t.emptyMessage,onChange:function(e){return o({emptyMessage:e})}})),React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(io,{label:(0,ue.__)("No Gutters","woolentor")},React.createElement(de.ToggleControl,{checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})},className:"woolentor-toggle-control"})),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(Vt,{title:(0,ue.__)("Content Settings","woolentor")},React.createElement(io,{label:(0,ue.__)("Show Title","woolentor")},React.createElement(de.ToggleControl,{checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})},className:"woolentor-toggle-control"})),React.createElement(io,{label:(0,ue.__)("Show Price","woolentor")},React.createElement(de.ToggleControl,{checked:t.showPrice,onChange:function(){return o({showPrice:!t.showPrice})},className:"woolentor-toggle-control"})),React.createElement(io,{label:(0,ue.__)("Show Add To Cart Button","woolentor")},React.createElement(de.ToggleControl,{checked:t.showAddToCart,onChange:function(){return o({showAddToCart:!t.showAddToCart})},className:"woolentor-toggle-control"})),React.createElement(io,{label:(0,ue.__)("Show Badge","woolentor")},React.createElement(de.ToggleControl,{checked:t.showBadge,onChange:function(){return o({showBadge:!t.showBadge})},className:"woolentor-toggle-control"})),React.createElement(de.SelectControl,{label:(0,ue.__)("Title Tag","woolentor"),value:t.titleTag,options:_i,onChange:function(e){return o({titleTag:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Item Area","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(zr,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Content Area","woolentor")},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o,responsive:!0}),React.createElement(zr,{value:t.contentBorder,onChange:function(e){return o({contentBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o,responsive:!0})),t.showTitle&&React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0})),t.showPrice&&React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0})),t.showAddToCart&&React.createElement(Vt,{title:(0,ue.__)("Add To Cart","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addTocartSize,fallbackFontSize:t.addTocartSize,onChange:function(e){return o({addTocartSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.addTocartPadding,attributesKey:"addTocartPadding",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.cartButtonBorderRadius,attributesKey:"cartButtonBorderRadius",setAttributes:o,responsive:!0}),React.createElement(Dt,{name:"actionbutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartButtonColor,onChange:function(e){return o({cartButtonColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartButtonBGColor,onChange:function(e){return o({cartButtonBGColor:e})}})),React.createElement(zr,{value:t.cartButtonBorder,onChange:function(e){return o({cartButtonBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartButtonHoverColor,onChange:function(e){return o({cartButtonHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartButtonHoverBGColor,onChange:function(e){return o({cartButtonHoverBGColor:e})}})),React.createElement(zr,{value:t.cartButtonHoverBorder,onChange:function(e){return o({cartButtonHoverBorder:e})}})))),t.showBadge&&React.createElement(Vt,{title:(0,ue.__)("Badge","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.badgeSize,fallbackFontSize:t.badgeSize,onChange:function(e){return o({badgeSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.badgeColor,onChange:function(e){return o({badgeColor:e})}})),React.createElement(io,{label:(0,ue.__)("Out of Stock Badge Color","woolentor")},React.createElement(de.ColorPalette,{value:t.outStockBadgeColor,onChange:function(e){return o({outStockBadgeColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.badgeBGColor,onChange:function(e){return o({badgeBGColor:e})}})),React.createElement(zr,{value:t.badgeBorder,onChange:function(e){return o({badgeBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.badgeBorderRadius,attributesKey:"badgeBorderRadius",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.badgePadding,attributesKey:"badgePadding",setAttributes:o,responsive:!0})),t.showEmptyMessage&&React.createElement(Vt,{title:(0,ue.__)("Empty Message","woolentor")},React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.emptyMessageSize,fallbackFontSize:t.emptyMessageSize,onChange:function(e){return o({emptyMessageSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyMessageColor,onChange:function(e){return o({emptyMessageColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyMessageBGColor,onChange:function(e){return o({emptyMessageBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.emptyMessagePadding,attributesKey:"emptyMessagePadding",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.emptyMessageMargin,attributesKey:"emptyMessageMargin",setAttributes:o,responsive:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Hp(e){return Hp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hp(e)}function Dp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,qp(r.key),r)}}function qp(e){var t=function(e,t){if("object"!=Hp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Hp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hp(t)?t:String(t)}function Gp(e,t,o){return t=Up(t),function(e,t){if(t&&("object"===Hp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Kp()?Reflect.construct(t,o||[],Up(e).constructor):t.apply(e,o))}function Kp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Kp=function(){return!!e})()}function Up(e){return Up=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Up(e)}function Qp(e,t){return Qp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Qp(e,t)}var Vp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Gp(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Qp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=qp(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-recently-viewed-products","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Fp,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:o,attributes:{columns:t.columns,noGutter:t.noGutter,showTitle:t.showTitle,showPrice:t.showPrice,showAddToCart:t.showAddToCart,showBadge:t.showBadge,titleTag:t.titleTag},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&Dp(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Yp=Vp,Zp=JSON.parse('{"name":"woolentor/recently-viewed-products","category":"woolentor-blocks","title":"Recently Viewed Products","description":"Display Recently Viewed Products.","keywords":["woolentor","recent product view","recently view","recent view product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showEmptyMessage":{"type":"boolean","default":true},"emptyMessage":{"type":"string","default":"You haven&#039;t viewed at any of the products yet."},"perPage":{"type":"number","default":4},"order":{"type":"string","default":"DESC"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showAddToCart":{"type":"boolean","default":true},"showBadge":{"type":"boolean","default":true},"titleTag":{"type":"string","default":"h2"},"itemPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product{ padding: {{itemPadding}} !important; }"}},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product"}},"itemBorderRadius":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product{ border-radius: {{itemBorderRadius}} !important; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content { text-align: {{contentAlignment}}; }"}},"contentPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content{ padding: {{contentPadding}} !important; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content"}},"contentBorderRadius":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content{ border-radius: {{contentBorderRadius}} !important; }"}},"titleSize":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title { font-size: {{titleSize}} !important; }"}},"titleColor":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title{ margin: {{titleMargin}} !important; }"}},"priceSize":{"type":"string","dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price span { font-size: {{priceSize}}; }"}},"priceColor":{"type":"string","dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price span { color: {{priceColor}}; }"}},"priceMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price{ margin: {{priceMargin}} !important; }"}},"addTocartSize":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { font-size: {{addTocartSize}}; }"}},"addTocartPadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart){ padding: {{addTocartPadding}} !important; }"}},"cartButtonBorderRadius":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart){ border-radius: {{cartButtonBorderRadius}} !important; }"}},"cartButtonColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { color: {{cartButtonColor}}; }"}},"cartButtonBGColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { background-color: {{cartButtonBGColor}}; }"}},"cartButtonBorder":{"type":"object","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart)"}},"cartButtonHoverColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover { color: {{cartButtonHoverColor}}; }"}},"cartButtonHoverBGColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover { background-color: {{cartButtonHoverBGColor}}; }"}},"cartButtonHoverBorder":{"type":"object","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover"}},"badgeSize":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { font-size: {{badgeSize}}; }"}},"badgeColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { color: {{badgeColor}}; }"}},"outStockBadgeColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label.ht-stockout { color: {{outStockBadgeColor}}; }"}},"badgeBGColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { background-color: {{badgeBGColor}}; }"}},"badgeBorder":{"type":"object","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label"}},"badgeBorderRadius":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label{ border-radius: {{badgeBorderRadius}} !important; }"}},"badgePadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label{ padding: {{badgePadding}} !important; }"}},"emptyMessageSize":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { font-size: {{emptyMessageSize}}; }"}},"emptyMessageColor":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { color: {{emptyMessageColor}}; }"}},"emptyMessageBGColor":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { background-color: {{emptyMessageBGColor}}; }"}},"emptyMessagePadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product{ padding: {{emptyMessagePadding}} !important; }"}},"emptyMessageMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product{ margin: {{emptyMessageMargin}} !important; }"}}}}'),Jp=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M7 7h4v4H7zm6 0h4v4h-4zm-6 6h4v4H7zm6 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"}));var Xp=Zp.name,$p=Zp.title,eg=Zp.description,tg=Zp.category,og=Zp.attributes,rg=Zp.keywords,ng=Zp.supports,ag={title:(0,ue.__)($p,"woolentor"),description:(0,ue.__)(eg,"woolentor"),icon:React.createElement(de.Icon,{icon:Jp}),keywords:rg,supports:ng,attributes:og,edit:Yp,save:function(){return null}};function lg(e){return function(e){if(Array.isArray(e))return cg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ig(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ig(e,t){if(e){if("string"==typeof e)return cg(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?cg(e,t):void 0}}function cg(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const sg=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||ig(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=function(e,t,n){var a=lg(o.testimonialList);a[n][t]=e,r({testimonialList:a})};return o.testimonialList.length>0&&(t=o.testimonialList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.testimonialList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,ue.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=lg(o.testimonialList);t.splice(e,1),r({testimonialList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.TextControl,{label:(0,ue.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Customer Name","woolentor"),value:o.testimonialList[t].name,onChange:function(e){return i(e,"name",t)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Designation","woolentor"),value:o.testimonialList[t].designation,placeholder:(0,ue.__)("Designation","woolentor"),onChange:function(e){return i(e,"designation",t)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Rating","woolentor"),value:o.testimonialList[t].rating,placeholder:(0,ue.__)("5","woolentor"),onChange:function(e){return i(e,"rating",t)}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Message","woolentor"),value:o.testimonialList[t].message,placeholder:(0,ue.__)("Review Message","woolentor"),onChange:function(e){return i(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Jo,{title:(0,ue.__)("Choose Image","woolentor"),instructions:(0,ue.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.testimonialList[t].image,onChange:function(e){return i(e,"image",t)}})))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Testimonial","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:o.testimonialStyle,options:[{label:(0,ue.__)("Style One","woolentor"),value:"1"},{label:(0,ue.__)("Style Two","woolentor"),value:"2"},{label:(0,ue.__)("Style Three","woolentor"),value:"3"},{label:(0,ue.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({testimonialStyle:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Show From","woolentor"),value:o.testimonialType,options:[{label:(0,ue.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return r({testimonialType:e})}}),"custom"==o.testimonialType&&React.createElement(React.Fragment,null,t,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=lg(o.testimonialList);e.push({name:(0,ue.__)("Customer Name #"+(o.testimonialList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({testimonialList:e}),l(o.testimonialList.length)}.bind(void 0)},(0,ue.__)("Add Review","woolentor"))),"allproduct"==o.testimonialType&&React.createElement(React.Fragment,null,React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(de.__experimentalNumberControl,{label:(0,ue.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.testimonialType&&React.createElement(de.TextControl,{label:(0,ue.__)("Product ID","woolentor"),placeholder:(0,ue.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.testimonialType&&React.createElement(de.Notice,{status:"success",isDismissible:!1},(0,ue.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.testimonialType&&React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.testimonialType&&React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(Vt,{title:(0,ue.__)("Columns","woolentor")},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.ToggleControl,{label:(0,ue.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(de.RangeControl,{label:(0,ue.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(zr,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(zr,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Name","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Designation","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Message","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.ratingSize,fallbackFontSize:o.ratingSize,onChange:function(e){return r({ratingSize:e})}}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},ug=function(){return React.createElement(De.Fragment,null,React.createElement(wt.BlockControls,null,React.createElement(_r.BlockControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlign"})))};function dg(e){return dg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dg(e)}function mg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pg(r.key),r)}}function pg(e){var t=function(e,t){if("object"!=dg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dg(t)?t:String(t)}function gg(e,t,o){return t=bg(t),function(e,t){if(t&&("object"===dg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fg()?Reflect.construct(t,o||[],bg(e).constructor):t.apply(e,o))}function fg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fg=function(){return!!e})()}function bg(e){return bg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bg(e)}function yg(e,t){return yg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yg(e,t)}var Rg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gg(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yg(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Gt()((c={},u=o,(s=pg(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Be(t,l,i);return React.createElement(De.Fragment,null,r&&React.createElement(sg,this.props),r&&React.createElement(ug,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:l,attributes:{blockUniqId:i,testimonialStyle:t.testimonialStyle,testimonialType:t.testimonialType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,testimonialList:t.testimonialList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&mg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const _g=Rg,wg=JSON.parse('{"name":"woolentor/testimonial","category":"woolentor-blocks","title":"WL : Testimonial","description":"Display testimonial.","keywords":["woolentor","testimonial","review","customer","feedback"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"testimonialStyle":{"type":"string","default":"1"},"testimonialType":{"type":"string","default":"custom"},"testimonialList":{"type":"array","default":[{"name":"Anna Miller","designation":"Designer","rating":"5","message":"“Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, laboris consequat.”","image":{"id":"","url":""}},{"name":"Kevin Walker","designation":"Manager","rating":"3.5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Ruth Pierce","designation":"Developer","rating":"4","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-client-content,{{WOOLENTOR_WRAPPER}} .ht-client-rating { text-align: {{contentAlign}}; } {{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul{ display:inline-flex; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span::before,{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4::before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul li i { color: {{ratingColor}}!important; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul li i { font-size: {{ratingSize}}!important; }"}}}}'),hg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 23a1 1 0 0 1-1-1v-3H7a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4.1l-3.7 3.71c-.2.19-.45.29-.7.29H12m1-6v3.08L16.08 17H21V7H7v10h6M3 15H1V3a2 2 0 0 1 2-2h16v2H3v12Z"}));var Eg=wg.name,vg=wg.category,Og=wg.title,Pg=wg.description,Cg=wg.keywords,Bg=wg.attributes,Ag=wg.supports,Wg={title:(0,ue.__)(Og,"woolentor"),description:(0,ue.__)(Pg,"woolentor"),icon:React.createElement(de.Icon,{icon:hg}),keywords:Cg,attributes:Bg,supports:Ag,edit:_g,save:function(){return null}};const Sg=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Title Tag","woolentor"),value:r,options:_i,onChange:function(e){return o({titleTag:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Title","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"titleAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kg(e){return kg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kg(e)}var Tg;function xg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lg(r.key),r)}}function Lg(e){var t=function(e,t){if("object"!=kg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kg(t)?t:String(t)}function Ng(e,t,o){return t=jg(t),function(e,t){if(t&&("object"===kg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zg()?Reflect.construct(t,o||[],jg(e).constructor):t.apply(e,o))}function zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zg=function(){return!!e})()}function jg(e){return jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jg(e)}function Ig(e,t){return Ig=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ig(e,t)}var Mg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ng(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ig(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u,d,m,p=Gt()((c={},u=o,(s=Lg(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"product"),g=Gt()("woolentor-product-title","product_title"),f=bu.div(Tg||(d=["\n\t\t\t","\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t","\n\t\t"],m||(m=d.slice(0)),Tg=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.titleColor&&je(t.titleColor,"color","!important"),t.titleSize&&je(t.titleSize,"font-size","!important"),t.titleAlignment&&je(t.titleAlignment,"text-align","!important"),t.titleMargin&&Ie(t.titleMargin,"margin","!important"),t.areaPadding&&Ie(t.areaPadding.desktop,"padding"),Me(i));return React.createElement(De.Fragment,null,r&&React.createElement(Sg,this.props),React.createElement("div",{className:p},React.createElement(f,{className:g,as:t.titleTag},woolentorData.sampledata.title)))}}],r&&xg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Fg=Mg,Hg=JSON.parse('{"name":"woolentor/product-title","category":"woolentor-single-product","title":"WL : Product Title","description":"Display product title.","keywords":["woolentor","product","title","product title"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { color: {{titleColor}} !important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { font-size: {{titleSize}} !important; }"}},"titleAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { text-align: {{titleAlignment}} !important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { margin: {{titleMargin}} !important; }"}}}}'),Dg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var qg=Hg.name,Gg=Hg.category,Kg=Hg.title,Ug=Hg.description,Qg=Hg.keywords,Vg=Hg.attributes,Yg={title:(0,ue.__)(Kg,"woolentor"),description:(0,ue.__)(Ug,"woolentor"),icon:React.createElement(de.Icon,{icon:Dg}),keywords:Qg,example:{attributes:{title_tag:"h2"}},attributes:Vg,edit:Fg,save:function(){return null}};const Zg=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Price Area","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"})),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Reguler Price","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.oldPriceColor,onChange:function(e){return o({oldPriceColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.oldPriceSize,fallbackFontSize:t.oldPriceSize,onChange:function(e){return o({oldPriceSize:e})}}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jg(e){return Jg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jg(e)}function Xg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$g(r.key),r)}}function $g(e){var t=function(e,t){if("object"!=Jg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jg(t)?t:String(t)}function ef(e,t,o){return t=of(t),function(e,t){if(t&&("object"===Jg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tf()?Reflect.construct(t,o||[],of(e).constructor):t.apply(e,o))}function tf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tf=function(){return!!e})()}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},of(e)}function rf(e,t){return rf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rf(e,t)}var nf=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ef(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rf(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=$g(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i),"woolentor-product-price","product"),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Zg,this.props),React.createElement("div",{className:d},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.price_html}})),m)}}],r&&Xg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const af=nf,lf=JSON.parse('{"name":"woolentor/product-price","category":"woolentor-single-product","title":"WL : Product Price","description":"Display product price.","keywords":["woolentor","product","price","product price"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { text-align: {{contentAlignment}} !important; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { color: {{priceColor}} !important; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { font-size: {{priceSize}} !important; }"}},"priceMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { margin: {{priceMargin}} !important; }"}},"oldPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { color: {{oldPriceColor}} !important; }"}},"oldPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { font-size: {{oldPriceSize}} !important; }"}}}}'),cf=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.57em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 288 512"},React.createElement("path",{d:"M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2 3.7 34.2 10.5c6.1 4.1 14.3 3.1 19.5-2l34.8-34c7.1-6.9 6.1-18.4-1.8-24.5C238 74.8 207.4 64.1 176 64V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48h-2.5C45.8 64-5.4 118.7.5 183.6c4.2 46.1 39.4 83.6 83.8 96.6l102.5 30c12.5 3.7 21.2 15.3 21.2 28.3c0 16.3-13.2 29.5-29.5 29.5h-66.3C100 368 88 364.3 78 357.5c-6.1-4.1-14.3-3.1-19.5 2l-34.8 34c-7.1 6.9-6.1 18.4 1.8 24.5c24.5 19.2 55.1 29.9 86.5 30v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48.2c46.6-.9 90.3-28.6 105.7-72.7c21.5-61.6-14.6-124.8-72.5-141.7z",fill:"currentColor"}));var sf=lf.name,uf=lf.category,df=lf.title,mf=lf.description,pf=lf.keywords,gf=lf.attributes,ff={title:(0,ue.__)(df,"woolentor"),description:(0,ue.__)(mf,"woolentor"),icon:React.createElement(de.Icon,{icon:cf}),keywords:pf,example:{attributes:{priceColor:"#000"}},attributes:gf,edit:af,save:function(){return null}};const bf=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:t.layoutStyle,options:[{label:(0,ue.__)("Default","woolentor"),value:"1"},{label:(0,ue.__)("Layout One","woolentor"),value:"2"},{label:(0,ue.__)("Layout Two","woolentor"),value:"3"},{label:(0,ue.__)("Layout Three","woolentor"),value:"4"},{label:(0,ue.__)("Layout Four","woolentor"),value:"5"}],onChange:function(e){return o({layoutStyle:e})}}),React.createElement(io,{label:(0,ue.__)("Hide Quantity Field","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideQuantityField,onChange:function(){return o({hideQuantityField:!t.hideQuantityField})}})),!1===t.hideQuantityField&&"1"!==t.layoutStyle&&React.createElement(go,{label:(0,ue.__)("Quantity Field","woolentor")}),!1===t.hideQuantityField&&"4"!==t.layoutStyle&&"1"!==t.layoutStyle&&React.createElement(de.TextControl,{label:(0,ue.__)("Quantity Field Label","woolentor"),value:t.quantityText,onChange:function(e){return o({quantityText:e})}}),!1===t.hideQuantityField&&("2"===t.layoutStyle||"4"===t.layoutStyle)&&"1"!==t.layoutStyle&&React.createElement(React.Fragment,null,React.createElement(Wr,{label:(0,ue.__)("Plus Icon","woolentor"),onReset:function(){return o({quantityPlusIcon:""})},value:t.quantityPlusIcon,onChange:function(e){return o({quantityPlusIcon:e})}}),React.createElement(Wr,{label:(0,ue.__)("Minus Icon","woolentor"),onReset:function(){return o({quantityMinusIcon:""})},value:t.quantityMinusIcon,onChange:function(e){return o({quantityMinusIcon:e})}})),"1"!==t.layoutStyle&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Buttons","woolentor")}),React.createElement(io,{label:(0,ue.__)("Hide Wishlist","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideWishlistButton,onChange:function(){return o({hideWishlistButton:!t.hideWishlistButton})}})),React.createElement(io,{label:(0,ue.__)("Hide Compare","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideCompareButton,onChange:function(){return o({hideCompareButton:!t.hideCompareButton})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.buttonsPosition,options:[{label:(0,ue.__)("Befor Add to Cart","woolentor"),value:"before"},{label:(0,ue.__)("After Add to Cart","woolentor"),value:"after"},{label:(0,ue.__)("Both Side of Add to Cart","woolentor"),value:"both"}],onChange:function(e){return o({buttonsPosition:e})}})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Add To Cart Button","woolentor"),initialOpen:!0},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.buttonBorderType,options:wi,onChange:function(e){return o({buttonBorderType:e})}}),t.buttonBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.buttonBorderWidth,attributesKey:"buttonBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonBorderColor,onChange:function(e){return o({buttonBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.buttonBorderRadius,attributesKey:"buttonBorderRadius",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonBackgroundColor,onChange:function(e){return o({buttonBackgroundColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverButtonBackgroundColor,onChange:function(e){return o({hoverButtonBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverButtonBorderColor,onChange:function(e){return o({hoverButtonBorderColor:e})}}))))),!1===t.hideQuantityField&&React.createElement(Vt,{title:(0,ue.__)("Quantity","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Quantity Number","woolentor")},React.createElement(de.ColorPalette,{value:t.qntNumberColor,onChange:function(e){return o({qntNumberColor:e})}})),"4"===t.layoutStyle&&React.createElement(io,{label:(0,ue.__)("Quantity Background","woolentor")},React.createElement(de.ColorPalette,{value:t.qntBGColor,onChange:function(e){return o({qntBGColor:e})}})),("2"===t.layoutStyle||"3"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Label Font Size","woolentor"),layout:"two",styles:{textAlign:"left"}}),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.qntTextSize,fallbackFontSize:t.qntTextSize,onChange:function(e){return o({qntTextSize:e})}}),React.createElement(io,{label:(0,ue.__)("Label Color","woolentor")},React.createElement(de.ColorPalette,{value:t.qntLabelColor,onChange:function(e){return o({qntLabelColor:e})}}))),React.createElement(zr,{value:t.qntBorder,onChange:function(e){return o({qntBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.qntBorderRadius,attributesKey:"qntBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.qntPadding,attributesKey:"qntPadding",setAttributes:o}),"2"===t.layoutStyle&&React.createElement(de.RangeControl,{label:(0,ue.__)("Spacing","woolentor"),value:t.qntSpaceBetween,onChange:function(e){return o({qntSpaceBetween:e})},allowReset:!0,min:0,step:1,max:2e3}),React.createElement(de.RangeControl,{label:(0,ue.__)("Font Size","woolentor"),value:t.qntFontSize,onChange:function(e){return o({qntFontSize:e})},allowReset:!0,min:0,step:1,max:2e3}),("2"===t.layoutStyle||"4"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(Dt,{name:"qntbuttonstyles"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:t.qntPlusMinusColor,onChange:function(e){return o({qntPlusMinusColor:e})}}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:t.qntPlusMinusHoverColor,onChange:function(e){return o({qntPlusMinusHoverColor:e})}})))))),"1"!==t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("WishList and Compare Button","woolentor"),initialOpen:!1},React.createElement(de.RangeControl,{label:(0,ue.__)("Font Size","woolentor"),value:t.buttonsFontSize,onChange:function(e){return o({buttonsFontSize:e})},allowReset:!0,min:0,step:1,max:1e3}),("3"===t.layoutStyle||"4"===t.layoutStyle)&&React.createElement(de.RangeControl,{label:(0,ue.__)("Space Between","woolentor"),value:t.buttonsSpaceBetween,onChange:function(e){return o({buttonsSpaceBetween:e})},allowReset:!0,min:0,step:1,max:2e3}),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(de.RangeControl,{label:(0,ue.__)("Width","woolentor"),value:t.buttonsWidth,onChange:function(e){return o({buttonsWidth:e})},allowReset:!0,min:0,step:1,max:2e3}),React.createElement(de.RangeControl,{label:(0,ue.__)("Height","woolentor"),value:t.buttonsHeight,onChange:function(e){return o({buttonsHeight:e})},allowReset:!0,min:0,step:1,max:2e3})),React.createElement(Dt,{name:"wishlistcomparebutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonsColor,onChange:function(e){return o({buttonsColor:e})}})),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonsBGColor,onChange:function(e){return o({buttonsBGColor:e})}})),React.createElement(zr,{value:t.buttonsBorder,onChange:function(e){return o({buttonsBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.buttonsBorderRadius,attributesKey:"buttonsBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.buttonsPadding,attributesKey:"buttonsPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.buttonsMargin,attributesKey:"buttonsMargin",setAttributes:o}))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonsHoverColor,onChange:function(e){return o({buttonsHoverColor:e})}})),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.buttonsHoverBGColor,onChange:function(e){return o({buttonsHoverBGColor:e})}})),React.createElement(zr,{value:t.buttonsHoverBorder,onChange:function(e){return o({buttonsHoverBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.buttonsHoverBorderRadius,attributesKey:"buttonsHoverBorderRadius",setAttributes:o})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function yf(e){return yf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yf(e)}const Rf=JSON.parse('{"name":"woolentor/product-addtocart","category":"woolentor-single-product","title":"WL : Add To Cart","description":"Display product cart button.","keywords":["woolentor","product add to cart","cart button","add to cart"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layoutStyle":{"type":"string","default":"1"},"quantityText":{"type":"string","default":"Quantity"},"quantityPlusIcon":{"type":"string","default":"fa fa-plus"},"quantityMinusIcon":{"type":"string","default":"fa fa-minus"},"hideWishlistButton":{"type":"boolean","default":false},"hideCompareButton":{"type":"boolean","default":false},"buttonsPosition":{"type":"string","default":"both"},"hideQuantityField":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .quantity,{{WOOLENTOR_WRAPPER}} form.cart input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart form.cart .wl-quantity-wrap{ display: none !important; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ font-size: {{textSize}} !important; }"}},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ padding: {{buttonPadding}} !important; }"}},"buttonBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-style: {{buttonBorderType}} !important; }"}},"buttonBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-width: {{buttonBorderWidth}} !important; }"}},"buttonBorderColor":{"type":"string","style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-color: {{buttonBorderColor}} !important; }"}},"buttonBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-radius: {{buttonBorderRadius}} !important; }"}},"buttonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ background-color: {{buttonBackgroundColor}} !important; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ color: {{hoverTextColor}} !important; }"}},"hoverButtonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ background-color: {{hoverButtonBackgroundColor}} !important; }"}},"hoverButtonBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ border-color: {{hoverButtonBorderColor}} !important; }"}},"buttonsColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist a,.wl-cart-icon.compare,.wl-cart-icon.compare a,.wl-wishlist-compare-txt li a,.wl-wishlist-compare-txt li span){ color: {{buttonsColor}} !important; }"}},"buttonsBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist,.wl-cart-icon.compare){ background-color: {{buttonsBGColor}} !important; }"}},"buttonsBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":".woocommerce div.product {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon"}},"buttonsBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-wrap .wl-cart-icon,{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ border-radius: {{buttonsBorderRadius}} !important; }"}},"buttonsPadding":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ padding: {{buttonsPadding}} !important; }"}},"buttonsMargin":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ margin: {{buttonsMargin}} !important; }"}},"buttonsFontSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-cart-icon.wishlist a svg,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 form.cart .wl-cart-icon.wishlist .wishsuite-button svg,{{WOOLENTOR_WRAPPER}} .wl-wishlist-compare-txt li a svg{ width: {{buttonsFontSize}}px !important; } {{WOOLENTOR_WRAPPER}} .wl-cart-icon.compare a,{{WOOLENTOR_WRAPPER}} .wl-wishlist-compare-txt li :is(a,span){font-size:{{buttonsFontSize}}px; }"}},"buttonsWidth":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ width: {{buttonsWidth}}px !important; }"}},"buttonsHeight":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ height: {{buttonsHeight}}px !important; }"}},"buttonsSpaceBetween":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["3","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is( span.wishsuite-btn-text,.htcompare-btn.woolentor-compare ){ margin-left: {{buttonsSpaceBetween}}px !important; }"}},"buttonsHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist a,.wl-cart-icon.compare,.wl-cart-icon.compare a,.wl-wishlist-compare-txt li a,.wl-wishlist-compare-txt li span):hover{ color: {{buttonsHoverColor}} !important; }"}},"buttonsHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist,.wl-cart-icon.compare):hover{ background-color: {{buttonsHoverBGColor}} !important; }"}},"buttonsHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":".woocommerce div.product {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon:hover"}},"buttonsHoverBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-wrap .wl-cart-icon:hover,{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon:hover{ border-radius: {{buttonsHoverBorderRadius}} !important; }"}},"qntTextSize":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","3","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .label{ font-size: {{qntTextSize}}; }"}},"qntPlusMinusColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity:is(.wl-qunatity-minus,.wl-qunatity-plus){ color: {{qntPlusMinusColor}}; }"}},"qntNumberColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .quantity input[type=number]{ color: {{qntNumberColor}}; }"}},"qntBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"4"}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity-cal{ background-color: {{qntBGColor}}; }"}},"qntLabelColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","3","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap span.label{ color: {{qntLabelColor}}; }"}},"qntPlusMinusHoverColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity:is(.wl-qunatity-minus,.wl-qunatity-plus):hover{ color: {{qntPlusMinusHoverColor}}; }"}},"qntBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]"}},"qntBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]{ border-radius: {{buttonsHoverBorderRadius}} }"}},"qntPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]{ padding: {{qntPadding}} }"}},"qntSpaceBetween":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"2"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal{ margin-left: {{qntSpaceBetween}}px !important; }"}},"qntFontSize":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity-cal :is(.quantity input,.wl-quantity){ font-size: {{qntFontSize}}px; }"}}}}'),_f=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.13em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 576 512"},React.createElement("path",{d:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994c-29.823-.429-54.35-24.631-55.155-54.447c-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938c-28.54-1.325-51.751-24.385-53.251-52.917c-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z",fill:"currentColor"}));var wf=Rf.name,hf=Rf.category,Ef=Rf.title,vf=Rf.description,Of=Rf.keywords,Pf=Rf.attributes,Cf={title:(0,ue.__)(Ef,"woolentor"),description:(0,ue.__)(vf,"woolentor"),icon:React.createElement(de.Icon,{icon:_f}),keywords:Of,example:{attributes:{textColor:"#fff"}},attributes:Pf,edit:function(e){var t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d,m=Be(o,t,i),p=Gt()((c={},u=r,d=function(e,t){if("object"!=yf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=yf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(s=r),(s="symbol"==yf(d)?d:String(d))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","product","woolentorblock-".concat(i));return React.createElement(De.Fragment,null,n&&React.createElement(bf,e),React.createElement("div",{className:p},React.createElement(In(),{block:t,attributes:{blockUniqId:i,layoutStyle:o.layoutStyle,quantityText:o.quantityText,quantityPlusIcon:o.quantityPlusIcon,quantityMinusIcon:o.quantityMinusIcon,hideWishlistButton:o.hideWishlistButton,hideCompareButton:o.hideCompareButton,buttonsPosition:o.buttonsPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}),m))},save:function(){return null}};const Bf=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Af(e){return Af="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Af(e)}function Wf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Sf(r.key),r)}}function Sf(e){var t=function(e,t){if("object"!=Af(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Af(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Af(t)?t:String(t)}function kf(e,t,o){return t=xf(t),function(e,t){if(t&&("object"===Af(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Tf()?Reflect.construct(t,o||[],xf(e).constructor):t.apply(e,o))}function Tf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Tf=function(){return!!e})()}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},xf(e)}function Lf(e,t){return Lf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lf(e,t)}var Nf=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kf(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lf(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Sf(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Gt()("woolentor-product-short-description","product"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Bf,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.short_description}}))),p)}}],r&&Wf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const zf=Nf,jf=JSON.parse('{"name":"woolentor/product-short-description","category":"woolentor-single-product","title":"WL : Short Description","description":"Display product short description.","keywords":["woolentor","product description","short description","description"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ margin: {{textMargin}}; }"}}}}'),If=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var Mf=jf.name,Ff=jf.category,Hf=jf.title,Df=jf.description,qf=jf.keywords,Gf=jf.attributes,Kf={title:(0,ue.__)(Hf,"woolentor"),description:(0,ue.__)(Df,"woolentor"),icon:React.createElement(de.Icon,{icon:If}),keywords:qf,example:{attributes:{textColor:"#000"}},attributes:Gf,edit:zf,save:function(){return null}};const Uf=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Qf(e){return Qf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qf(e)}function Vf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Yf(r.key),r)}}function Yf(e){var t=function(e,t){if("object"!=Qf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qf(t)?t:String(t)}function Zf(e,t,o){return t=Xf(t),function(e,t){if(t&&("object"===Qf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Jf()?Reflect.construct(t,o||[],Xf(e).constructor):t.apply(e,o))}function Jf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Jf=function(){return!!e})()}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xf(e)}function $f(e,t){return $f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$f(e,t)}var eb=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Zf(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$f(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Yf(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Gt()("woolentor-product-description","product"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Uf,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{className:"woocommerce_product_description",dangerouslySetInnerHTML:{__html:"<p>"+woolentorData.sampledata.description+"</p>"}}))),p)}}],r&&Vf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const tb=eb,ob=JSON.parse('{"name":"woolentor/product-description","category":"woolentor-single-product","title":"WL : Description","description":"Display product description.","keywords":["woolentor","description","product description","description"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}{ margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ margin: {{textMargin}}; }"}}}}'),rb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var nb=ob.name,ab=ob.category,lb=ob.title,ib=ob.description,cb=ob.keywords,sb=ob.attributes,ub={title:(0,ue.__)(lb,"woolentor"),description:(0,ue.__)(ib,"woolentor"),icon:React.createElement(de.Icon,{icon:rb}),keywords:cb,example:{attributes:{textColor:"#000"}},attributes:sb,edit:tb,save:function(){return null}};const db=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement("h3",null,(0,ue.__)("Link font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.linkSize,fallbackFontSize:t.linkSize,onChange:function(e){return o({linkSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function mb(e){return mb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mb(e)}function pb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gb(r.key),r)}}function gb(e){var t=function(e,t){if("object"!=mb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=mb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mb(t)?t:String(t)}function fb(e,t,o){return t=yb(t),function(e,t){if(t&&("object"===mb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bb()?Reflect.construct(t,o||[],yb(e).constructor):t.apply(e,o))}function bb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bb=function(){return!!e})()}function yb(e){return yb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yb(e)}function Rb(e,t){return Rb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rb(e,t)}var _b=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),fb(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rb(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=gb(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Gt()("woolentorblock-".concat(i),"woolentor-product-rating","product"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(db,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.rating}}))),p)}}],r&&pb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const wb=_b,hb=JSON.parse('{"name":"woolentor/product-rating","category":"woolentor-single-product","title":"WL : Rating","description":"Display product rating.","keywords":["woolentor","rating","product review","product rating"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .star-rating,{{WOOLENTOR_WRAPPER}} .star-rating::before, {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating,{{WOOLENTOR_WRAPPER}} .woocommerce-product-rating::before{ color: {{ratingColor}} !important; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ color: {{linkColor}} !important; }"}},"linkSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ font-size: {{linkSize}} !important; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating { text-align: {{contentAlignment}} !important;line-height:1; } .woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating .star-rating{ display:inline-block;float:none;margin-top:0;text-align:left }"}}}}'),Eb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.97em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 496 512"},React.createElement("path",{d:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3c-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9c-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.3.9 9 8.5 4.4 13.1z",fill:"currentColor"}));var vb=hb.name,Ob=hb.category,Pb=hb.title,Cb=hb.description,Bb=hb.keywords,Ab=hb.attributes,Wb={title:(0,ue.__)(Pb,"woolentor"),description:(0,ue.__)(Cb,"woolentor"),icon:React.createElement(de.Icon,{icon:Eb}),keywords:Bb,example:{attributes:{ratingColor:"inherit"}},attributes:Ab,edit:wb,save:function(){return null}};const Sb=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Image","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.imageBorderType,options:wi,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Thumbnails","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.thumbBorderType,options:wi,onChange:function(e){return o({thumbBorderType:e})}}),t.thumbBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.thumbBorderWidth,attributesKey:"thumbBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbBorderColor,onChange:function(e){return o({thumbBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.thumbBorderRadius,attributesKey:"thumbBorderRadius",setAttributes:o}),React.createElement(de.RangeControl,{label:(0,ue.__)("Spacing","woolentor"),value:t.thumbSpacing,onChange:function(e){return o({thumbSpacing:e})},min:1,step:1,max:1e3,allowReset:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kb(e){return kb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kb(e)}function Tb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xb(r.key),r)}}function xb(e){var t=function(e,t){if("object"!=kb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kb(t)?t:String(t)}function Lb(e,t,o){return t=zb(t),function(e,t){if(t&&("object"===kb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Nb()?Reflect.construct(t,o||[],zb(e).constructor):t.apply(e,o))}function Nb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Nb=function(){return!!e})()}function zb(e){return zb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zb(e)}function jb(e,t){return jb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jb(e,t)}var Ib=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Lb(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jb(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=xb(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce woocommerce-page single-product woocommerce-js","woolentorblock-".concat(i)),m=Gt()("woolentor-product-image"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Sb,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},React.createElement(de.Disabled,null,(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.image}})))),p)}}],r&&Tb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Mb=Ib,Fb=JSON.parse('{"name":"woolentor/product-image","category":"woolentor-single-product","title":"WL : Product Image","description":"Display product image.","keywords":["woolentor","image","product image"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"imageBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport{border-style:{{imageBorderType}};overflow:hidden; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport:not(:last-child) { margin: {{imageMargin}}; }"}},"thumbBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-style: {{thumbBorderType}}; }"}},"thumbBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-width: {{thumbBorderWidth}}; }"}},"thumbBorderColor":{"type":"string","style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-color: {{thumbBorderColor}}; }"}},"thumbBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-radius: {{thumbBorderRadius}}; }"}},"thumbSpacing":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs li { padding-right: calc({{thumbSpacing}}px / 2);padding-left: calc({{thumbSpacing}}px / 2);}.woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs { margin-right: calc(-{{thumbSpacing}}px / 2)!important;margin-left: calc(-{{thumbSpacing}}px / 2)!important; }"}}}}'),Hb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var Db=Fb.name,qb=Fb.category,Gb=Fb.title,Kb=Fb.description,Ub=Fb.keywords,Qb=Fb.attributes,Vb={title:(0,ue.__)(Gb,"woolentor"),description:(0,ue.__)(Kb,"woolentor"),icon:React.createElement(de.Icon,{icon:Hb}),keywords:Ub,attributes:Qb,edit:Mb,save:function(){return null}};const Yb=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:t.layoutStyle,options:[{label:(0,ue.__)("Tab","woolentor"),value:"tab"},{label:(0,ue.__)("Tab With Slider","woolentor"),value:"tabslider"},{label:(0,ue.__)("Gallery","woolentor"),value:"gallery"},{label:(0,ue.__)("Slider","woolentor"),value:"slider"},{label:(0,ue.__)("Single Thumbnails","woolentor"),value:"single"}],onChange:function(e){return o({layoutStyle:e})}}),("tabslider"===t.layoutStyle||"tab"===t.layoutStyle)&&React.createElement(_r.InspectorControls,{label:(0,ue.__)("Thumbnails Position","woolentor"),attribute:"thumbnailsPosition",isSmall:!0,options:[{value:"left",title:(0,ue.__)("Left","woolentor"),icon:(0,ue.__)(React.createElement(de.Icon,{icon:Ne}))},{value:"right",title:(0,ue.__)("Right","woolentor"),icon:(0,ue.__)(React.createElement(de.Icon,{icon:ze}))},{value:"top",title:(0,ue.__)("Top","woolentor"),icon:(0,ue.__)(React.createElement(de.Icon,{icon:xe}))},{value:"bottom",title:(0,ue.__)("bottom","woolentor"),icon:(0,ue.__)(React.createElement(de.Icon,{icon:Le}))}]}),React.createElement(io,{label:(0,ue.__)("Sale Badge Hide","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.saleBadgeHide,onChange:function(){return o({saleBadgeHide:!t.saleBadgeHide})}})),React.createElement(io,{label:(0,ue.__)("Custom Badge Hide","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.customSaleBadgeHide,onChange:function(){return o({customSaleBadgeHide:!t.customSaleBadgeHide})}}))),"tabslider"===t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Slider Option","woolentor")},React.createElement(go,{label:(0,ue.__)("Main Image Slider","woolentor")}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.mainArrows,onChange:function(){return o({mainArrows:!t.mainArrows})}})),React.createElement(io,{label:(0,ue.__)("Slider Pagination","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.mainDots,onChange:function(){return o({mainDots:!t.mainDots})}})),React.createElement(go,{label:(0,ue.__)("Thumbnails Slider","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.thumbSliderItems,onChange:function(e){return o({thumbSliderItems:e})},min:1,step:1,max:100}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.thumbnaiArrows,onChange:function(){return o({thumbnaiArrows:!t.thumbnaiArrows})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Arrow Style","woolentor"),value:t.thumbArrowStyle,options:[{label:(0,ue.__)("Style One","woolentor"),value:"one"},{label:(0,ue.__)("Style Two","woolentor"),value:"two"}],onChange:function(e){return o({thumbArrowStyle:e})}})),"slider"===t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Slider Option","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.sliderItems,onChange:function(e){return o({sliderItems:e})},min:1,step:1,max:100}),React.createElement(io,{label:(0,ue.__)("Slider Arrow","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.arrows,onChange:function(){return o({arrows:!t.arrows})}})),React.createElement(io,{label:(0,ue.__)("Slider dots","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.dots,onChange:function(){return o({dots:!t.dots})}})),React.createElement(io,{label:(0,ue.__)("Pause on Hover?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.pauseOnHover,onChange:function(){return o({pauseOnHover:!t.pauseOnHover})}})),React.createElement(io,{label:(0,ue.__)("Slider auto play","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.autoplay,onChange:function(){return o({autoplay:!t.autoplay})}})),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay speed","woolentor"),value:t.autoplaySpeed,onChange:function(e){return o({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Autoplay animation speed","woolentor"),value:t.animationSpeed,onChange:function(e){return o({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.scrollColumns,onChange:function(e){return o({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(go,{label:(0,ue.__)("Tablet Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.tabletDisplayColumns,onChange:function(e){return o({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.tabletScrollColumns,onChange:function(e){return o({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Tablet Screen Resolution","woolentor"),value:t.tabletWidth,onChange:function(e){return o({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(go,{label:(0,ue.__)("Mobile Phone Screen","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider Items","woolentor"),value:t.mobileDisplayColumns,onChange:function(e){return o({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Slider item to scroll","woolentor"),value:t.mobileScrollColumns,onChange:function(e){return o({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(de.RangeControl,{label:(0,ue.__)("Mobile Screen Resolution","woolentor"),value:t.mobileWidth,onChange:function(e){return o({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(Tt,null,"gallery"!=t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Main Image","woolentor")},React.createElement(zr,{value:t.imageBorder,onChange:function(e){return o({imageBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Thumbnails Image","woolentor")},React.createElement(zr,{value:t.thumbImageBorder,onChange:function(e){return o({thumbImageBorder:e})}}),"tabslider"===t.layoutStyle&&React.createElement(zr,{label:(0,ue.__)("Current Thumbnails Border","woolentor"),value:t.thumbCurrentImageBorder,onChange:function(e){return o({thumbCurrentImageBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.thumbImageBorderRadius,attributesKey:"thumbImageBorderRadius",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.thumbImageMargin,attributesKey:"thumbImageMargin",setAttributes:o,responsive:!0})),"tabslider"===t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Slider Control","woolentor")},React.createElement(go,{label:(0,ue.__)("Main Slider Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainNavigationColor,onChange:function(e){return o({mainNavigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainNavigationBGColor,onChange:function(e){return o({mainNavigationBGColor:e})}})),React.createElement(zr,{value:t.mainNavigationBorder,onChange:function(e){return o({mainNavigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainNavigationHoverColor,onChange:function(e){return o({mainNavigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainNavigationHoverBGColor,onChange:function(e){return o({mainNavigationHoverBGColor:e})}})),React.createElement(zr,{value:t.mainNavigationHoverBorder,onChange:function(e){return o({mainNavigationHoverBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Main Slider Pagination","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Position","woolentor"),value:t.mainPaginationPosition,onChange:function(e){return o({mainPaginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(Dt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainPaginationColor,onChange:function(e){return o({mainPaginationColor:e})}})),React.createElement(zr,{value:t.mainPaginationBorder,onChange:function(e){return o({mainPaginationBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.mainPaginationActiveColor,onChange:function(e){return o({mainPaginationActiveColor:e})}})),React.createElement(zr,{value:t.mainPaginationActiveBorder,onChange:function(e){return o({mainPaginationActiveBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Thumbnails Slider Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbNavigationColor,onChange:function(e){return o({thumbNavigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbNavigationBGColor,onChange:function(e){return o({thumbNavigationBGColor:e})}})),React.createElement(zr,{value:t.thumbNavigationBorder,onChange:function(e){return o({thumbNavigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbNavigationHoverColor,onChange:function(e){return o({thumbNavigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thumbNavigationHoverBGColor,onChange:function(e){return o({thumbNavigationHoverBGColor:e})}})),React.createElement(zr,{value:t.thumbNavigationHoverBorder,onChange:function(e){return o({thumbNavigationHoverBorder:e})}})))),"slider"===t.layoutStyle&&React.createElement(Vt,{title:(0,ue.__)("Slider Control","woolentor")},React.createElement(go,{label:(0,ue.__)("Navigation","woolentor")}),React.createElement(Dt,{name:"slidernavigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationColor,onChange:function(e){return o({navigationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationBGColor,onChange:function(e){return o({navigationBGColor:e})}})),React.createElement(zr,{value:t.navigationBorder,onChange:function(e){return o({navigationBorder:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationHoverColor,onChange:function(e){return o({navigationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.navigationHoverBGColor,onChange:function(e){return o({navigationHoverBGColor:e})}})),React.createElement(zr,{value:t.navigationHoverBorder,onChange:function(e){return o({navigationHoverBorder:e})}}))),React.createElement(go,{label:(0,ue.__)("Pagination","woolentor")}),React.createElement(de.RangeControl,{label:(0,ue.__)("Position","woolentor"),value:t.paginationPosition,onChange:function(e){return o({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(Dt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(zr,{value:t.paginationBorder,onChange:function(e){return o({paginationBorder:e})}})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationActiveColor,onChange:function(e){return o({paginationActiveColor:e})}})),React.createElement(zr,{value:t.mainPaginationActiveBorder,onChange:function(e){return o({mainPaginationActiveBorder:e})}})))),React.createElement(Vt,{title:(0,ue.__)("Product Badge","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.badgeColor,onChange:function(e){return o({badgeColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.badgeBGColor,onChange:function(e){return o({badgeBGColor:e})}})),React.createElement(zr,{value:t.badgeBorder,onChange:function(e){return o({badgeBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.badgeBorderRadius,attributesKey:"badgeBorderRadius",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.badgeBorderPadding,attributesKey:"badgeBorderPadding",setAttributes:o,responsive:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Zb(e){return Zb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zb(e)}function Jb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xb(r.key),r)}}function Xb(e){var t=function(e,t){if("object"!=Zb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Zb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zb(t)?t:String(t)}function $b(e,t,o){return t=ty(t),function(e,t){if(t&&("object"===Zb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ey()?Reflect.construct(t,o||[],ty(e).constructor):t.apply(e,o))}function ey(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ey=function(){return!!e})()}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ty(e)}function oy(e,t){return oy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oy(e,t)}var ry=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=$b(this,t,[e])).customEvent=new CustomEvent("WoolentorEditorModeNavForSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o.customEventSlider=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oy(e,t)}(t,e),o=t,r=[{key:"componentDidUpdate",value:function(e){var t=this,o=0;if(e.attributes!=this.props.attributes)var r=setInterval((function(){document.dispatchEvent(t.customEvent),document.dispatchEvent(t.customEventSlider),3===o&&clearInterval(r),o++}),500)}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=o.blockUniqId;""==i&&n({blockUniqId:a});var c=Gt()(t,"wlpro-product-thumbnails","woolentorblock-".concat(i)),s=Be(o,l,i);return"tabslider"===o.layoutStyle&&document.dispatchEvent(this.customEvent),"slider"===o.layoutStyle&&document.dispatchEvent(this.customEventSlider),React.createElement(De.Fragment,null,r&&React.createElement(Yb,this.props),React.createElement("div",{className:c},React.createElement(In(),{block:l,className:"woolentorblock-editor-".concat(i),attributes:{blockUniqId:i,layoutStyle:o.layoutStyle,thumbnailsPosition:o.thumbnailsPosition,saleBadgeHide:o.saleBadgeHide,customSaleBadgeHide:o.customSaleBadgeHide,mainArrows:o.mainArrows,mainDots:o.mainDots,thumbSliderItems:o.thumbSliderItems,thumbnaiArrows:o.thumbnaiArrows,thumbArrowStyle:o.thumbArrowStyle,sliderItems:o.sliderItems,arrows:o.arrows,dots:o.dots,pauseOnHover:o.pauseOnHover,autoplay:o.autoplay,autoplaySpeed:o.autoplaySpeed,animationSpeed:o.animationSpeed,scrollColumns:o.scrollColumns,tabletDisplayColumns:o.tabletDisplayColumns,tabletScrollColumns:o.tabletScrollColumns,tabletWidth:o.tabletWidth,mobileDisplayColumns:o.mobileDisplayColumns,mobileScrollColumns:o.mobileScrollColumns,mobileWidth:o.mobileWidth},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),s)}}],r&&Jb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ny=ry,ay=JSON.parse('{"name":"woolentor/product-advance-image","category":"woolentor-single-product","title":"WL: Advance Product Image","description":"Display Product Grid.","keywords":["woolentor","shoplentor","product","single product","woocommerce","advance product image"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layoutStyle":{"type":"string","default":"tab"},"thumbnailsPosition":{"type":"string","default":"bottom"},"saleBadgeHide":{"type":"boolean","default":false},"customSaleBadgeHide":{"type":"boolean","default":false},"mainArrows":{"type":"boolean","default":true},"mainDots":{"type":"boolean","default":true},"thumbSliderItems":{"type":"number","default":4},"thumbnaiArrows":{"type":"boolean","default":true},"thumbArrowStyle":{"type":"string","default":"one"},"sliderItems":{"type":"number","default":1},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":1},"tabletDisplayColumns":{"type":"number","default":1},"tabletScrollColumns":{"type":"number","default":1},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image img{ border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image{ margin: {{imageMargin}}; }"}},"thumbImageBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li img, .woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery img, .woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider img,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single img"}},"thumbCurrentImageBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single.slick-current img"}},"thumbImageBorderRadius":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li img, .woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery img, .woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider img,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single img{ border-radius: {{thumbImageBorderRadius}}; }"}},"thumbImageMargin":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery,.woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img{ margin: {{thumbImageMargin}}; }"}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}},"mainNavigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow{ color: {{mainNavigationColor}}!important; }"}},"mainNavigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow{ background-color: {{mainNavigationBGColor}}!important; }"}},"mainNavigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woolentor-learg-img .slick-arrow"}},"mainNavigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow:hover{ color: {{mainNavigationHoverColor}}!important; }"}},"mainNavigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow:hover{ background-color: {{mainNavigationHoverBGColor}}!important; }"}},"mainNavigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woolentor-learg-img .slick-arrow:hover"}},"mainPaginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots{ bottom: {{mainPaginationPosition}}px; }"}},"mainPaginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li button{ background-color: {{mainPaginationColor}}; }"}},"mainPaginationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li button"}},"mainPaginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li.slick-active button{ background-color: {{mainPaginationActiveColor}}; }"}},"mainPaginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li.slick-active button"}},"thumbNavigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow{ color: {{thumbNavigationColor}}; }"}},"thumbNavigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow{ background-color: {{thumbNavigationBGColor}}; }"}},"thumbNavigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow"}},"thumbNavigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover{ color: {{thumbNavigationHoverColor}}; }"}},"thumbNavigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover{ background-color: {{thumbNavigationHoverBGColor}}; }"}},"thumbNavigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover"}},"badgeColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ color: {{badgeColor}}; }"}},"badgeBGColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ background-color: {{badgeBGColor}}; }"}},"badgeBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label"}},"badgeBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ border-radius: {{badgeBorderRadius}}; }"}},"badgeBorderPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ padding: {{badgeBorderPadding}}; }"}}}}'),ly=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var iy=ay.name,cy=ay.title,sy=ay.description,uy=ay.category,dy=ay.attributes,my=ay.keywords,py=ay.supports,gy={title:(0,ue.__)(cy,"woolentor"),description:(0,ue.__)(sy,"woolentor"),icon:React.createElement(de.Icon,{icon:ly}),keywords:my,supports:py,attributes:dy,edit:ny,save:function(){return null}};const fy=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Product Meta","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function by(e){return by="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},by(e)}function yy(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ry(r.key),r)}}function Ry(e){var t=function(e,t){if("object"!=by(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=by(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==by(t)?t:String(t)}function _y(e,t,o){return t=hy(t),function(e,t){if(t&&("object"===by(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wy()?Reflect.construct(t,o||[],hy(e).constructor):t.apply(e,o))}function wy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wy=function(){return!!e})()}function hy(e){return hy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hy(e)}function Ey(e,t){return Ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ey(e,t)}var vy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_y(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ey(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Ry(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Gt()("woolentorblock-".concat(i),"woolentor-product-meta"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(fy,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.meta_info}}))),p)}}],r&&yy(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Oy=vy,Py=JSON.parse('{"name":"woolentor/product-meta","category":"woolentor-single-product","title":"WL : Product Meta","description":"Display product meta info.","keywords":["woolentor","product meta","meta info","product info"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ color: {{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a{ color: {{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a:hover{ color: {{linkHoverColor}}; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ font-size: {{textSize}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ margin: {{textMargin}}; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ text-align: {{contentAlignment}}; }"}}}}'),Cy=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 512 512"},React.createElement("path",{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42s-42-18.804-42-42s18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z",fill:"currentColor"}));var By=Py.name,Ay=Py.category,Wy=Py.title,Sy=Py.description,ky=Py.keywords,Ty=Py.attributes,xy={title:(0,ue.__)(Wy,"woolentor"),description:(0,ue.__)(Sy,"woolentor"),icon:React.createElement(de.Icon,{icon:Cy}),keywords:ky,example:{attributes:{textColor:"#000"}},attributes:Ty,edit:Oy,save:function(){return null}};const Ly=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Show Heading","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.showHeading,onChange:function(){return o({showHeading:!t.showHeading})}})))),React.createElement(Tt,null,!0===t.showHeading&&React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Content Table","woolentor")},React.createElement(go,{label:(0,ue.__)("Heading","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(go,{label:(0,ue.__)("Content","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ny(e){return Ny="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ny(e)}function zy(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jy(r.key),r)}}function jy(e){var t=function(e,t){if("object"!=Ny(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ny(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ny(t)?t:String(t)}function Iy(e,t,o){return t=Fy(t),function(e,t){if(t&&("object"===Ny(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,My()?Reflect.construct(t,o||[],Fy(e).constructor):t.apply(e,o))}function My(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(My=function(){return!!e})()}function Fy(e){return Fy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Fy(e)}function Hy(e,t){return Hy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Hy(e,t)}var Dy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Iy(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Hy(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=jy(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Gt()("woolentor-product-additional-info"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(Ly,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.additional_info}}))),p)}}],r&&zy(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const qy=Dy,Gy=JSON.parse('{"name":"woolentor/product-additional-info","category":"woolentor-single-product","title":"WL : Product Additional Info","description":"Display product additional information.","keywords":["woolentor","additional info","information","product information"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showHeading":{"type":"boolean","default":true},"headingColor":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { margin: {{headingMargin}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { font-size: {{tableHeadingSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { color: {{tableContentColor}}; }"}},"tableContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { font-size: {{tableContentSize}}; }"}}}}'),Ky=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.75em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 384 512"},React.createElement("path",{d:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z",fill:"currentColor"}));var Uy=Gy.name,Qy=Gy.category,Vy=Gy.title,Yy=Gy.description,Zy=Gy.keywords,Jy=Gy.attributes,Xy={title:(0,ue.__)(Vy,"woolentor"),description:(0,ue.__)(Yy,"woolentor"),icon:React.createElement(de.Icon,{icon:Ky}),keywords:Zy,example:{attributes:{showHeading:!0}},attributes:Jy,edit:qy,save:function(){return null}};const $y=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Tab Menu","woolentor"),initialOpen:!0},React.createElement(Dt,{name:"menu",tabs:["normal","active"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuBorderColor,onChange:function(e){return o({tabMenuBorderColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabMenuSize,fallbackFontSize:t.tabMenuSize,onChange:function(e){return o({tabMenuSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.tabMenuBorderRadius,attributesKey:"tabMenuBorderRadius",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tabMenuAlignment",justified:!0})),React.createElement(Ut,{name:"active"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuBGActiveColor,onChange:function(e){return o({tabMenuBGActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabMenuActiveBorderColor,onChange:function(e){return o({tabMenuActiveBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(go,{label:(0,ue.__)("Heading","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabContentHeadingColor,onChange:function(e){return o({tabContentHeadingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentHeadingSize,fallbackFontSize:t.tabContentHeadingSize,onChange:function(e){return o({tabContentHeadingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.tabContentHeadingMargin,attributesKey:"tabContentHeadingMargin",setAttributes:o}),React.createElement(go,{label:(0,ue.__)("Description","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tabContentColor,onChange:function(e){return o({tabContentColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentSize,fallbackFontSize:t.tabContentSize,onChange:function(e){return o({tabContentSize:e})}}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function eR(e){return eR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},eR(e)}function tR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,oR(r.key),r)}}function oR(e){var t=function(e,t){if("object"!=eR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=eR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eR(t)?t:String(t)}function rR(e,t,o){return t=aR(t),function(e,t){if(t&&("object"===eR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,nR()?Reflect.construct(t,o||[],aR(e).constructor):t.apply(e,o))}function nR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(nR=function(){return!!e})()}function aR(e){return aR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},aR(e)}function lR(e,t){return lR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},lR(e,t)}var iR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),rR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&lR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=oR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Gt()("woolentorblock-".concat(i),"woolentor-product-tabs","product"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement($y,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_tabs}}))),p)}}],r&&tR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const cR=iR,sR=JSON.parse('{"name":"woolentor/product-tabs","category":"woolentor-single-product","title":"WL : Product Tabs","description":"Display product tabs.","keywords":["woolentor","tabs","product","product tabs"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tabMenuColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ color: {{tabMenuColor}} !important; }"}},"tabMenuBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ background-color: {{tabMenuBGColor}} !important; }"}},"tabMenuBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-color: {{tabMenuBorderColor}} !important; }"}},"tabMenuSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ font-size: {{tabMenuSize}} !important; }"}},"tabMenuBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-radius: {{tabMenuBorderRadius}} !important; }"}},"tabMenuAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs{ text-align: {{tabMenuAlignment}} !important; }"}},"tabMenuActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active a{ color: {{tabMenuActiveColor}} !important; }"}},"tabMenuBGActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ background-color: {{tabMenuBGActiveColor}} !important; }"}},"tabMenuActiveBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ border-color: {{tabMenuActiveBorderColor}} !important; }.woocommerce .{{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li:not(.active){ border-bottom-color:{{tabMenuActiveBorderColor}}; }"}},"tabContentHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ color: {{tabContentHeadingColor}} !important; }"}},"tabContentHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ font-size: {{tabContentHeadingSize}} !important; }"}},"tabContentHeadingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ margin: {{tabContentHeadingMargin}} !important; }"}},"tabContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel p{ color: {{tabContentColor}} !important; }"}},"tabContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel{ font-size: {{tabContentSize}} !important; }"}}}}'),uR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{d:"M32 96h192l.008-40a8 8 0 0 0-8-8h-176a8 8 0 0 0-8 8z",opacity:".2",fill:"currentColor"}),React.createElement("path",{d:"M216.008 40h-176a16.018 16.018 0 0 0-16 16v39.845c-.001.052-.008.103-.008.155s.007.103.008.155V200a16.018 16.018 0 0 0 16 16h176a16.018 16.018 0 0 0 16-16V56a16.018 16.018 0 0 0-16-16zm0 16l.002 32H40.008V56zm0 144h-176v-96H216.01l.007 96z",fill:"currentColor"}));var dR=sR.name,mR=sR.category,pR=sR.title,gR=sR.description,fR=sR.keywords,bR=sR.attributes,yR={title:(0,ue.__)(pR,"woolentor"),description:(0,ue.__)(gR,"woolentor"),icon:React.createElement(de.Icon,{icon:uR}),keywords:fR,example:{attributes:{tabMenuColor:"#000"}},attributes:bR,edit:cR,save:function(){return null}};const RR=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(go,{label:(0,ue.__)("Comment Box","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.commentBoxColor,onChange:function(e){return o({commentBoxColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.commentBoxSize,fallbackFontSize:t.commentBoxSize,onChange:function(e){return o({commentBoxSize:e})}}),React.createElement(zr,{value:t.commentBoxBorder,onChange:function(e){return o({commentBoxBorder:e})}}),React.createElement(go,{label:(0,ue.__)("Button","woolentor")}),React.createElement(Dt,{name:"button",tabs:["normal","hover"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGHoverColor,onChange:function(e){return o({submitBtnBGHoverColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function _R(e){return _R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_R(e)}function wR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,hR(r.key),r)}}function hR(e){var t=function(e,t){if("object"!=_R(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=_R(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_R(t)?t:String(t)}function ER(e,t,o){return t=OR(t),function(e,t){if(t&&("object"===_R(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vR()?Reflect.construct(t,o||[],OR(e).constructor):t.apply(e,o))}function vR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vR=function(){return!!e})()}function OR(e){return OR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},OR(e)}function PR(e,t){return PR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},PR(e,t)}var CR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ER(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&PR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=hR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-product-review","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(RR,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&wR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const BR=CR,AR=JSON.parse('{"name":"woolentor/product-reviews","category":"woolentor-single-product","title":"WL: Product Reviews","description":"Display Product Reviews.","keywords":["woolentor","Product","Review","Product Review","Single product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"commentBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment{ color: {{commentBoxColor}} !important; }"}},"commentBoxSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment{ font-size: {{commentBoxSize}} !important; }"}},"commentBoxBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment"}},"submitBtnColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ color: {{submitBtnColor}} !important; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ background-color: {{submitBtnBGColor}} !important; }"}},"submitBtnSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ font-size: {{submitBtnSize}} !important; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input:hover{ color: {{submitBtnHoverColor}} !important; }"}},"submitBtnBGHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input:hover{ background-color: {{submitBtnBGHoverColor}} !important; }"}}}}'),WR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"m12 15l1.55-3.45L17 10l-3.45-1.55L12 5l-1.55 3.45L7 10l3.45 1.55ZM2 22V4q0-.825.588-1.413Q3.175 2 4 2h16q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18H6Zm2-4.825L5.175 16H20V4H4ZM4 4v13.175Z"}));var SR=AR.name,kR=AR.title,TR=AR.description,xR=AR.category,LR=AR.attributes,NR=AR.keywords,zR=AR.supports,jR={title:(0,ue.__)(kR,"woolentor"),description:(0,ue.__)(TR,"woolentor"),icon:React.createElement(de.Icon,{icon:WR}),keywords:NR,supports:zR,attributes:LR,edit:BR,save:function(){return null}};const IR=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Text","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function MR(e){return MR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},MR(e)}function FR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,HR(r.key),r)}}function HR(e){var t=function(e,t){if("object"!=MR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=MR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==MR(t)?t:String(t)}function DR(e,t,o){return t=GR(t),function(e,t){if(t&&("object"===MR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qR()?Reflect.construct(t,o||[],GR(e).constructor):t.apply(e,o))}function qR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qR=function(){return!!e})()}function GR(e){return GR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},GR(e)}function KR(e,t){return KR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},KR(e,t)}var UR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),DR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&KR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=HR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"product"),m=Gt()("woolentorblock-".concat(i),"woolentor-product-stock-status","product_stock_status"),p=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(IR,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_stock}}))),p)}}],r&&FR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const QR=UR,VR=JSON.parse('{"name":"woolentor/product-stock","category":"woolentor-single-product","title":"Product Stock","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ color: {{textColor}}!important; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ font-size: {{textSize}}!important; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.product_stock_status { text-align: {{contentAlignment}}; } .woocommerce {{WOOLENTOR_WRAPPER}}.product_stock_status > p{display:inline-block;}"}}}}'),YR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{className:"icon-tabler",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},React.createElement("path",{d:"M12 3l8 4.5v9L12 21l-8-4.5v-9L12 3"}),React.createElement("path",{d:"M12 12l8-4.5"}),React.createElement("path",{d:"M12 12v9"}),React.createElement("path",{d:"M12 12L4 7.5"})));var ZR=VR.name,JR=VR.category,XR=VR.attributes,$R={title:(0,ue.__)("WL: Product Stock","woolentor"),description:(0,ue.__)("Display product stock.","woolentor"),icon:React.createElement(de.Icon,{icon:YR}),keywords:["woolentor",(0,ue.__)("product","woolentor"),(0,ue.__)("status","woolentor"),(0,ue.__)("stock status","woolentor")],example:{attributes:{}},attributes:XR,edit:QR,save:function(){return null}};const e_=function(e){var t=e.attributes,o=e.setAttributes,r=t.addCartUrl,n=t.quantity,a=t.size;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("QR Code","woolentor"),initialOpen:!0},React.createElement(de.RangeControl,{label:(0,ue.__)("Size","woolentor"),value:a,onChange:function(e){return o({size:e})},min:1,step:1,max:1e3}),React.createElement(io,{label:(0,ue.__)("Enable Add to Cart URL","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:r,onChange:function(){return o({addCartUrl:!r})}})),r&&React.createElement(de.RangeControl,{label:(0,ue.__)("Quantity","woolentor"),value:n,onChange:function(e){return o({quantity:e})},min:1,step:1,max:1e3}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"codeAlign",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function t_(e){return t_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t_(e)}function o_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r_(r.key),r)}}function r_(e){var t=function(e,t){if("object"!=t_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=t_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==t_(t)?t:String(t)}function n_(e,t,o){return t=l_(t),function(e,t){if(t&&("object"===t_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,a_()?Reflect.construct(t,o||[],l_(e).constructor):t.apply(e,o))}function a_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a_=function(){return!!e})()}function l_(e){return l_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l_(e)}function i_(e,t){return i_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i_(e,t)}var c_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=r_(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(e_,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:t,attributes:{size:o.size}})),m)}}],r&&o_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const s_=c_,u_=JSON.parse('{"name":"woolentor/product-qrcode","category":"woolentor-single-product","title":"WL: QR Code","description":"Display product QR Code.","keywords":["woolentor","code","qrcode","qrcode generate","product qr code","qr code for product"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"size":{"type":"number","default":150},"addCartUrl":{"type":"boolean","default":false},"quantity":{"type":"number","default":1},"codeAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align: {{codeAlign}} !important; }"}}}}'),d_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M0 .5A.5.5 0 0 1 .5 0h3a.5.5 0 0 1 0 1H1v2.5a.5.5 0 0 1-1 0v-3zm12 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V1h-2.5a.5.5 0 0 1-.5-.5zM.5 12a.5.5 0 0 1 .5.5V15h2.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H15v-2.5a.5.5 0 0 1 .5-.5zM4 4h1v1H4V4z"}),React.createElement("path",{d:"M7 2H2v5h5V2zM3 3h3v3H3V3zm2 8H4v1h1v-1z"}),React.createElement("path",{d:"M7 9H2v5h5V9zm-4 1h3v3H3v-3zm8-6h1v1h-1V4z"}),React.createElement("path",{d:"M9 2h5v5H9V2zm1 1v3h3V3h-3zM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8H8zm2 2H9V9h1v1zm4 2h-1v1h-2v1h3v-2zm-4 2v-1H8v1h2z"}),React.createElement("path",{d:"M12 9h2V8h-2v1z"})));var m_=u_.name,p_=u_.category,g_=u_.title,f_=u_.description,b_=u_.keywords,y_=u_.attributes,R_={title:(0,ue.__)(g_,"woolentor"),description:(0,ue.__)(f_,"woolentor"),icon:React.createElement(de.Icon,{icon:d_}),keywords:b_,example:{attributes:{}},attributes:y_,edit:s_,save:function(){return null}};function w_(e){return w_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},w_(e)}function h_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,E_(r.key),r)}}function E_(e){var t=function(e,t){if("object"!=w_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=w_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==w_(t)?t:String(t)}function v_(e,t,o){return t=P_(t),function(e,t){if(t&&("object"===w_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,O_()?Reflect.construct(t,o||[],P_(e).constructor):t.apply(e,o))}function O_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(O_=function(){return!!e})()}function P_(e){return P_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P_(e)}function C_(e,t){return C_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C_(e,t)}var B_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),v_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Related Product","woolentor"),initialOpen:!0},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(io,{label:(0,ue.__)("Heading","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(Vt,{title:(0,ue.__)("Query Options","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:n,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:a,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,ue.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&h_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const A_=B_;function W_(e){return W_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W_(e)}function S_(e,t,o){return(t=T_(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function k_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,T_(r.key),r)}}function T_(e){var t=function(e,t){if("object"!=W_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=W_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==W_(t)?t:String(t)}function x_(e,t,o){return t=N_(t),function(e,t){if(t&&("object"===W_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,L_()?Reflect.construct(t,o||[],N_(e).constructor):t.apply(e,o))}function L_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(L_=function(){return!!e})()}function N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},N_(e)}function z_(e,t){return z_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},z_(e,t)}var j_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),x_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&z_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c=Gt()(S_({},r,r),"woocommerce","product","woolentorblock-".concat(i)),s=Gt()("woolentor-product-related",S_({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),S_({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),S_({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),S_({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),u=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(A_,this.props),React.createElement("div",{className:c},React.createElement(de.Disabled,null,React.createElement("div",{className:s},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_related}})))),u)}}],r&&k_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const I_=j_,M_=JSON.parse('{"name":"woolentor/product-related","category":"woolentor-single-product","title":"WL: Related Product","description":"Display related product.","keywords":["woolentor","product","related","product related"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),F_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var H_=M_.name,D_=M_.category,q_=M_.title,G_=M_.description,K_=M_.keywords,U_=M_.attributes,Q_={title:(0,ue.__)(q_,"woolentor"),description:(0,ue.__)(G_,"woolentor"),icon:React.createElement(de.Icon,{icon:F_}),keywords:K_,attributes:U_,edit:I_,save:function(){return null}};function V_(e){return V_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V_(e)}function Y_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Z_(r.key),r)}}function Z_(e){var t=function(e,t){if("object"!=V_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=V_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==V_(t)?t:String(t)}function J_(e,t,o){return t=$_(t),function(e,t){if(t&&("object"===V_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,X_()?Reflect.construct(t,o||[],$_(e).constructor):t.apply(e,o))}function X_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(X_=function(){return!!e})()}function $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$_(e)}function ew(e,t){return ew=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ew(e,t)}var tw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),J_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ew(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Upsell Product","woolentor"),initialOpen:!0},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(io,{label:(0,ue.__)("Heading","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(Vt,{title:(0,ue.__)("Query Options","woolentor")},React.createElement(de.RangeControl,{label:(0,ue.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:n,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:a,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,ue.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Y_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const ow=tw;function rw(e){return rw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rw(e)}var nw;function aw(e,t,o){return(t=iw(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function lw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iw(r.key),r)}}function iw(e){var t=function(e,t){if("object"!=rw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=rw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rw(t)?t:String(t)}function cw(e,t,o){return t=uw(t),function(e,t){if(t&&("object"===rw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,sw()?Reflect.construct(t,o||[],uw(e).constructor):t.apply(e,o))}function sw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(sw=function(){return!!e})()}function uw(e){return uw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uw(e)}function dw(e,t){return dw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dw(e,t)}var mw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=(e.name,e.className),r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},d=Gt()(aw({},o,o),"woocommerce","product"),m=Gt()("woolentor-product-upsell",aw({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),aw({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),aw({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),aw({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),p=bu.div(nw||(c=["\n\t\t\t& .up-sells > h2{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"],s||(s=c.slice(0)),nw=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(s)}}))),t.hideTitle&&"display:none!important;",t.headingColor&&"color:"+t.headingColor+"!important;",t.headingSize&&"font-size:"+t.headingSize+"!important;",t.headingAlignment&&"text-align:"+t.headingAlignment+"!important;",t.headingMargin&&"margin:"+u("headingMargin")+";",t.areaPadding&&"padding:"+u("areaPadding")+";",i.imageUrl&&"background-image:url("+i.imageUrl+");",i.position&&"background-position:"+i.position+";",i.attachment&&"background-attachment:"+i.attachment+";",i.repeat&&"background-repeat:"+i.repeat+";",i.size&&"background-size:"+i.size+";");return React.createElement(De.Fragment,null,r&&React.createElement(ow,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(p,{className:m},(0,De.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_upsell}})))))}}],r&&lw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const pw=mw,gw=JSON.parse('{"name":"woolentor/product-upsell","category":"woolentor-single-product","title":"Product Upsell","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),fw=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var bw=gw.name,yw=gw.category,Rw=gw.attributes,_w={title:(0,ue.__)("WL: Product Upsell","woolentor"),description:(0,ue.__)("Display upsell product.","woolentor"),icon:React.createElement(de.Icon,{icon:fw}),keywords:["woolentor",(0,ue.__)("product","woolentor"),(0,ue.__)("upsell","woolentor"),(0,ue.__)("product upsell","woolentor")],attributes:Rw,edit:pw,save:function(){return null}};function ww(e){return ww="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ww(e)}function hw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ew(r.key),r)}}function Ew(e){var t=function(e,t){if("object"!=ww(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ww(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ww(t)?t:String(t)}function vw(e,t,o){return t=Pw(t),function(e,t){if(t&&("object"===ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ow()?Reflect.construct(t,o||[],Pw(e).constructor):t.apply(e,o))}function Ow(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ow=function(){return!!e})()}function Pw(e){return Pw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Pw(e)}function Cw(e,t){return Cw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Cw(e,t)}var Bw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),vw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Cw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.rows,n=t.paginate,a=t.allowOrder,l=t.showResultCount,i=t.order,c=t.orderBy,s=t.itemBorderType,u=t.itemBorderWidth,d=t.itemBorderColor,m=t.itemBorderRadius,p=t.itemPadding,g=t.saleTagShow;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Archive Product","woolentor"),initialOpen:!0},React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.RangeControl,{label:(0,ue.__)("Rows","woolentor"),value:r,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(io,{label:(0,ue.__)("Pagination","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:n,onChange:function(){return o({paginate:!n})}})),1==n?React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Allow Order","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:a,onChange:function(){return o({allowOrder:!a})}})),React.createElement(io,{label:(0,ue.__)("Show Result Count","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({showResultCount:!l})}}))):React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:i,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:c,options:[{label:(0,ue.__)("None","woolentor"),value:"none"},{label:(0,ue.__)("ID","woolentor"),value:"ID"},{label:(0,ue.__)("Date","woolentor"),value:"date"},{label:(0,ue.__)("Name","woolentor"),value:"name"},{label:(0,ue.__)("Title","woolentor"),value:"title"},{label:(0,ue.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,ue.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Item","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:s,options:wi,onChange:function(e){return o({itemBorderType:e})}}),s&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:u,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:d,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:m,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:p,attributesKey:"itemPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.imageBorderType,options:wi,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(Dt,{name:"title"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(go,{label:(0,ue.__)("Sale Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(go,{label:(0,ue.__)("Regular Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Rating Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Empty Rating Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Start size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Add To Cart Button","woolentor")},React.createElement(Dt,{name:"addtocartbutton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:wi,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Pagination","woolentor")},React.createElement(go,{label:(0,ue.__)("Normal","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationBGColor,onChange:function(e){return o({paginationBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationBorderColor,onChange:function(e){return o({paginationBorderColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.PaginationPadding,attributesKey:"PaginationPadding",setAttributes:o}),React.createElement(go,{label:(0,ue.__)("Active","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationHoverColor,onChange:function(e){return o({paginationHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.paginationHoverBGColor,onChange:function(e){return o({paginationHoverBGColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Sale Tag","woolentor")},React.createElement(io,{label:(0,ue.__)("Sale Flash","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:g,onChange:function(){return o({saleTagShow:!g})}})),g&&React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&hw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Aw=Bw;function Ww(e){return Ww="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ww(e)}function Sw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kw(r.key),r)}}function kw(e){var t=function(e,t){if("object"!=Ww(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ww(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ww(t)?t:String(t)}function Tw(e,t,o){return t=Lw(t),function(e,t){if(t&&("object"===Ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xw()?Reflect.construct(t,o||[],Lw(e).constructor):t.apply(e,o))}function xw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xw=function(){return!!e})()}function Lw(e){return Lw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lw(e)}function Nw(e,t){return Nw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nw(e,t)}var zw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Tw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=kw(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Aw,this.props),React.createElement("div",{className:d},React.createElement(de.Disabled,null,React.createElement(In(),{block:o,attributes:{columns:t.columns,rows:t.rows,paginate:t.paginate,allowOrder:t.allowOrder,showResultCount:t.showResultCount,order:t.order,orderBy:t.orderBy,saleTagPosition:t.saleTagPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m))}}],r&&Sw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const jw=zw,Iw=JSON.parse('{"name":"woolentor/shop-archive-default","category":"woolentor-shop","title":"WL: Product Archive Layout (Default)","description":"Display product grid on shop / archive page.","keywords":["woolentor","shop","archive","product shop","Thankyou"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":4},"paginate":{"type":"boolean","default":true},"allowOrder":{"type":"boolean","default":true},"showResultCount":{"type":"boolean","default":true},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"paginationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ color: {{paginationColor}}; }"}},"paginationBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ background-color: {{paginationBGColor}}; }"}},"paginationBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul{ border-color: {{paginationBorderColor}}; }{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li{ border-right-color: {{paginationBorderColor}}; }"}},"PaginationPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span{ padding: {{PaginationPadding}}; }"}},"paginationHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ color: {{paginationHoverColor}}; }"}},"paginationHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ background-color: {{paginationHoverBGColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),Mw=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var Fw=Iw.name,Hw=Iw.title,Dw=Iw.description,qw=Iw.category,Gw=Iw.attributes,Kw=Iw.keywords,Uw=Iw.supports,Qw={title:(0,ue.__)(Hw,"woolentor"),description:(0,ue.__)(Dw,"woolentor"),icon:React.createElement(de.Icon,{icon:Mw}),keywords:Kw,supports:Uw,attributes:Gw,edit:jw,save:function(){return null}};function Vw(e){return function(e){if(Array.isArray(e))return Zw(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Yw(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yw(e,t){if(e){if("string"==typeof e)return Zw(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Zw(e,t):void 0}}function Zw(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Jw=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||Yw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=Vw(t.tableItemList);a[n][r]=e,o({tableItemList:a})};return t.tableItemList.length>0&&(r=t.tableItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.tableItemList[r].heading),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=Vw(t.tableItemList);r.splice(e,1),o({tableItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.SelectControl,{label:(0,ue.__)("Title Tag","woolentor"),value:t.tableItemList[r].fieldkey,options:[{label:(0,ue.__)("Remove","woolentor"),value:"remove"},{label:(0,ue.__)("Image","woolentor"),value:"thumbnail"},{label:(0,ue.__)("Product Title","woolentor"),value:"name"},{label:(0,ue.__)("Price","woolentor"),value:"price"},{label:(0,ue.__)("Quantity","woolentor"),value:"quantity"},{label:(0,ue.__)("Total","woolentor"),value:"subtotal"},{label:(0,ue.__)("Custom","woolentor"),value:"customadd"}],onChange:function(e){return i(e,"fieldkey",r)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Heading Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Remove","woolentor"),value:t.tableItemList[r].heading,onChange:function(e){return i(e,"heading",r)}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Width (PX)","woolentor"),value:t.tableItemList[r].width,allowReset:!0,onChange:function(e){return i(e,"width",r)},min:0,step:1,max:500}))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Table Row","woolentor"),initialOpen:!0},r,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Vw(t.tableItemList);e.push({fieldkey:"remove",heading:(0,ue.__)("Cart Item #"+(t.tableItemList.length+1),"woolentor"),width:""}),o({tableItemList:e}),l(t.tableItemList.length)}.bind(void 0)},(0,ue.__)("Add Item","woolentor"))),React.createElement(Vt,{title:(0,ue.__)("Table Action","woolentor")},React.createElement(de.ToggleControl,{label:(0,ue.__)("Update Cart Button","woolentor"),checked:t.show_update_button,onChange:function(){return o({show_update_button:!t.show_update_button})}}),t.show_update_button&&React.createElement(de.TextControl,{label:(0,ue.__)("Update cart button text","woolentor"),value:t.update_cart_button_txt,placeholder:(0,ue.__)("Update Cart","woolentor"),onChange:function(e){return o({update_cart_button_txt:e})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Continue Shopping Button","woolentor"),checked:t.show_continue_button,onChange:function(){return o({show_continue_button:!t.show_continue_button})}}),t.show_continue_button&&React.createElement(de.TextControl,{label:(0,ue.__)("Continue Shopping","woolentor"),value:t.continue_button_txt,placeholder:(0,ue.__)("Continue Shopping","woolentor"),onChange:function(e){return o({continue_button_txt:e})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Coupon Form","woolentor"),checked:t.show_coupon_form,onChange:function(){return o({show_coupon_form:!t.show_coupon_form})}}),t.show_coupon_form&&React.createElement(React.Fragment,null,React.createElement(de.TextControl,{label:(0,ue.__)("Coupon form button text","woolentor"),value:t.coupon_form_button_txt,placeholder:(0,ue.__)("Apply Coupon","woolentor"),onChange:function(e){return o({coupon_form_button_txt:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Placeholder text","woolentor"),value:t.coupon_form_pl_txt,placeholder:(0,ue.__)("Coupon code","woolentor"),onChange:function(e){return o({coupon_form_pl_txt:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Extra Options","woolentor")},React.createElement(de.ToggleControl,{label:(0,ue.__)("Disable users adjusting quantity","woolentor"),checked:t.disable_user_adj_qtn,onChange:function(){return o({disable_user_adj_qtn:!t.disable_user_adj_qtn})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Remove Product link","woolentor"),checked:t.remove_product_link,onChange:function(){return o({remove_product_link:!t.remove_product_link})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Product Categories","woolentor"),checked:t.show_product_category,onChange:function(){return o({show_product_category:!t.show_product_category})}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("Show Product Stock","woolentor"),checked:t.show_product_stock,onChange:function(){return o({show_product_stock:!t.show_product_stock})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.headingBorderType,options:wi,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Table","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableBorderType,options:wi,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tablePadding,attributesKey:"tablePadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Table Cell","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:wi,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Remove Icon","woolentor")},React.createElement(Dt,{name:"removeicon"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconColor,onChange:function(e){return o({removeIconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconBackgroundColor,onChange:function(e){return o({removeIconBackgroundColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.removeIconBorderType,options:wi,onChange:function(e){return o({removeIconBorderType:e})}}),t.removeIconBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.removeIconBorderWidth,attributesKey:"removeIconBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconBorderColor,onChange:function(e){return o({removeIconBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.removeIconBorderRadius,attributesKey:"removeIconBorderRadius",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeHoverIconColor,onChange:function(e){return o({removeHoverIconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconHoverBackgroundColor,onChange:function(e){return o({removeIconHoverBackgroundColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.removeIconHoverBorderType,options:wi,onChange:function(e){return o({removeIconHoverBorderType:e})}}),t.removeIconHoverBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.removeIconHoverBorderWidth,attributesKey:"removeIconHoverBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.removeIconHoverBorderColor,onChange:function(e){return o({removeIconHoverBorderColor:e})}})))))),React.createElement(Vt,{title:(0,ue.__)("Product Image","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.imageBorderType,options:wi,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.imagePadding,attributesKey:"imagePadding",setAttributes:o}),React.createElement(de.RangeControl,{label:(0,ue.__)("Width (PX)","woolentor"),value:t.imageWidth,onChange:function(e){return o({imageWidth:e})},min:0,step:1,max:500})),React.createElement(Vt,{title:(0,ue.__)("Product Title","woolentor")},React.createElement(Dt,{name:"title"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(go,{label:(0,ue.__)("Unit Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(go,{label:(0,ue.__)("Total Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.totalPriceColor,onChange:function(e){return o({totalPriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.totalPriceSize,fallbackFontSize:t.totalPriceSize,onChange:function(e){return o({totalPriceSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Quantity Field","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.quantityColor,onChange:function(e){return o({quantityColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.quantityBorderType,options:wi,onChange:function(e){return o({quantityBorderType:e})}}),t.quantityBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.quantityBorderWidth,attributesKey:"quantityBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.quantityBorderColor,onChange:function(e){return o({quantityBorderColor:e})}})))),React.createElement(Vt,{title:(0,ue.__)("Buttons","woolentor")},React.createElement(Dt,{name:"buttons"},React.createElement(Ut,{name:"normal"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Update Cart Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnColor,onChange:function(e){return o({updateCartBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnBGColor,onChange:function(e){return o({updateCartBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.updateCartBtnSize,fallbackFontSize:t.updateCartBtnSize,onChange:function(e){return o({updateCartBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.updateCartBtnBorderType,options:wi,onChange:function(e){return o({updateCartBtnBorderType:e})}}),t.updateCartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.updateCartBtnBorderWidth,attributesKey:"updateCartBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnBorderColor,onChange:function(e){return o({updateCartBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.updateCartBtnBorderRadius,attributesKey:"updateCartBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.updateCartBtnPadding,attributesKey:"updateCartBtnPadding",setAttributes:o})),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Continue Shop Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnColor,onChange:function(e){return o({continueShopBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnBGColor,onChange:function(e){return o({continueShopBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.continueShopBtnSize,fallbackFontSize:t.continueShopBtnSize,onChange:function(e){return o({continueShopBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.continueShopBtnBorderType,options:wi,onChange:function(e){return o({continueShopBtnBorderType:e})}}),t.continueShopBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.continueShopBtnBorderWidth,attributesKey:"continueShopBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnBorderColor,onChange:function(e){return o({continueShopBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.continueShopBtnBorderRadius,attributesKey:"continueShopBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.continueShopBtnPadding,attributesKey:"continueShopBtnPadding",setAttributes:o}))),React.createElement(Ut,{name:"hover"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Update Cart Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnHoverColor,onChange:function(e){return o({updateCartBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnHoverBGColor,onChange:function(e){return o({updateCartBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.updateCartBtnHoverBorderColor,onChange:function(e){return o({updateCartBtnHoverBorderColor:e})}}))),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(go,{label:(0,ue.__)("Continue Shop Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnHoverColor,onChange:function(e){return o({continueShopBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnHoverBGColor,onChange:function(e){return o({continueShopBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.continueShopBtnHoverBorderColor,onChange:function(e){return o({continueShopBtnHoverBorderColor:e})}})))))),React.createElement(Vt,{title:(0,ue.__)("Apply coupon","woolentor")},React.createElement(go,{label:(0,ue.__)("Apply Button","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponBtnColor,onChange:function(e){return o({couponBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponBtnBGColor,onChange:function(e){return o({couponBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponBtnSize,fallbackFontSize:t.couponBtnSize,onChange:function(e){return o({couponBtnSize:e})}}),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponBtnHoverColor,onChange:function(e){return o({couponBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponBtnHoverBGColor,onChange:function(e){return o({couponBtnHoverBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.couponBorderRadius,attributesKey:"couponBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.couponBtnPadding,attributesKey:"couponBtnPadding",setAttributes:o}),React.createElement(go,{label:(0,ue.__)("Input Box","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponFormColor,onChange:function(e){return o({couponFormColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponFormFontSize,fallbackFontSize:t.couponFormFontSize,onChange:function(e){return o({couponFormFontSize:e})}}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.couponFormBorderColor,onChange:function(e){return o({couponFormBorderColor:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Xw(e){return Xw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xw(e)}function $w(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,eh(r.key),r)}}function eh(e){var t=function(e,t){if("object"!=Xw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Xw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xw(t)?t:String(t)}function th(e,t,o){return t=rh(t),function(e,t){if(t&&("object"===Xw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oh()?Reflect.construct(t,o||[],rh(e).constructor):t.apply(e,o))}function oh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oh=function(){return!!e})()}function rh(e){return rh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rh(e)}function nh(e,t){return nh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nh(e,t)}var ah=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),th(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=eh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cart","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Jw,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{blockUniqId:i,tableItemList:t.tableItemList,show_update_button:t.show_update_button,update_cart_button_txt:t.update_cart_button_txt,show_continue_button:t.show_continue_button,continue_button_txt:t.continue_button_txt,show_coupon_form:t.show_coupon_form,coupon_form_button_txt:t.coupon_form_button_txt,coupon_form_pl_txt:t.coupon_form_pl_txt,disable_user_adj_qtn:t.disable_user_adj_qtn,remove_product_link:t.remove_product_link,show_product_category:t.show_product_category,show_product_stock:t.show_product_stock},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&$w(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const lh=ah,ih=JSON.parse('{"name":"woolentor/cart-table","category":"woolentor-cart","title":"WL : Cart Table","description":"Display cart table.","keywords":["woolentor","shop table","cart table","table","woocommerce table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tableItemList":{"type":"array","default":[{"fieldkey":"remove","heading":"Remove","width":""},{"fieldkey":"thumbnail","heading":"Image","width":""},{"fieldkey":"name","heading":"Product Title","width":""},{"fieldkey":"price","heading":"Price","width":""},{"fieldkey":"quantity","heading":"Quantity","width":""},{"fieldkey":"subtotal","heading":"Total","width":""}]},"show_update_button":{"type":"boolean","default":true},"update_cart_button_txt":{"type":"string","default":"Update Cart"},"show_continue_button":{"type":"boolean","default":false},"continue_button_txt":{"type":"string","default":"Continue Shopping"},"show_coupon_form":{"type":"boolean","default":true},"coupon_form_button_txt":{"type":"string","default":"Apply coupon"},"coupon_form_pl_txt":{"type":"string","default":"Coupon code"},"disable_user_adj_qtn":{"type":"boolean","default":false},"remove_product_link":{"type":"boolean","default":false},"show_product_category":{"type":"boolean","default":false},"show_product_stock":{"type":"boolean","default":false},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { font-size: {{headingSize}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-color: {{headingBorderColor}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { padding: {{headingPadding}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart thead th { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { background-color: {{headingBackgroundColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-style: {{tableBorderType}}; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-width: {{tableBorderWidth}}; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-color: {{tableBorderColor}}; }"}},"tablePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { padding: {{tablePadding}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { background-color: {{tableCellBackgroundColor}}; }"}},"removeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { color: {{removeIconColor}} !important; }"}},"removeIconBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { background-color: {{removeIconBackgroundColor}} !important; }"}},"removeIconBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-style: {{removeIconBorderType}}; }"}},"removeIconBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-width: {{removeIconBorderWidth}}; }"}},"removeIconBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-color: {{removeIconBorderColor}}; }"}},"removeIconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-radius: {{removeIconBorderRadius}} !important; }"}},"removeHoverIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { color: {{removeHoverIconColor}} !important; }"}},"removeIconHoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { background-color: {{removeIconHoverBackgroundColor}} !important; }"}},"removeIconHoverBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-style: {{removeIconHoverBorderType}}; }"}},"removeIconHoverBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-width: {{removeIconHoverBorderWidth}}; }"}},"removeIconHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-color: {{removeIconHoverBorderColor}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-radius: {{imageBorderRadius}}; }"}},"imagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { padding: {{imagePadding}}; }"}},"imageWidth":{"type":"number","default":70,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { width: {{imageWidth}}px; max-width: {{imageWidth}}px; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name { font-size: {{titleSize}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name:hover,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a:hover { color: {{titleHoverColor}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { font-size: {{priceSize}}; }"}},"totalPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { color: {{totalPriceColor}}; }"}},"totalPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { font-size: {{totalPriceSize}}; }"}},"quantityColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { color: {{quantityColor}}; }"}},"quantityBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-style: {{quantityBorderType}}; }"}},"quantityBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-width: {{quantityBorderWidth}}; }"}},"quantityBorderColor":{"type":"string","style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-color: {{quantityBorderColor}}; }"}},"updateCartBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { color: {{updateCartBtnColor}}; }"}},"updateCartBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { background-color: {{updateCartBtnBGColor}}; }"}},"updateCartBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { font-size: {{updateCartBtnSize}}; }"}},"updateCartBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-style: {{updateCartBtnBorderType}} !important; }"}},"updateCartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-width: {{updateCartBtnBorderWidth}} !important; }"}},"updateCartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-color: {{updateCartBtnBorderColor}} !important; }"}},"updateCartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-radius: {{updateCartBtnBorderRadius}} !important; }"}},"updateCartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { padding: {{updateCartBtnPadding}}; }"}},"updateCartBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { color: {{updateCartBtnHoverColor}}; }"}},"updateCartBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { background-color: {{updateCartBtnHoverBGColor}}; }"}},"updateCartBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { border-color: {{updateCartBtnHoverBorderColor}} !important; }"}},"continueShopBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { color: {{continueShopBtnColor}}; }"}},"continueShopBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { background-color: {{continueShopBtnBGColor}}; }"}},"continueShopBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { font-size: {{continueShopBtnSize}}; }"}},"continueShopBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-style: {{continueShopBtnBorderType}}; }"}},"continueShopBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-width: {{continueShopBtnBorderWidth}}; }"}},"continueShopBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-color: {{continueShopBtnBorderColor}}; }"}},"continueShopBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-radius: {{continueShopBtnBorderRadius}}; }"}},"continueShopBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { padding: {{continueShopBtnPadding}}; }"}},"continueShopBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { color: {{continueShopBtnHoverColor}}; }"}},"continueShopBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { background-color: {{continueShopBtnHoverBGColor}}; }"}},"continueShopBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { border-color: {{continueShopBtnHoverBorderColor}}; }"}},"couponBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ color: {{couponBtnColor}}; }"}},"couponBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ background-color: {{couponBtnBGColor}}; transition:0.4s; }"}},"couponBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ font-size: {{couponBtnSize}}; }"}},"couponBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ color: {{couponBtnHoverColor}}; }"}},"couponBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ background-color: {{couponBtnHoverBGColor}}; }"}},"couponBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button { border-radius: {{couponBorderRadius}} !important; }"}},"couponBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button { padding: {{couponBtnPadding}}; }"}},"couponFormColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ color: {{couponFormColor}}; }"}},"couponFormFontSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ font-size: {{couponFormFontSize}}; }"}},"couponFormBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ border-color: {{couponFormBorderColor}}; }"}}}}'),ch=React.createElement("svg",{enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var sh=ih.name,uh=ih.category,dh=ih.title,mh=ih.description,ph=ih.keywords,gh=ih.supports,fh=ih.attributes,bh={title:(0,ue.__)(dh,"woolentor"),description:(0,ue.__)(mh,"woolentor"),icon:React.createElement(de.Icon,{icon:ch}),keywords:ph,supports:gh,attributes:fh,edit:lh,save:function(){return null}};const yh=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Table Cell","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:wi,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Table Content","woolentor")},React.createElement(go,{label:(0,ue.__)("Heading","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(go,{label:(0,ue.__)("Subtotal Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableSubtotalColor,onChange:function(e){return o({tableSubtotalColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableSubtotalSize,fallbackFontSize:t.tableSubtotalSize,onChange:function(e){return o({tableSubtotalSize:e})}}),React.createElement(go,{label:(0,ue.__)("Total Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableTotalColor,onChange:function(e){return o({tableTotalColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableTotalSize,fallbackFontSize:t.tableTotalSize,onChange:function(e){return o({tableTotalSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Checkout Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnColor,onChange:function(e){return o({checkoutBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnBGColor,onChange:function(e){return o({checkoutBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.checkoutBtnSize,fallbackFontSize:t.checkoutBtnSize,onChange:function(e){return o({checkoutBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.checkoutBtnBorderType,options:wi,onChange:function(e){return o({checkoutBtnBorderType:e})}}),t.checkoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.checkoutBtnBorderWidth,attributesKey:"checkoutBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnBorderColor,onChange:function(e){return o({checkoutBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.checkoutBtnBorderRadius,attributesKey:"checkoutBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.checkoutBtnPadding,attributesKey:"checkoutBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnHoverColor,onChange:function(e){return o({checkoutBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnHoverBGColor,onChange:function(e){return o({checkoutBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.checkoutBtnHoverBorderColor,onChange:function(e){return o({checkoutBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaBGColor,onChange:function(e){return o({areaBGColor:e})}})))))};function Rh(e){return Rh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rh(e)}function _h(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wh(r.key),r)}}function wh(e){var t=function(e,t){if("object"!=Rh(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Rh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rh(t)?t:String(t)}function hh(e,t,o){return t=vh(t),function(e,t){if(t&&("object"===Rh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Eh()?Reflect.construct(t,o||[],vh(e).constructor):t.apply(e,o))}function Eh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Eh=function(){return!!e})()}function vh(e){return vh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vh(e)}function Oh(e,t){return Oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oh(e,t)}var Ph=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),hh(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=wh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cart-total","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(yh,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&_h(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Ch=Ph,Bh=JSON.parse('{"name":"woolentor/cart-total","category":"woolentor-cart","title":"WL : Cart Total","description":"Display cart total.","keywords":["woolentor","shop total","cart total table","table","total table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { background-color: {{areaBGColor}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { text-align: {{headingAlignment}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table { background-color: {{tableCellBackgroundColor}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { font-size: {{tableHeadingSize}}; }"}},"tableSubtotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { color: {{tableSubtotalColor}}; }"}},"tableSubtotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { font-size: {{tableSubtotalSize}}; }"}},"tableTotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { color: {{tableTotalColor}}; }"}},"tableTotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { font-size: {{tableTotalSize}}; }"}},"checkoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { color: {{checkoutBtnColor}}; }"}},"checkoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { background-color: {{checkoutBtnBGColor}}; }"}},"checkoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { font-size: {{checkoutBtnSize}}; }"}},"checkoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-style: {{checkoutBtnBorderType}}; }"}},"checkoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-width: {{checkoutBtnBorderWidth}}; }"}},"checkoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-color: {{checkoutBtnBorderColor}}; }"}},"checkoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-radius: {{checkoutBtnBorderRadius}}; }"}},"checkoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { padding: {{checkoutBtnPadding}}; }"}},"checkoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { color: {{checkoutBtnHoverColor}}; }"}},"checkoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { background-color: {{checkoutBtnHoverBGColor}}; }"}},"checkoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { border-color: {{checkoutBtnHoverBorderColor}}; }"}}}}'),Ah=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var Wh=Bh.name,Sh=Bh.category,kh=Bh.title,Th=Bh.description,xh=Bh.keywords,Lh=Bh.supports,Nh=Bh.attributes,zh={title:(0,ue.__)(kh,"woolentor"),description:(0,ue.__)(Th,"woolentor"),icon:React.createElement(de.Icon,{icon:Ah}),keywords:xh,supports:Lh,attributes:Nh,edit:Ch,save:function(){return null}};const jh=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Cross Sell","woolentor"),initialOpen:!0},React.createElement(de.RangeControl,{label:(0,ue.__)("Limit","woolentor"),value:t.limit,onChange:function(e){return o({limit:e})},min:0,step:1,max:20}),React.createElement(Er,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(de.SelectControl,{label:(0,ue.__)("Order","woolentor"),value:t.order,options:[{label:(0,ue.__)("Descending","woolentor"),value:"DESC"},{label:(0,ue.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,ue.__)("Random","woolentor"),value:"rand"},{label:(0,ue.__)("Publish Date","woolentor"),value:"date"},{label:(0,ue.__)("Modified Date","woolentor"),value:"modified"},{label:(0,ue.__)("Alphabetic","woolentor"),value:"title"},{label:(0,ue.__)("Popularity","woolentor"),value:"popularity"},{label:(0,ue.__)("Rating","woolentor"),value:"rating"},{label:(0,ue.__)("Price","woolentor"),value:"price"}],onChange:function(e){return o({orderBy:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Item","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.itemBorderType,options:wi,onChange:function(e){return o({itemBorderType:e})}}),t.itemBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.itemBorderWidth,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.itemBorderColor,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Image","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.imageBorderType,options:wi,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Title","woolentor")},React.createElement(Dt,{name:"title"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Price","woolentor")},React.createElement(go,{label:(0,ue.__)("Sale Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(go,{label:(0,ue.__)("Regular Price","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(Vt,{title:(0,ue.__)("Rating","woolentor")},React.createElement(io,{label:(0,ue.__)("Rating Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Empty Rating Star Color","woolentor")},React.createElement(de.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Start size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Add To Cart Button","woolentor")},React.createElement(Dt,{name:"addToCartButton"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:wi,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Sale Tag","woolentor")},React.createElement(io,{label:(0,ue.__)("Sale Flash","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:t.saleTagShow,onChange:function(){return o({saleTagShow:!t.saleTagShow})}})),t.saleTagShow&&React.createElement(React.Fragment,null,React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,ue.__)("Default","woolentor"),value:""},{label:(0,ue.__)("Left","woolentor"),value:"left"},{label:(0,ue.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ih(e){return Ih="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ih(e)}function Mh(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fh(r.key),r)}}function Fh(e){var t=function(e,t){if("object"!=Ih(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ih(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ih(t)?t:String(t)}function Hh(e,t,o){return t=qh(t),function(e,t){if(t&&("object"===Ih(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Dh()?Reflect.construct(t,o||[],qh(e).constructor):t.apply(e,o))}function Dh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Dh=function(){return!!e})()}function qh(e){return qh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qh(e)}function Gh(e,t){return Gh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gh(e,t)}var Kh=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Hh(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Fh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cross-sell","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(jh,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{blockUniqId:i,columns:t.columns,limit:t.limit,orderBy:t.orderBy,order:t.order},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Mh(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Uh=Kh,Qh=JSON.parse('{"name":"woolentor/cross-sell","category":"woolentor-cart","title":"WL : Cross Sell","description":"Display cross sell Product.","keywords":["woolentor","cross sell","cross sell product","cart","cart table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"limit":{"type":"number","default":2},"orderBy":{"type":"string","default":"rand"},"order":{"type":"string","default":"DESC"},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { text-align: {{headingAlignment}}; }"}},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),Vh=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M17 24h4v4h-4zm7 0h4v4h-4zm-7-7h4v4h-4zm7 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M28 11h-6V7c0-1.7-1.3-3-3-3h-6c-1.7 0-3 1.3-3 3v4H4c-.6 0-1 .4-1 1v.2l1.9 12.1c.1 1 1 1.7 2 1.7H15v-2H6.9L5.2 13H28v-2zM12 7c0-.6.4-1 1-1h6c.6 0 1 .4 1 1v4h-8V7z"}));var Yh=Qh.name,Zh=Qh.category,Jh=Qh.title,Xh=Qh.description,$h=Qh.supports,eE=Qh.keywords,tE=Qh.attributes,oE={title:(0,ue.__)(Jh,"woolentor"),description:(0,ue.__)(Xh,"woolentor"),icon:React.createElement(de.Icon,{icon:Vh}),keywords:eE,supports:$h,attributes:tE,edit:Uh,save:function(){return null}};const rE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Return To Shop","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,ue.__)("Button Text","woolentor"),onChange:function(e){return o({buttonText:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Button Custom URL","woolentor"),value:t.buttonLink,placeholder:(0,ue.__)("Button Custom URL","woolentor"),onChange:function(e){return o({buttonLink:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnColor,onChange:function(e){return o({returnBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnBGColor,onChange:function(e){return o({returnBtnBGColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.returnBtnBorderType,options:wi,onChange:function(e){return o({returnBtnBorderType:e})}}),t.returnBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.returnBtnBorderWidth,attributesKey:"returnBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnBorderColor,onChange:function(e){return o({returnBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.returnBtnBorderRadius,attributesKey:"returnBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.returnBtnSize,fallbackFontSize:t.returnBtnSize,onChange:function(e){return o({returnBtnSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.returnBtnPadding,attributesKey:"returnBtnPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.returnBtnMargin,attributesKey:"returnBtnMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnHoverColor,onChange:function(e){return o({returnBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnHoverBGColor,onChange:function(e){return o({returnBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.returnBtnHoverBorderColor,onChange:function(e){return o({returnBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function nE(e){return nE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nE(e)}function aE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lE(r.key),r)}}function lE(e){var t=function(e,t){if("object"!=nE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nE(t)?t:String(t)}function iE(e,t,o){return t=sE(t),function(e,t){if(t&&("object"===nE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cE()?Reflect.construct(t,o||[],sE(e).constructor):t.apply(e,o))}function cE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cE=function(){return!!e})()}function sE(e){return sE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sE(e)}function uE(e,t){return uE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uE(e,t)}var dE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),iE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=lE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-return-to-shop","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(rE,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{buttonText:t.buttonText,buttonLink:t.buttonLink},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&aE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const mE=dE,pE=JSON.parse('{"name":"woolentor/return-to-shop","category":"woolentor-cart","title":"WL : Return To Shop","description":"Display return to shop page button.","keywords":["woolentor","return to shop","back shop","redirect to shop","redirect button","cart"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":""},"buttonLink":{"type":"string","default":""},"returnBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ color: {{returnBtnColor}}; }"}},"returnBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ background-color: {{returnBtnBGColor}}; }"}},"returnBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-style: {{returnBtnBorderType}}; }"}},"returnBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-width: {{returnBtnBorderWidth}}; }"}},"returnBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-color: {{returnBtnBorderColor}}; }"}},"returnBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-radius: {{returnBtnBorderRadius}}; }"}},"returnBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ font-size: {{returnBtnSize}}; }"}},"returnBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ padding: {{returnBtnPadding}}; }"}},"returnBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ margin: {{returnBtnMargin}}; }"}},"returnBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ color: {{returnBtnHoverColor}}; }"}},"returnBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ background-color: {{returnBtnHoverBGColor}}; }"}},"returnBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ border-color: {{returnBtnHoverBorderColor}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .return-to-shop { text-align: {{buttonAlignment}}; }"}}}}'),gE=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("circle",{cx:"7",cy:"7",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"15",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"23",r:"1",fill:"currentColor"}),React.createElement("path",{fill:"currentColor",d:"M12 26H4v-6h8v-2H4v-6h18V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h8ZM4 4h16v6H4Z"}),React.createElement("path",{fill:"currentColor",d:"M28 17v2.413A6.996 6.996 0 1 0 22 30v-2a5 5 0 1 1 4.576-7H24v2h6v-6Z"}));var fE=pE.name,bE=pE.category,yE=pE.title,RE=pE.description,_E=pE.keywords,wE=pE.supports,hE=pE.attributes,EE={title:(0,ue.__)(yE,"woolentor"),description:(0,ue.__)(RE,"woolentor"),icon:React.createElement(de.Icon,{icon:gE}),keywords:_E,supports:wE,attributes:hE,edit:mE,save:function(){return null}};const vE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor"),initialOpen:!0},React.createElement(de.TextareaControl,{label:(0,ue.__)("Custom Message","woolentor"),help:(0,ue.__)("Enter your custom message","woolentor"),value:t.customMessage,onChange:function(e){return o({customMessage:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Message","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Text Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.borderColor,onChange:function(e){return o({borderColor:e})}})),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.messagePadding,attributesKey:"messagePadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.messageMargin,attributesKey:"messageMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function OE(e){return OE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OE(e)}function PE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,CE(r.key),r)}}function CE(e){var t=function(e,t){if("object"!=OE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=OE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==OE(t)?t:String(t)}function BE(e,t,o){return t=WE(t),function(e,t){if(t&&("object"===OE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,AE()?Reflect.construct(t,o||[],WE(e).constructor):t.apply(e,o))}function AE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(AE=function(){return!!e})()}function WE(e){return WE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},WE(e)}function SE(e,t){return SE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},SE(e,t)}var kE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),BE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&SE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=CE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-cart-empty-message","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(vE,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{customMessage:t.customMessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&PE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const TE=kE,xE=JSON.parse('{"name":"woolentor/cart-empty-message","category":"woolentor-cart","title":"WL : Empty Cart Message","description":"Display empty cart message.","keywords":["woolentor","shop table","cart table","table","woocommerce table","empty message","message"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"customMessage":{"type":"string","default":""},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { color: {{textColor}}; }"}},"borderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { border-color: {{borderColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-info::before { color: {{borderColor}}; }"}},"messagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { padding: {{messagePadding}}; }"}},"messageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { margin: {{messageMargin}}; }"}}}}'),LE=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4l-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}));var NE=xE.name,zE=xE.category,jE=xE.title,IE=xE.description,ME=xE.keywords,FE=xE.supports,HE=xE.attributes,DE={title:(0,ue.__)(jE,"woolentor"),description:(0,ue.__)(IE,"woolentor"),icon:React.createElement(de.Icon,{icon:LE}),keywords:ME,supports:FE,attributes:HE,edit:TE,save:function(){return null}};const qE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Billing Form","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),placeholder:(0,ue.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Create an account label","woolentor"),placeholder:(0,ue.__)("Create an account?","woolentor"),value:t.createfieldLabel,onChange:function(e){return o({createfieldLabel:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function GE(e){return GE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GE(e)}function KE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,UE(r.key),r)}}function UE(e){var t=function(e,t){if("object"!=GE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=GE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==GE(t)?t:String(t)}function QE(e,t,o){return t=YE(t),function(e,t){if(t&&("object"===GE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,VE()?Reflect.construct(t,o||[],YE(e).constructor):t.apply(e,o))}function VE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VE=function(){return!!e})()}function YE(e){return YE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},YE(e)}function ZE(e,t){return ZE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZE(e,t)}var JE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),QE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=UE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-billing-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(qE,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&KE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const XE=JE,$E=JSON.parse('{"name":"woolentor/checkout-billing-form","category":"woolentor-checkout","title":"WL : Checkout Billing Form","description":"Display Checkout Billing Form.","keywords":["woolentor","checkout form","billing form","billing field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Billing details"},"createfieldLabel":{"type":"string","default":"Create an account?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),ev=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var tv=$E.name,ov=$E.category,rv=$E.title,nv=$E.description,av=$E.keywords,lv=$E.supports,iv=$E.attributes,cv={title:(0,ue.__)(rv,"woolentor"),description:(0,ue.__)(nv,"woolentor"),icon:React.createElement(de.Icon,{icon:ev}),keywords:av,supports:lv,attributes:iv,edit:XE,save:function(){return null}};const sv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Shipping Form","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),placeholder:(0,ue.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function uv(e){return uv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uv(e)}function dv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mv(r.key),r)}}function mv(e){var t=function(e,t){if("object"!=uv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=uv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==uv(t)?t:String(t)}function pv(e,t,o){return t=fv(t),function(e,t){if(t&&("object"===uv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gv()?Reflect.construct(t,o||[],fv(e).constructor):t.apply(e,o))}function gv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gv=function(){return!!e})()}function fv(e){return fv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fv(e)}function bv(e,t){return bv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bv(e,t)}var yv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),pv(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bv(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=mv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-shipping-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(sv,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&dv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Rv=yv,_v=JSON.parse('{"name":"woolentor/checkout-shipping-form","category":"woolentor-checkout","title":"WL : Checkout Shipping Form","description":"Display Checkout Shipping Form.","keywords":["woolentor","checkout form","Shipping form","Shipping field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Ship to a different address?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),wv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var hv=_v.name,Ev=_v.category,vv=_v.title,Ov=_v.description,Pv=_v.keywords,Cv=_v.supports,Bv=_v.attributes,Av={title:(0,ue.__)(vv,"woolentor"),description:(0,ue.__)(Ov,"woolentor"),icon:React.createElement(de.Icon,{icon:wv}),keywords:Pv,supports:Cv,attributes:Bv,edit:Rv,save:function(){return null}};const Wv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Additional Form","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Title","woolentor"),placeholder:(0,ue.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Sv(e){return Sv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sv(e)}function kv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tv(r.key),r)}}function Tv(e){var t=function(e,t){if("object"!=Sv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Sv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sv(t)?t:String(t)}function xv(e,t,o){return t=Nv(t),function(e,t){if(t&&("object"===Sv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Lv()?Reflect.construct(t,o||[],Nv(e).constructor):t.apply(e,o))}function Lv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Lv=function(){return!!e})()}function Nv(e){return Nv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nv(e)}function zv(e,t){return zv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zv(e,t)}var jv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),xv(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zv(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Tv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-additional-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Wv,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&kv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Iv=jv,Mv=JSON.parse('{"name":"woolentor/checkout-additional-form","category":"woolentor-checkout","title":"WL : Checkout Additional Form","description":"Display Checkout Additional Form.","keywords":["woolentor","checkout form","Additional form","Additional field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Additional information"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),Fv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var Hv=Mv.name,Dv=Mv.category,qv=Mv.title,Gv=Mv.description,Kv=Mv.keywords,Uv=Mv.supports,Qv=Mv.attributes,Vv={title:(0,ue.__)(qv,"woolentor"),description:(0,ue.__)(Gv,"woolentor"),icon:React.createElement(de.Icon,{icon:Fv}),keywords:Kv,supports:Uv,attributes:Qv,edit:Iv,save:function(){return null}};const Yv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Coupon Form","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Apply Button Text","woolentor"),placeholder:(0,ue.__)("Apply coupon","woolentor"),value:t.formApplyButton,onChange:function(e){return o({formApplyButton:e})}}),React.createElement(de.TextareaControl,{label:(0,ue.__)("Description","woolentor"),placeholder:(0,ue.__)("If you have a coupon code, please apply it below.","woolentor"),value:t.formDescription,onChange:function(e){return o({formDescription:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(io,{label:(0,ue.__)("Text Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Left Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Top Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.togglerBorderType,options:wi,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Description","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formBorderType,options:wi,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Submit Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Zv(e){return Zv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zv(e)}function Jv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xv(r.key),r)}}function Xv(e){var t=function(e,t){if("object"!=Zv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Zv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zv(t)?t:String(t)}function $v(e,t,o){return t=tO(t),function(e,t){if(t&&("object"===Zv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,eO()?Reflect.construct(t,o||[],tO(e).constructor):t.apply(e,o))}function eO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(eO=function(){return!!e})()}function tO(e){return tO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tO(e)}function oO(e,t){return oO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oO(e,t)}var rO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$v(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=Xv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-coupon-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(Yv,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{formDescription:t.formDescription},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Jv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const nO=rO,aO=JSON.parse('{"name":"woolentor/checkout-coupon-form","category":"woolentor-checkout","title":"WL : Checkout Coupon Form","description":"Display Checkout Coupon Form.","keywords":["woolentor","checkout form","Coupon form","Coupon field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formApplyButton":{"type":"string","default":"Apply coupon"},"formDescription":{"type":"string","default":"If you have a coupon code, please apply it below."},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { margin: {{formMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text,{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),lO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var iO=aO.name,cO=aO.title,sO=aO.description,uO=aO.category,dO=aO.attributes,mO=aO.keywords,pO=aO.supports,gO={title:(0,ue.__)(cO,"woolentor"),description:(0,ue.__)(sO,"woolentor"),icon:React.createElement(de.Icon,{icon:lO}),keywords:mO,supports:pO,attributes:dO,edit:nO,save:function(){return null}};const fO=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Area","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.areaContentSize,fallbackFontSize:t.areaContentSize,onChange:function(e){return o({areaContentSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaContentColor,onChange:function(e){return o({areaContentColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaContentLinkColor,onChange:function(e){return o({areaContentLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaContentBGColor,onChange:function(e){return o({areaContentBGColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"areaContentAlignment",justified:!0}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.areaContentBorderType,options:wi,onChange:function(e){return o({areaContentBorderType:e})}}),t.areaContentBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.areaContentBorderWidth,attributesKey:"areaContentBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.areaContentBorderColor,onChange:function(e){return o({areaContentBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.areaContentBorderRadius,attributesKey:"areaContentBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaContentPadding,attributesKey:"areaContentPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.headingBorderType,options:wi,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentBGColor,onChange:function(e){return o({contentBGColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.contentBorderType,options:wi,onChange:function(e){return o({contentBorderType:e})}}),t.contentBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.contentBorderWidth,attributesKey:"contentBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentBorderColor,onChange:function(e){return o({contentBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Place Order Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnColor,onChange:function(e){return o({placeOrderBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnBGColor,onChange:function(e){return o({placeOrderBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.placeOrderBtnSize,fallbackFontSize:t.placeOrderBtnSize,onChange:function(e){return o({placeOrderBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.placeOrderBtnBorderType,options:wi,onChange:function(e){return o({placeOrderBtnBorderType:e})}}),t.placeOrderBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.placeOrderBtnBorderWidth,attributesKey:"placeOrderBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnBorderColor,onChange:function(e){return o({placeOrderBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.placeOrderBtnBorderRadius,attributesKey:"placeOrderBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.placeOrderBtnPadding,attributesKey:"placeOrderBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnHoverColor,onChange:function(e){return o({placeOrderBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnHoverBGColor,onChange:function(e){return o({placeOrderBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.placeOrderBtnHoverBorderColor,onChange:function(e){return o({placeOrderBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function bO(e){return bO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bO(e)}function yO(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,RO(r.key),r)}}function RO(e){var t=function(e,t){if("object"!=bO(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=bO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bO(t)?t:String(t)}function _O(e,t,o){return t=hO(t),function(e,t){if(t&&("object"===bO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wO()?Reflect.construct(t,o||[],hO(e).constructor):t.apply(e,o))}function wO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wO=function(){return!!e})()}function hO(e){return hO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hO(e)}function EO(e,t){return EO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},EO(e,t)}var vO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_O(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&EO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=RO(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-payment","woolentor_block_checkout_payment","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(fO,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&yO(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const OO=vO,PO=JSON.parse('{"name":"woolentor/checkout-payment","category":"woolentor-checkout","title":"WL : Checkout Payment Method","description":"Display checkout payment method.","keywords":["woolentor","checkout","checkout payment","payment"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { font-size: {{areaContentSize}}; }"}},"areaContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { color: {{areaContentColor}}; }"}},"areaContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment a{ color: {{areaContentLinkColor}}; }"}},"areaContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { background-color: {{areaContentBGColor}}; }"}},"areaContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { text-align: {{areaContentAlignment}}; }"}},"areaContentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-style: {{areaContentBorderType}}; }"}},"areaContentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment{ border-width: {{areaContentBorderWidth}}; }"}},"areaContentBorderColor":{"type":"string","style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-color: {{areaContentBorderColor}}; }"}},"areaContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-radius: {{areaContentBorderRadius}}; }"}},"areaContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { padding: {{areaContentPadding}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { padding: {{headingPadding}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { background-color: {{headingBackgroundColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { font-size: {{contentSize}}; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { color: {{contentColor}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { text-align: {{contentAlignment}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { background-color: {{contentBGColor}}; } {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before, {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before{ border-color:transparent transparent {{contentBGColor}} }"}},"contentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-style: {{contentBorderType}}; }"}},"contentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-width: {{contentBorderWidth}}; }"}},"contentBorderColor":{"type":"string","style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-color: {{contentBorderColor}}; }"}},"contentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-radius: {{contentBorderRadius}}; }"}},"placeOrderBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { color: {{placeOrderBtnColor}}; }"}},"placeOrderBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { background-color: {{placeOrderBtnBGColor}}; }"}},"placeOrderBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { font-size: {{placeOrderBtnSize}}; }"}},"placeOrderBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-style: {{placeOrderBtnBorderType}} !important; }"}},"placeOrderBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-width: {{placeOrderBtnBorderWidth}} !important; }"}},"placeOrderBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-color: {{placeOrderBtnBorderColor}} !important; }"}},"placeOrderBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-radius: {{placeOrderBtnBorderRadius}} !important; }"}},"placeOrderBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { padding: {{placeOrderBtnPadding}}; }"}},"placeOrderBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { color: {{placeOrderBtnHoverColor}}; }"}},"placeOrderBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { background-color: {{placeOrderBtnHoverBGColor}}; }"}},"placeOrderBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { border-color: {{placeOrderBtnHoverBorderColor}} !important; }"}}}}'),CO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.25em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 640 512"},React.createElement("path",{fill:"currentColor",d:"M608 32H32C14.33 32 0 46.33 0 64v384c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM176 327.88V344c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-16.29c-11.29-.58-22.27-4.52-31.37-11.35c-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73c3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19c0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39c0-24.52 19.05-44.44 42.67-45.07V152c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35c3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73c-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19c0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39c0 24.53-19.05 44.44-42.67 45.07zM416 312c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm160 0c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-96c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h272c4.42 0 8 3.58 8 8v16z"}));var BO=PO.name,AO=PO.title,WO=PO.description,SO=PO.category,kO=PO.attributes,TO=PO.keywords,xO=PO.supports,LO={title:(0,ue.__)(AO,"woolentor"),description:(0,ue.__)(WO,"woolentor"),icon:React.createElement(de.Icon,{icon:CO}),keywords:TO,supports:xO,attributes:kO,edit:OO,save:function(){return null}};const NO=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Order Review","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Table Heading","woolentor"),placeholder:(0,ue.__)("Your order","woolentor"),value:t.heading,onChange:function(e){return o({heading:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.headingBorderType,options:wi,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Table Heading","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableHeadingType,options:wi,onChange:function(e){return o({tableHeadingType:e})}}),t.tableHeadingType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableHeadingBorderWidth,attributesKey:"tableHeadingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingBorderColor,onChange:function(e){return o({tableHeadingBorderColor:e})}})))),React.createElement(Vt,{title:(0,ue.__)("Table Content","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Table Border Type","woolentor"),value:t.tableBorderType,options:wi,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Table Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Table Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:wi,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function zO(e){return zO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zO(e)}function jO(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,IO(r.key),r)}}function IO(e){var t=function(e,t){if("object"!=zO(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=zO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zO(t)?t:String(t)}function MO(e,t,o){return t=HO(t),function(e,t){if(t&&("object"===zO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,FO()?Reflect.construct(t,o||[],HO(e).constructor):t.apply(e,o))}function FO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(FO=function(){return!!e})()}function HO(e){return HO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},HO(e)}function DO(e,t){return DO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DO(e,t)}var qO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),MO(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=IO(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-order-review","woolentor_block_checkout_order_review","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(NO,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{heading:t.heading,blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&jO(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const GO=qO,KO=JSON.parse('{"name":"woolentor/checkout-order-review","category":"woolentor-checkout","title":"WL : Checkout Order Review","description":"Display Checkout Order Review.","keywords":["woolentor","checkout","order review","checkout order review","order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Your order"},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { padding: {{headingPadding}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { margin: {{headingMargin}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { background-color: {{headingBackgroundColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { font-size: {{tableHeadingSize}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { color: {{tableHeadingColor}}; }"}},"tableHeadingType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-style: {{tableHeadingType}}; }"}},"tableHeadingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-width: {{tableHeadingBorderWidth}}; }"}},"tableHeadingBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-color: {{tableHeadingBorderColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-style: {{tableBorderType}}!important; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-width: {{tableBorderWidth}}!important; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-color: {{tableBorderColor}}!important; }"}},"tableContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { font-size: {{tableContentSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { color: {{tableContentColor}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td,{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-color: {{tableCellBorderColor}}!important; }"}}}}'),UO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var QO=KO.name,VO=KO.title,YO=KO.description,ZO=KO.category,JO=KO.attributes,XO=KO.keywords,$O=KO.supports,eP={title:(0,ue.__)(VO,"woolentor"),description:(0,ue.__)(YO,"woolentor"),icon:React.createElement(de.Icon,{icon:UO}),keywords:XO,supports:$O,attributes:JO,edit:GO,save:function(){return null}};const tP=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(io,{label:(0,ue.__)("Text Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Left Icon Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(io,{label:(0,ue.__)("Top Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.togglerBorderType,options:wi,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Description","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formBorderType,options:wi,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(Dt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Ut,{name:"focus"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Login Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnColor,onChange:function(e){return o({loginBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnBGColor,onChange:function(e){return o({loginBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.loginBtnSize,fallbackFontSize:t.loginBtnSize,onChange:function(e){return o({loginBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.loginBtnBorderType,options:wi,onChange:function(e){return o({loginBtnBorderType:e})}}),t.loginBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.loginBtnBorderWidth,attributesKey:"loginBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnBorderColor,onChange:function(e){return o({loginBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.loginBtnBorderRadius,attributesKey:"loginBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.loginBtnPadding,attributesKey:"loginBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnHoverColor,onChange:function(e){return o({loginBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnHoverBGColor,onChange:function(e){return o({loginBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.loginBtnHoverBorderColor,onChange:function(e){return o({loginBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function oP(e){return oP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oP(e)}function rP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nP(r.key),r)}}function nP(e){var t=function(e,t){if("object"!=oP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=oP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oP(t)?t:String(t)}function aP(e,t,o){return t=iP(t),function(e,t){if(t&&("object"===oP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lP()?Reflect.construct(t,o||[],iP(e).constructor):t.apply(e,o))}function lP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lP=function(){return!!e})()}function iP(e){return iP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},iP(e)}function cP(e,t){return cP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cP(e,t)}var sP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),aP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=nP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor_block_checkout_login_form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(tP,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{blockUniqId:i,formToggolerText:t.formToggolerText},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&rP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const uP=sP,dP=JSON.parse('{"name":"woolentor/checkout-login-form","category":"woolentor-checkout","title":"WL : Checkout Login Form","description":"Display Checkout Login Form.","keywords":["woolentor","checkout form","login form","login field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { margin: {{formMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text,{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"loginBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { color: {{loginBtnColor}}; }"}},"loginBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { background-color: {{loginBtnBGColor}}; }"}},"loginBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { font-size: {{loginBtnSize}}; }"}},"loginBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-style: {{loginBtnBorderType}} !important; }"}},"loginBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-width: {{loginBtnBorderWidth}} !important; }"}},"loginBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-color: {{loginBtnBorderColor}} !important; }"}},"loginBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-radius: {{loginBtnBorderRadius}} !important; }"}},"loginBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { padding: {{loginBtnPadding}}; }"}},"loginBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { color: {{loginBtnHoverColor}}; }"}},"loginBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { background-color: {{loginBtnHoverBGColor}}; }"}},"loginBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { border-color: {{loginBtnHoverBorderColor}} !important; }"}}}}'),mP=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var pP=dP.name,gP=dP.title,fP=dP.description,bP=dP.category,yP=dP.attributes,RP=dP.keywords,_P=dP.supports,wP={title:(0,ue.__)(gP,"woolentor"),description:(0,ue.__)(fP,"woolentor"),icon:React.createElement(de.Icon,{icon:mP}),keywords:RP,supports:_P,attributes:yP,edit:uP,save:function(){return null}};function hP(e){return function(e){if(Array.isArray(e))return vP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||EP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function EP(e,t){if(e){if("string"==typeof e)return vP(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?vP(e,t):void 0}}function vP(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const OP=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||EP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,De.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=hP(t.navigationItemList);a[n][r]=e,o({navigationItemList:a})},c=[];if(!Object.keys(woolentorData.myaccountmenu).length>0)c=[{label:(0,ue.__)("Dashboard","woolentor"),value:"dashboard"},{label:(0,ue.__)("Orders","woolentor"),value:"orders"},{label:(0,ue.__)("Downloads","woolentor"),value:"downloads"},{label:(0,ue.__)("Addresses","woolentor"),value:"edit-address"},{label:(0,ue.__)("Account details","woolentor"),value:"edit-account"},{label:(0,ue.__)("Logout","woolentor"),value:"customer-logout"},{label:(0,ue.__)("Custom","woolentor"),value:"customadd"}];else{var s=function(e,t){return e.map((function(e){return!0===e.hasOwnProperty(t)?e[t]:""})).filter((function(e){return""!==e}))}(t.navigationItemList,"menuCusKey");for(var u in woolentorData.myaccountmenu)s.includes(u)||c.push({label:(0,ue.__)(woolentorData.myaccountmenu[u],"woolentor"),value:u})}return t.navigationItemList.length>0&&(r=t.navigationItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(De.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.navigationItemList[r].menuTitle),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(de.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=hP(t.navigationItemList);r.splice(e,1),o({navigationItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(de.SelectControl,{label:(0,ue.__)("Menu Items","woolentor"),value:t.navigationItemList[r].menuKey,options:c,onChange:function(e){return i(e,"menuKey",r)}}),React.createElement(de.TextControl,{label:(0,ue.__)("Menu Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,ue.__)("Dashboard","woolentor"),value:t.navigationItemList[r].menuTitle,onChange:function(e){return i(e,"menuTitle",r)}}),"customadd"===t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,React.createElement(de.TextControl,{label:(0,ue.__)("Menu Key","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuCusKey,onChange:function(e){return i(e,"menuCusKey",r)}}),React.createElement(de.ToggleControl,{label:(0,ue.__)("External URL ?","woolentor"),checked:t.navigationItemList[r].externalUrl,onChange:function(e){return i(e,"externalUrl",r)}}),t.navigationItemList[r].externalUrl&&React.createElement(de.TextControl,{label:(0,ue.__)("Menu URL","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuUrl,onChange:function(e){return i(e,"menuUrl",r)}})),!0!==t.navigationItemList[r].externalUrl&&React.createElement(de.SelectControl,{label:(0,ue.__)("Select Content Source","woolentor"),value:t.navigationItemList[r].contentSource,options:[{label:(0,ue.__)("Default","woolentor"),value:"default"},{label:(0,ue.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return i(e,"contentSource",r)}}),"custom"===t.navigationItemList[r].contentSource&&!0!==t.navigationItemList[r].externalUrl&&React.createElement(React.Fragment,null,React.createElement(de.TextareaControl,{label:(0,ue.__)("Content","woolentor"),value:t.navigationItemList[r].customContent,onChange:function(e){return i(e,"customContent",r)}})),"customadd"!==t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,"default"!==t.navigationItemList[r].contentSource&&React.createElement(de.ToggleControl,{label:(0,ue.__)("Remove Default Content","woolentor"),checked:t.navigationItemList[r].contentRemove,onChange:function(e){return i(e,"contentRemove",r)}})))))}))),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.ToggleControl,{label:(0,ue.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,ue.__)("Show User Info.","woolentor"):(0,ue.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(Jo,{title:(0,ue.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attribute:"userCustomImage"}),t.userCustomImage.id&&React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"})),r,React.createElement(de.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=hP(t.navigationItemList);e.push({menuKey:"customadd",menuTitle:(0,ue.__)("Menu Item #"+(t.navigationItemList.length+1),"woolentor"),menuCusKey:(0,ue.__)("menu-item-"+(t.navigationItemList.length+1),"woolentor"),contentSource:"default"}),o({navigationItemList:e}),l(t.navigationItemList.length)}.bind(void 0)},(0,ue.__)("Add Item","woolentor")))),React.createElement(Tt,null,t.userInfo&&React.createElement(Vt,{title:(0,ue.__)("User Info","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Text Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,ue.__)("Link Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(go,{label:(0,ue.__)("Image","woolentor")}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.userImageBorderType,options:wi,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Navigation","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,ue.__)("Horizontal Left","woolentor"),value:"hleft"},{label:(0,ue.__)("Horizontal Right","woolentor"),value:"hright"},{label:(0,ue.__)("Vertical Top","woolentor"),value:"vtop"},{label:(0,ue.__)("Vertical Bottom","woolentor"),value:"vbottom"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Menu Area Margin","woolentor"),dimensions:t.menuAreaMargin,attributesKey:"menuAreaMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(de.RangeControl,{label:(0,ue.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(Dt,{name:"navigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.menuBorderType,options:wi,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(de.RangeControl,{label:(0,ue.__)("Content Area Width (PX)","woolentor"),value:t.contentAreaWidth,allowReset:!0,onChange:function(e){return o({contentAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function PP(e){return PP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PP(e)}function CP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BP(r.key),r)}}function BP(e){var t=function(e,t){if("object"!=PP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=PP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==PP(t)?t:String(t)}function AP(e,t,o){return t=SP(t),function(e,t){if(t&&("object"===PP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,WP()?Reflect.construct(t,o||[],SP(e).constructor):t.apply(e,o))}function WP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(WP=function(){return!!e})()}function SP(e){return SP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},SP(e)}function kP(e,t){return kP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kP(e,t)}var TP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),AP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=BP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account","woolentor_block_my_account","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(OP,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,navigationItemList:t.navigationItemList,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&CP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const xP=TP,LP=JSON.parse('{"name":"woolentor/my-account","category":"woolentor-myaccount","title":"WL : My Account","description":"Display My Account.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":true},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"navigationItemList":{"type":"array","default":[{"menuKey":"dashboard","menuTitle":"Dashboard","contentSource":"default"},{"menuKey":"orders","menuTitle":"Orders","contentSource":"default"},{"menuKey":"downloads","menuTitle":"Downloads","contentSource":"default"},{"menuKey":"edit-address","menuTitle":"Addresses","contentSource":"default"},{"menuKey":"edit-account","menuTitle":"Account details","contentSource":"default"},{"menuKey":"customer-logout","menuTitle":"Logout","contentSource":"default"}]},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { margin: {{menuAreaMargin}}; }"}},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { width: {{menuAreaWidth}}px; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}},"contentAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { width: {{contentAreaWidth}}px; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content a { color: {{contentLinkColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { font-size: {{contentSize}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { margin: {{contentMargin}}; }"}},"contentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { padding: {{contentPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { text-align: {{contentAlignment}}; }"}}}}'),NP=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M3 8h19V5q0-.825-.587-1.413Q20.825 3 20 3H5q-.825 0-1.413.587Q3 4.175 3 5Zm5 2H3v9q0 .825.587 1.413Q4.175 21 5 21h3Zm9 0v11h3q.825 0 1.413-.587Q22 19.825 22 19v-9Zm-2 0h-5v11h5Z"})));var zP=LP.name,jP=LP.title,IP=LP.description,MP=LP.category,FP=LP.attributes,HP=LP.keywords,DP=LP.supports,qP={title:(0,ue.__)(jP,"woolentor"),description:(0,ue.__)(IP,"woolentor"),icon:React.createElement(de.Icon,{icon:NP}),keywords:HP,supports:DP,attributes:FP,edit:xP,save:function(){return null}};const GP=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.ToggleControl,{label:(0,ue.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,ue.__)("Show User Info.","woolentor"):(0,ue.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(Jo,{title:(0,ue.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attribute:"userCustomImage"}),t.userCustomImage.id&&React.createElement(rn,{label:(0,ue.__)("Image Size","woolentor"),attribute:"imageSize"})))),React.createElement(Tt,null,t.userInfo&&React.createElement(Vt,{title:(0,ue.__)("User Info","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Text Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,ue.__)("Link Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(go,{label:(0,ue.__)("Image","woolentor")}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.userImageBorderType,options:wi,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Navigation","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,ue.__)("Horizontal","woolentor"),value:"horizontal"},{label:(0,ue.__)("Vertical","woolentor"),value:"vertical"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(de.RangeControl,{label:(0,ue.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(Dt,{name:"navigation"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.menuBorderType,options:wi,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function KP(e){return KP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KP(e)}function UP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,QP(r.key),r)}}function QP(e){var t=function(e,t){if("object"!=KP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=KP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KP(t)?t:String(t)}function VP(e,t,o){return t=ZP(t),function(e,t){if(t&&("object"===KP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,YP()?Reflect.construct(t,o||[],ZP(e).constructor):t.apply(e,o))}function YP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(YP=function(){return!!e})()}function ZP(e){return ZP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ZP(e)}function JP(e,t){return JP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},JP(e,t)}var XP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),VP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&JP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=QP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-navigation","woolentor_block_my_account_navigation","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(GP,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&UP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const $P=XP,eC=JSON.parse('{"name":"woolentor/my-account-navigation","category":"woolentor-myaccount","title":"WL: My Account Navigation","description":"Display My Account Menu.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu","My Account Navigation"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":false},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}}}}'),tC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M3 18v-2h18v2Zm0-5v-2h18v2Zm0-5V6h18v2Z"}));var oC=eC.name,rC=eC.title,nC=eC.description,aC=eC.category,lC=eC.attributes,iC=eC.keywords,cC=eC.supports,sC={title:(0,ue.__)(rC,"woolentor"),description:(0,ue.__)(nC,"woolentor"),icon:React.createElement(de.Icon,{icon:tC}),keywords:iC,supports:cC,attributes:lC,edit:$P,save:function(){return null}};const uC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Content","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.contentLinkHoverColor,onChange:function(e){return o({contentLinkHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Text Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function dC(e){return dC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dC(e)}function mC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pC(r.key),r)}}function pC(e){var t=function(e,t){if("object"!=dC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dC(t)?t:String(t)}function gC(e,t,o){return t=bC(t),function(e,t){if(t&&("object"===dC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fC()?Reflect.construct(t,o||[],bC(e).constructor):t.apply(e,o))}function fC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fC=function(){return!!e})()}function bC(e){return bC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bC(e)}function yC(e,t){return yC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yC(e,t)}var RC=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gC(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yC(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=pC(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-dashboard","woolentor_block_my_account_dashboard","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(uC,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&mC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const _C=RC,wC=JSON.parse('{"name":"woolentor/my-account-dashboard","category":"woolentor-myaccount","title":"WL: My Account Dashboard","description":"Display My Account dashboard.","keywords":["woolentor","My Account","Account","Account dashboard","Dashboard content","Dashboard"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a { color: {{contentLinkColor}}; }"}},"contentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a:hover { color: {{contentLinkHoverColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { font-size: {{contentSize}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { text-align: {{contentAlignment}}; }"}}}}'),hC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Zm5-2v-6H5v6Zm2 0h7v-6h-7Zm-7-8h14V5H5Z"}));var EC=wC.name,vC=wC.title,OC=wC.description,PC=wC.category,CC=wC.attributes,BC=wC.keywords,AC=wC.supports,WC={title:(0,ue.__)(vC,"woolentor"),description:(0,ue.__)(OC,"woolentor"),icon:React.createElement(de.Icon,{icon:hC}),keywords:BC,supports:AC,attributes:CC,edit:_C,save:function(){return null}};const SC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["general","advanced"]}),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("My Account Download","woolentor")},React.createElement("p",null,(0,ue.__)("My Account Download","woolentor")))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kC(e){return kC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kC(e)}function TC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xC(r.key),r)}}function xC(e){var t=function(e,t){if("object"!=kC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kC(t)?t:String(t)}function LC(e,t,o){return t=zC(t),function(e,t){if(t&&("object"===kC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,NC()?Reflect.construct(t,o||[],zC(e).constructor):t.apply(e,o))}function NC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(NC=function(){return!!e})()}function zC(e){return zC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zC(e)}function jC(e,t){return jC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jC(e,t)}var IC=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),LC(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jC(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=xC(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-download","woolentorblock-my-account-download-"+i,"woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(SC,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&TC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const MC=IC,FC=JSON.parse('{"name":"woolentor/my-account-download","category":"woolentor-myaccount","title":"WL: My Account Download","description":"Display My Account Download.","keywords":["woolentor","My Account","Account","Account download","Dashboard download","download"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}}}}'),HC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6.5 20q-2.275 0-3.887-1.575Q1 16.85 1 14.575q0-1.95 1.175-3.475Q3.35 9.575 5.25 9.15q.425-1.8 2.125-3.425Q9.075 4.1 11 4.1q.825 0 1.413.587Q13 5.275 13 6.1v6.05l1.6-1.55L16 12l-4 4l-4-4l1.4-1.4l1.6 1.55V6.1q-1.9.35-2.95 1.837Q7 9.425 7 11h-.5q-1.45 0-2.475 1.025Q3 13.05 3 14.5q0 1.45 1.025 2.475Q5.05 18 6.5 18h12q1.05 0 1.775-.725Q21 16.55 21 15.5q0-1.05-.725-1.775Q19.55 13 18.5 13H17v-2q0-1.2-.55-2.238Q15.9 7.725 15 7V4.675q1.85.875 2.925 2.588Q19 8.975 19 11q1.725.2 2.863 1.487Q23 13.775 23 15.5q0 1.875-1.312 3.188Q20.375 20 18.5 20Zm5.5-8.95Z"}));var DC=FC.name,qC=FC.title,GC=FC.description,KC=FC.category,UC=FC.attributes,QC=FC.keywords,VC=FC.supports,YC={title:(0,ue.__)(qC,"woolentor"),description:(0,ue.__)(GC,"woolentor"),icon:React.createElement(de.Icon,{icon:HC}),keywords:QC,supports:VC,attributes:UC,edit:MC,save:function(){return null}};const ZC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Fieldset","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.fieldsetColor,onChange:function(e){return o({fieldsetColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.fieldsetBorderColor,onChange:function(e){return o({fieldsetBorderColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function JC(e){return JC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},JC(e)}function XC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$C(r.key),r)}}function $C(e){var t=function(e,t){if("object"!=JC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=JC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==JC(t)?t:String(t)}function eB(e,t,o){return t=oB(t),function(e,t){if(t&&("object"===JC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tB()?Reflect.construct(t,o||[],oB(e).constructor):t.apply(e,o))}function tB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tB=function(){return!!e})()}function oB(e){return oB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oB(e)}function rB(e,t){return rB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rB(e,t)}var nB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),eB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=$C(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-edit","woolentorblock-my-account-edit-"+i,"woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(ZC,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&XC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const aB=nB,lB=JSON.parse('{"name":"woolentor/my-account-edit","category":"woolentor-myaccount","title":"WL: My Account Edit","description":"Display My Account Edit.","keywords":["woolentor","My Account","Account","Account edit","Edit Account","edit"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { margin: {{labelMargin}}; }"}},"fieldsetColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { color: {{fieldsetColor}}; }"}},"fieldsetBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { border-color: {{fieldsetBorderColor}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),iB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 22q-.825 0-1.413-.587Q3 20.825 3 20V6q0-.825.587-1.412Q4.175 4 5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588Q21 5.175 21 6v6h-2v-2H5v10h7v2Zm17.125-5L20 14.875l.725-.725q.275-.275.7-.275q.425 0 .7.275l.725.725q.275.275.275.7q0 .425-.275.7ZM14 23v-2.125l5.3-5.3l2.125 2.125l-5.3 5.3ZM5 8h14V6H5Zm0 0V6v2Z"}));var cB=lB.name,sB=lB.title,uB=lB.description,dB=lB.category,mB=lB.attributes,pB=lB.keywords,gB=lB.supports,fB={title:(0,ue.__)(sB,"woolentor"),description:(0,ue.__)(uB,"woolentor"),icon:React.createElement(de.Icon,{icon:iB}),keywords:pB,supports:gB,attributes:mB,edit:aB,save:function(){return null}};const bB=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Top Content","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.topContentColor,onChange:function(e){return o({topContentColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.topContentSize,fallbackFontSize:t.topContentSize,onChange:function(e){return o({topContentSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.topContentMargin,attributesKey:"topContentMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingLinkColor,onChange:function(e){return o({headingLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingLinkHoverColor,onChange:function(e){return o({headingLinkHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Address","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function yB(e){return yB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yB(e)}function RB(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_B(r.key),r)}}function _B(e){var t=function(e,t){if("object"!=yB(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=yB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yB(t)?t:String(t)}function wB(e,t,o){return t=EB(t),function(e,t){if(t&&("object"===yB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,hB()?Reflect.construct(t,o||[],EB(e).constructor):t.apply(e,o))}function hB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(hB=function(){return!!e})()}function EB(e){return EB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},EB(e)}function vB(e,t){return vB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vB(e,t)}var OB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),wB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=_B(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-address","woolentorblock-my-account-address-"+i,"woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(bB,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&RB(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const PB=OB,CB=JSON.parse('{"name":"woolentor/my-account-address","category":"woolentor-myaccount","title":"WL: My Account Address","description":"Display My Account Address.","keywords":["woolentor","My Account","Account","Account address","Address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"topContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { color: {{topContentColor}}; }"}},"topContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { font-size: {{topContentSize}}; }"}},"topContentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { margin: {{topContentMargin}}; }"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { color: {{headingColor}}; }"}},"headingLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a { color: {{headingLinkColor}}; }"}},"headingLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a:hover { color: {{headingLinkHoverColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { background-color: {{headingBGColor}} !important; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}; }"}}}}'),BB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 11h2.1l6.2-6.2l-2.1-2.1L11 8.9Zm9-6.9l.7-.7q.3-.3.3-.7q0-.4-.3-.7l-.7-.7q-.3-.3-.7-.3q-.4 0-.7.3l-.7.7ZM12 22q-4.025-3.425-6.012-6.363Q4 12.7 4 10.2q0-3.75 2.413-5.975Q8.825 2 12 2q.675 0 1.338.112q.662.113 1.287.313L13 4.075q-.25-.05-.488-.063Q12.275 4 12 4Q9.475 4 7.737 5.737Q6 7.475 6 10.2q0 1.775 1.475 4.062Q8.95 16.55 12 19.35q3.05-2.8 4.525-5.088Q18 11.975 18 10.2q0-.3-.025-.588q-.025-.287-.075-.562l1.65-1.65q.225.65.338 1.35q.112.7.112 1.45q0 2.5-1.987 5.437Q16.025 18.575 12 22Zm.775-11.125Z"}));var AB=CB.name,WB=CB.title,SB=CB.description,kB=CB.category,TB=CB.attributes,xB=CB.keywords,LB=CB.supports,NB={title:(0,ue.__)(WB,"woolentor"),description:(0,ue.__)(SB,"woolentor"),icon:React.createElement(de.Icon,{icon:BB}),keywords:xB,supports:LB,attributes:TB,edit:PB,save:function(){return null}};const zB=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.headingBorderType,options:wi,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Table Cell","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellColor,onChange:function(e){return o({tableCellColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellLinkColor,onChange:function(e){return o({tableCellLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellLinkHoverColor,onChange:function(e){return o({tableCellLinkHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBGColor,onChange:function(e){return o({tableCellBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableCellSize,fallbackFontSize:t.tableCellSize,onChange:function(e){return o({tableCellSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:wi,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Action Button","woolentor"),initialOpen:!1},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor"),initialOpen:!1},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor"),initialOpen:!1},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function jB(e){return jB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jB(e)}function IB(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,MB(r.key),r)}}function MB(e){var t=function(e,t){if("object"!=jB(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=jB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jB(t)?t:String(t)}function FB(e,t,o){return t=DB(t),function(e,t){if(t&&("object"===jB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,HB()?Reflect.construct(t,o||[],DB(e).constructor):t.apply(e,o))}function HB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(HB=function(){return!!e})()}function DB(e){return DB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},DB(e)}function qB(e,t){return qB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qB(e,t)}var GB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),FB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=MB(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-order","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(zB,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&IB(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const KB=GB,UB=JSON.parse('{"name":"woolentor/my-account-order","category":"woolentor-myaccount","title":"WL: My Account Order","description":"Display My Account Order.","keywords":["woolentor","My Account","Account","Account order","Order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { color: {{headingColor}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { background-color: {{headingBGColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { font-size: {{headingSize}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { padding: {{headingPadding}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-style: {{headingBorderType}}!important; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-width: {{headingBorderWidth}}!important; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-color: {{headingBorderColor}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { text-align: {{headingAlignment}}; }"}},"tableCellColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { color: {{tableCellColor}}; }"}},"tableCellLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a { color: {{tableCellLinkColor}}; }"}},"tableCellLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a:hover { color: {{tableCellLinkHoverColor}}; }"}},"tableCellBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { background-color: {{tableCellBGColor}}; }"}},"tableCellSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { font-size: {{tableCellSize}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-color: {{tableCellBorderColor}}!important; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { text-align: {{tableCellAlignment}}; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),QB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M19 19v-3H5v3h14Zm0-5v-4H5v4h14Zm0-6V5H5v3h14ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Z"}));var VB=UB.name,YB=UB.title,ZB=UB.description,JB=UB.category,XB=UB.attributes,$B=UB.keywords,eA=UB.supports,tA={title:(0,ue.__)(YB,"woolentor"),description:(0,ue.__)(ZB,"woolentor"),icon:React.createElement(de.Icon,{icon:QB}),keywords:$B,supports:eA,attributes:XB,edit:KB,save:function(){return null}};const oA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Label","woolentor"),value:t.buttonLabel,placeholder:(0,ue.__)("Logout","woolentor"),onChange:function(e){return o({buttonLabel:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Style","woolentor"),initialOpen:!0},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnColor,onChange:function(e){return o({logoutBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnBGColor,onChange:function(e){return o({logoutBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.logoutBtnSize,fallbackFontSize:t.logoutBtnSize,onChange:function(e){return o({logoutBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.logoutBtnBorderType,options:wi,onChange:function(e){return o({logoutBtnBorderType:e})}}),t.logoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.logoutBtnBorderWidth,attributesKey:"logoutBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnBorderColor,onChange:function(e){return o({logoutBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.logoutBtnBorderRadius,attributesKey:"logoutBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.logoutBtnPadding,attributesKey:"logoutBtnPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"logoutAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnHoverColor,onChange:function(e){return o({logoutBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnHoverBGColor,onChange:function(e){return o({logoutBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.logoutBtnHoverBorderColor,onChange:function(e){return o({logoutBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function rA(e){return rA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rA(e)}function nA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aA(r.key),r)}}function aA(e){var t=function(e,t){if("object"!=rA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=rA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rA(t)?t:String(t)}function lA(e,t,o){return t=cA(t),function(e,t){if(t&&("object"===rA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,iA()?Reflect.construct(t,o||[],cA(e).constructor):t.apply(e,o))}function iA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(iA=function(){return!!e})()}function cA(e){return cA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cA(e)}function sA(e,t){return sA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sA(e,t)}var uA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),lA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=aA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-logout","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(oA,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&nA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const dA=uA,mA=JSON.parse('{"name":"woolentor/my-account-logout","category":"woolentor-myaccount","title":"WL: My Account Logout","description":"Display My Account logout.","keywords":["woolentor","My Account","Account","Account logout","logout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonLabel":{"type":"string"},"logoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { color: {{logoutBtnColor}}; }"}},"logoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { background-color: {{logoutBtnBGColor}}; }"}},"logoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { font-size: {{logoutBtnSize}}; }"}},"logoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-style: {{logoutBtnBorderType}} !important; }"}},"logoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"logoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-width: {{logoutBtnBorderWidth}} !important; }"}},"logoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"logoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-color: {{logoutBtnBorderColor}} !important; }"}},"logoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-radius: {{logoutBtnBorderRadius}} !important; }"}},"logoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { padding: {{logoutBtnPadding}}; }"}},"logoutAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout{ text-align: {{logoutAlignment}}; }"}},"logoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover{ color: {{logoutBtnHoverColor}}; }"}},"logoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover { background-color: {{logoutBtnHoverBGColor}}; }"}},"logoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover { border-color: {{logoutBtnHoverBorderColor}} !important; }"}}}}'),pA=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M15.325 16.275q-.275-.325-.275-.738q0-.412.275-.687l1.85-1.85H10q-.425 0-.712-.288Q9 12.425 9 12t.288-.713Q9.575 11 10 11h7.175l-1.85-1.85q-.3-.3-.3-.712q0-.413.3-.713q.275-.3.688-.3q.412 0 .687.275l3.6 3.6q.15.15.213.325q.062.175.062.375t-.062.375q-.063.175-.213.325l-3.6 3.6q-.325.325-.712.287q-.388-.037-.663-.312ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h6q.425 0 .713.287Q12 3.575 12 4t-.287.712Q11.425 5 11 5H5v14h6q.425 0 .713.288q.287.287.287.712t-.287.712Q11.425 21 11 21Z"}));var gA=mA.name,fA=mA.title,bA=mA.description,yA=mA.category,RA=mA.attributes,_A=mA.keywords,wA=mA.supports,hA={title:(0,ue.__)(fA,"woolentor"),description:(0,ue.__)(bA,"woolentor"),icon:React.createElement(de.Icon,{icon:pA}),keywords:_A,supports:wA,attributes:RA,edit:dA,save:function(){return null}};const EA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Heading","woolentor"),value:t.heading,placeholder:(0,ue.__)("Login","woolentor"),onChange:function(e){return o({heading:e})}}))),React.createElement(Tt,null,t.heading&&React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:wi,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}}))))),React.createElement(Vt,{title:(0,ue.__)("Lost Password","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.lostPassColor,onChange:function(e){return o({lostPassColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.lostPassHoverColor,onChange:function(e){return o({lostPassHoverColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.lostPassSize,fallbackFontSize:t.lostPassSize,onChange:function(e){return o({lostPassSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.lostPassMargin,attributesKey:"lostPassMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function vA(e){return vA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vA(e)}function OA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,PA(r.key),r)}}function PA(e){var t=function(e,t){if("object"!=vA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=vA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vA(t)?t:String(t)}function CA(e,t,o){return t=AA(t),function(e,t){if(t&&("object"===vA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,BA()?Reflect.construct(t,o||[],AA(e).constructor):t.apply(e,o))}function BA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(BA=function(){return!!e})()}function AA(e){return AA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},AA(e)}function WA(e,t){return WA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},WA(e,t)}var SA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),CA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&WA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=PA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-login-form","woolentor_block_my_account_login_form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(EA,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&OA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const kA=SA,TA=JSON.parse('{"name":"woolentor/my-account-login-form","category":"woolentor-myaccount","title":"WL: My Account Login Form","description":"Display My Account Login Form.","keywords":["woolentor","My Account","Account","Account login","Login Form","login"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Login"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { margin: {{headingMargin}}; }"}},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row { margin: {{inputBoxMargin}}!important; }"}},"lostPassColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { color: {{lostPassColor}}; }"}},"lostPassHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a:hover { color: {{lostPassHoverColor}}; }"}},"lostPassSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { font-size: {{lostPassSize}}; }"}},"lostPassMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { margin: {{lostPassMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),xA=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var LA=TA.name,NA=TA.title,zA=TA.description,jA=TA.category,IA=TA.attributes,MA=TA.keywords,FA=TA.supports,HA={title:(0,ue.__)(NA,"woolentor"),description:(0,ue.__)(zA,"woolentor"),icon:React.createElement(de.Icon,{icon:xA}),keywords:MA,supports:FA,attributes:IA,edit:kA,save:function(){return null}};const DA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Heading","woolentor"),value:t.heading,placeholder:(0,ue.__)("Login","woolentor"),onChange:function(e){return o({heading:e})}}))),React.createElement(Tt,null,t.heading&&React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:wi,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function qA(e){return qA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qA(e)}function GA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,KA(r.key),r)}}function KA(e){var t=function(e,t){if("object"!=qA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=qA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qA(t)?t:String(t)}function UA(e,t,o){return t=VA(t),function(e,t){if(t&&("object"===qA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,QA()?Reflect.construct(t,o||[],VA(e).constructor):t.apply(e,o))}function QA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(QA=function(){return!!e})()}function VA(e){return VA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},VA(e)}function YA(e,t){return YA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},YA(e,t)}var ZA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),UA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&YA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=KA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-register-form","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(DA,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&GA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const JA=ZA,XA=JSON.parse('{"name":"woolentor/my-account-register-form","category":"woolentor-myaccount","title":"WL: My Account Register Form","description":"Display My Account Register Form.","keywords":["woolentor","My Account","Account","Account register","Register Form","register"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Register"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { margin: {{headingMargin}}; }"}},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .woocommerce-FormRow { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),$A=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 15h6v2h-6v-2M9 7H7v2h2V7m2 6h6v-2h-6v2m0-4h6V7h-6v2m-2 2H7v2h2v-2m12-6v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-2 0H5v14h14V5M9 15H7v2h2v-2Z"}));var eW=XA.name,tW=XA.title,oW=XA.description,rW=XA.category,nW=XA.attributes,aW=XA.keywords,lW=XA.supports,iW={title:(0,ue.__)(tW,"woolentor"),description:(0,ue.__)(oW,"woolentor"),icon:React.createElement(de.Icon,{icon:$A}),keywords:aW,supports:lW,attributes:nW,edit:JA,save:function(){return null}};const cW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Email Box Label","woolentor"),value:t.emailBoxLabel,placeholder:(0,ue.__)("Username or email","woolentor"),onChange:function(e){return o({emailBoxLabel:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Reset Button Label","woolentor"),value:t.resetButtonLabel,placeholder:(0,ue.__)("Reset password","woolentor"),onChange:function(e){return o({resetButtonLabel:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:wi,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function sW(e){return sW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sW(e)}function uW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dW(r.key),r)}}function dW(e){var t=function(e,t){if("object"!=sW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=sW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sW(t)?t:String(t)}function mW(e,t,o){return t=gW(t),function(e,t){if(t&&("object"===sW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pW()?Reflect.construct(t,o||[],gW(e).constructor):t.apply(e,o))}function pW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pW=function(){return!!e})()}function gW(e){return gW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gW(e)}function fW(e,t){return fW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fW(e,t)}var bW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),mW(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=dW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-lost-password","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(cW,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{emailBoxLabel:t.emailBoxLabel,resetButtonLabel:t.resetButtonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&uW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const yW=bW,RW=JSON.parse('{"name":"woolentor/my-account-lost-password","category":"woolentor-myaccount","title":"WL: My Account Lost Password Form","description":"Display My Account Lost Password Form.","keywords":["woolentor","My Account Lost","Lost Password","Account Lost","Password Lost","Password"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"emailBoxLabel":{"type":"string"},"resetButtonLabel":{"type":"string"},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { color: {{labelColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword .submit-button-row { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),_W=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h16q.825 0 1.413.588Q22 5.175 22 6v4h-2V8l-8 5l-8-5v10h12v2Zm8-9l8-5H4Zm-8 7V6v12Zm15 2q-.425 0-.712-.288Q18 19.425 18 19v-3q0-.425.288-.713Q18.575 15 19 15v-1q0-.825.587-1.413Q20.175 12 21 12q.825 0 1.413.587Q23 13.175 23 14v1q.425 0 .712.287q.288.288.288.713v3q0 .425-.288.712Q23.425 20 23 20Zm1-5h2v-1q0-.425-.288-.713Q21.425 13 21 13t-.712.287Q20 13.575 20 14Z"}));var wW=RW.name,hW=RW.title,EW=RW.description,vW=RW.category,OW=RW.attributes,PW=RW.keywords,CW=RW.supports,BW={title:(0,ue.__)(hW,"woolentor"),description:(0,ue.__)(EW,"woolentor"),icon:React.createElement(de.Icon,{icon:_W}),keywords:PW,supports:CW,attributes:OW,edit:yW,save:function(){return null}};const AW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("New Password Box Label","woolentor"),value:t.newPasswordBoxLabel,placeholder:(0,ue.__)("New Password","woolentor"),onChange:function(e){return o({newPasswordBoxLabel:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Re-Enter New Password Box Label","woolentor"),value:t.confirmPasswordBoxLabel,placeholder:(0,ue.__)("Re-enter new password","woolentor"),onChange:function(e){return o({confirmPasswordBoxLabel:e})}}),React.createElement(de.TextControl,{label:(0,ue.__)("Button Label","woolentor"),value:t.buttonLabel,placeholder:(0,ue.__)("Save","woolentor"),onChange:function(e){return o({buttonLabel:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Form Area","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:wi,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(io,{label:(0,ue.__)("Required Start Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Input Box","woolentor")},React.createElement(de.SelectControl,{label:(0,ue.__)("Layout","woolentor"),value:t.inputBoxLayout,options:[{label:(0,ue.__)("Inline","woolentor"),value:"inline"},{label:(0,ue.__)("Block","woolentor"),value:"block"}],onChange:function(e){return o({inputBoxLayout:e})}}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:wi,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Button","woolentor")},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:wi,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(wo,{lavel:(0,ue.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function WW(e){return WW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WW(e)}function SW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kW(r.key),r)}}function kW(e){var t=function(e,t){if("object"!=WW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=WW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WW(t)?t:String(t)}function TW(e,t,o){return t=LW(t),function(e,t){if(t&&("object"===WW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xW()?Reflect.construct(t,o||[],LW(e).constructor):t.apply(e,o))}function xW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xW=function(){return!!e})()}function LW(e){return LW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},LW(e)}function NW(e,t){return NW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NW(e,t)}var zW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),TW(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=kW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-reset-password","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(AW,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{newPasswordBoxLabel:t.newPasswordBoxLabel,confirmPasswordBoxLabel:t.confirmPasswordBoxLabel,inputBoxLayout:t.inputBoxLayout,buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&SW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const jW=zW,IW=JSON.parse('{"name":"woolentor/my-account-reset-password","category":"woolentor-myaccount","title":"WL: My Account Reset Password Form","description":"Display My Account Reset Password Form.","keywords":["woolentor","My Account Lost","Reset Password","Account Reset","Password Reset","Password"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"newPasswordBoxLabel":{"type":"string","default":"New Password"},"confirmPasswordBoxLabel":{"type":"string","default":"Re-enter new password"},"buttonLabel":{"type":"string","default":"Save"},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { margin: {{labelMargin}}; }"}},"inputBoxLayout":{"type":"string","default":"inline"},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword .submit-button-row { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),MW=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M13 21q-1.85 0-3.462-.688q-1.613-.687-2.838-1.887L8.125 17q.95.925 2.2 1.462Q11.575 19 13 19q2.9 0 4.95-2.05Q20 14.9 20 12q0-2.9-2.05-4.95Q15.9 5 13 5q-2.9 0-4.95 2.05Q6 9.1 6 12v.175l1.825-1.825l1.425 1.4L5 16L.75 11.75l1.425-1.4L4 12.2V12q0-1.875.713-3.513q.712-1.637 1.925-2.85q1.212-1.212 2.85-1.925Q11.125 3 13 3t3.513.712q1.637.713 2.85 1.925q1.212 1.213 1.925 2.85Q22 10.125 22 12q0 3.75-2.625 6.375T13 21Zm-2-5q-.425 0-.712-.288Q10 15.425 10 15v-3q0-.425.288-.713Q10.575 11 11 11v-1q0-.825.588-1.413Q12.175 8 13 8t1.413.587Q15 9.175 15 10v1q.425 0 .713.287q.287.288.287.713v3q0 .425-.287.712Q15.425 16 15 16Zm1-5h2v-1q0-.425-.287-.713Q13.425 9 13 9t-.712.287Q12 9.575 12 10Z"}));var FW=IW.name,HW=IW.title,DW=IW.description,qW=IW.category,GW=IW.attributes,KW=IW.keywords,UW=IW.supports,QW={title:(0,ue.__)(HW,"woolentor"),description:(0,ue.__)(DW,"woolentor"),icon:React.createElement(de.Icon,{icon:MW}),keywords:KW,supports:UW,attributes:GW,edit:jW,save:function(){return null}};const VW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextareaControl,{label:(0,ue.__)("Thank you message","woolentor"),value:t.thankyoumessage,onChange:function(e){return o({thankyoumessage:e})}}))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Message","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.thankMessageColor,onChange:function(e){return o({thankMessageColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.thankMessageSize,fallbackFontSize:t.thankMessageSize,onChange:function(e){return o({thankMessageSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.thankMessageMargin,attributesKey:"thankMessageMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Bottom Message Margin","woolentor"),dimensions:t.thankBottomMessageMargin,attributesKey:"thankBottomMessageMargin",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"thankMessageAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Order Label","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Order Details","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.orderInfoColor,onChange:function(e){return o({orderInfoColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.orderInfoSize,fallbackFontSize:t.orderInfoSize,onChange:function(e){return o({orderInfoSize:e})}}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"orderInfoAlignment",justified:!0}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.orderInfoMargin,attributesKey:"orderInfoMargin",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function YW(e){return YW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},YW(e)}function ZW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,JW(r.key),r)}}function JW(e){var t=function(e,t){if("object"!=YW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=YW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==YW(t)?t:String(t)}function XW(e,t,o){return t=eS(t),function(e,t){if(t&&("object"===YW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,$W()?Reflect.construct(t,o||[],eS(e).constructor):t.apply(e,o))}function $W(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return($W=function(){return!!e})()}function eS(e){return eS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},eS(e)}function tS(e,t){return tS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tS(e,t)}var oS=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),XW(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=JW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-order","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(VW,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{thankyoumessage:t.thankyoumessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&ZW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const rS=oS,nS=JSON.parse('{"name":"woolentor/thankyou-order","category":"woolentor-checkout","title":"WL: Thank You Order","description":"Display order information.","keywords":["woolentor","Thank you order","Order information","Thank you order","Thankyou"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"thankyoumessage":{"type":"string","default":"Thank you. Your order has been received."},"thankMessageColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ color: {{thankMessageColor}}; }"}},"thankMessageSize":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ font-size: {{thankMessageSize}}; }"}},"thankMessageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received { margin: {{thankMessageMargin}}; }"}},"thankBottomMessageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p { margin: {{thankBottomMessageMargin}}; }"}},"thankMessageAlignment":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ text-align: {{thankMessageAlignment}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { color: {{labelColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { margin: {{labelMargin}}; }"}},"orderInfoColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { color: {{orderInfoColor}}; }"}},"orderInfoSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { font-size: {{orderInfoSize}}; }"}},"orderInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { text-align: {{orderInfoAlignment}}; }"}},"orderInfoMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { margin: {{orderInfoMargin}}; }"}}}}'),aS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M20 21H5q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h15q.825 0 1.413.587Q22 4.175 22 5v14q0 .825-.587 1.413Q20.825 21 20 21ZM5 8h15V5H5Zm3 2H5v9h3Zm9 0v9h3v-9Zm-2 0h-5v9h5Z"}));var lS=nS.name,iS=nS.title,cS=nS.description,sS=nS.category,uS=nS.attributes,dS=nS.keywords,mS=nS.supports,pS={title:(0,ue.__)(iS,"woolentor"),description:(0,ue.__)(cS,"woolentor"),icon:React.createElement(de.Icon,{icon:aS}),keywords:dS,supports:mS,attributes:uS,edit:rS,save:function(){return null}};const gS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Table","woolentor")},React.createElement(go,{label:(0,ue.__)("Heading","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableHeadingBGColor,onChange:function(e){return o({tableHeadingBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingFontSize,fallbackFontSize:t.tableHeadingFontSize,onChange:function(e){return o({tableHeadingFontSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.tableHeadingPadding,attributesKey:"tableHeadingPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableHeadingAlignment",justified:!0}),React.createElement(go,{label:(0,ue.__)("Content","woolentor")}),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentFontSize,fallbackFontSize:t.tableContentFontSize,onChange:function(e){return o({tableContentFontSize:e})}}),React.createElement(io,{label:(0,ue.__)("Link Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentLinkColor,onChange:function(e){return o({tableContentLinkColor:e})}})),React.createElement(io,{label:(0,ue.__)("Link Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentLinkHoverColor,onChange:function(e){return o({tableContentLinkHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.tableContentBorderColor,onChange:function(e){return o({tableContentBorderColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"tableContentAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function fS(e){return fS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fS(e)}function bS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,yS(r.key),r)}}function yS(e){var t=function(e,t){if("object"!=fS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=fS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fS(t)?t:String(t)}function RS(e,t,o){return t=wS(t),function(e,t){if(t&&("object"===fS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,_S()?Reflect.construct(t,o||[],wS(e).constructor):t.apply(e,o))}function _S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_S=function(){return!!e})()}function wS(e){return wS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wS(e)}function hS(e,t){return hS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hS(e,t)}var ES=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),RS(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=yS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-order-details","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(gS,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&bS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const vS=ES,OS=JSON.parse('{"name":"woolentor/thankyou-order-details","category":"woolentor-checkout","title":"WL: Order Details","description":"Display Customer Order Details.","keywords":["woolentor","Thank you","order","Customer order","Order details"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { background-color: {{headingBGColor}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { text-align: {{headingAlignment}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { color: {{tableHeadingColor}}; }"}},"tableHeadingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td{ background-color: {{tableHeadingBGColor}}; }"}},"tableHeadingFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { font-size: {{tableHeadingFontSize}}; }"}},"tableHeadingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { padding: {{tableHeadingPadding}}; }"}},"tableHeadingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { text-align: {{tableHeadingAlignment}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td { color: {{tableContentColor}}; }"}},"tableContentFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td { font-size: {{tableContentFontSize}}; }"}},"tableContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td a,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td strong { color: {{tableContentLinkColor}}; }"}},"tableContentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td a:hover { color: {{tableContentLinkHoverColor}}; }"}},"tableContentBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th { border-color: {{tableContentBorderColor}}!important; }"}},"tableContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th { text-align: {{tableContentAlignment}}; }"}}}}'),PS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M19 19v-3H5v3h14Zm0-5v-4H5v4h14Zm0-6V5H5v3h14ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Z"}));var CS=OS.name,BS=OS.title,AS=OS.description,WS=OS.category,SS=OS.attributes,kS=OS.keywords,TS=OS.supports,xS={title:(0,ue.__)(BS,"woolentor"),description:(0,ue.__)(AS,"woolentor"),icon:React.createElement(de.Icon,{icon:PS}),keywords:kS,supports:TS,attributes:SS,edit:vS,save:function(){return null}};const LS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(De.Fragment,null,React.createElement(Nt,{tabs:["styles","advanced"]}),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Heading","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Vt,{title:(0,ue.__)("Address","woolentor")},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,ue.__)("Font size","woolentor")),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(wo,{lavel:(0,ue.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function NS(e){return NS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},NS(e)}function zS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,jS(r.key),r)}}function jS(e){var t=function(e,t){if("object"!=NS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=NS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==NS(t)?t:String(t)}function IS(e,t,o){return t=FS(t),function(e,t){if(t&&("object"===NS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,MS()?Reflect.construct(t,o||[],FS(e).constructor):t.apply(e,o))}function MS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(MS=function(){return!!e})()}function FS(e){return FS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},FS(e)}function HS(e,t){return HS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},HS(e,t)}var DS=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),IS(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&HS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=jS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-address-details","woolentorblock-".concat(i)),m=Be(t,o,i);return React.createElement(De.Fragment,null,n&&React.createElement(LS,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&zS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const qS=DS,GS=JSON.parse('{"name":"woolentor/thankyou-address-details","category":"woolentor-checkout","title":"WL: Address Details","description":"Display Customer Address Details.","keywords":["woolentor","Thank you","Address","Customer Address","Order address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { background-color: {{headingBGColor}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { text-align: {{headingAlignment}}; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}!important; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}!important; }"}}}}'),KS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M20 1v3h3v2h-3v3h-2V6h-3V4h3V1h2zm-8 12c-1.1 0-2-.9-2-2s.9-2 2-2s2 .9 2 2s-.9 2-2 2zm1-9.94v2.02A6.53 6.53 0 0 0 12 5c-3.35 0-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14c4.05-3.7 6-6.79 6-9.14V11h2v.2c0 3.32-2.67 7.25-8 11.8c-5.33-4.55-8-8.48-8-11.8C4 6.22 7.8 3 12 3c.34 0 .67.02 1 .06z"}));var US=GS.name,QS=GS.title,VS=GS.description,YS=GS.category,ZS=GS.attributes,JS=GS.keywords,XS=GS.supports,$S={title:(0,ue.__)(QS,"woolentor"),description:(0,ue.__)(VS,"woolentor"),icon:React.createElement(de.Icon,{icon:KS}),keywords:JS,supports:XS,attributes:ZS,edit:qS,save:function(){return null}};const ek=function(e){var t=e.attributes,o=e.setAttributes;return t.titleTag,React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.TextControl,{label:(0,ue.__)("Button Text","woolentor"),placeholder:(0,ue.__)("Close","woolentor"),value:t.buttonText,onChange:function(e){return o({buttonText:e})}}),React.createElement(de.SelectControl,{label:(0,ue.__)("Action","woolentor"),value:t.action,options:[{label:(0,ue.__)("Close Popup","woolentor"),value:"close_popup"},{label:(0,ue.__)("Close and Back To Previous Page","woolentor"),value:"go_back_to_previous_page"}],onChange:function(e){return o({action:e})}}),"close_popup"===t.action&&React.createElement(de.TextControl,{label:(0,ue.__)("Redirect URL","woolentor"),placeholder:(0,ue.__)("https://yourdomain.com/sample-page/","woolentor"),value:t.redirectUrl,onChange:function(e){return o({redirectUrl:e})},help:(0,ue.__)("Enter the URL where you want to redirect after closing the popup.","woolentor")}),React.createElement(_r.InspectorControls,{label:(0,ue.__)("Alignment","woolentor"),attribute:"alignment",justified:!1}),React.createElement(Wr,{label:(0,ue.__)("Button Icon","woolentor"),onReset:function(){return o({buttonIcon:""})},value:t.buttonIcon,onChange:function(e){return o({buttonIcon:e})}}),t.buttonIcon&&React.createElement(React.Fragment,null,React.createElement(de.SelectControl,{label:(0,ue.__)("Icon Position","woolentor"),value:t.iconPosition,options:[{label:(0,ue.__)("Before","woolentor"),value:"left"},{label:(0,ue.__)("After","woolentor"),value:"right"}],onChange:function(e){return o({iconPosition:e})}}),React.createElement(de.RangeControl,{label:(0,ue.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Button","woolentor"),initialOpen:!0},React.createElement(Dt,{name:"button"},React.createElement(Ut,{name:"normal"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.backgroundColor,onChange:function(e){return o({backgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.fontSize,fallbackFontSize:t.fontSize,onChange:function(e){return o({fontSize:e})}}),React.createElement(zr,{value:t.buttonBorder,onChange:function(e){return o({buttonBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.borderRadius,attributesKey:"borderRadius",setAttributes:o})),React.createElement(Ut,{name:"hover"},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverBackgroundColor,onChange:function(e){return o({hoverBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(io,{label:(0,ue.__)("Border Color","woolentor")},React.createElement(de.ColorPalette,{value:t.hoverTextBorderColor,onChange:function(e){return o({hoverTextBorderColor:e})}}))))),t.buttonIcon&&React.createElement(Vt,{title:(0,ue.__)("Icon","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.iconBackgroundColor,onChange:function(e){return o({iconBackgroundColor:e})}})),React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.iconColor,onChange:function(e){return o({iconColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.iconFontSize,fallbackFontSize:t.iconFontSize,onChange:function(e){return o({iconFontSize:e})}}),React.createElement(zr,{value:t.iconBorder,onChange:function(e){return o({iconBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Border Radius","woolentor"),dimensions:t.iconBorderRadius,attributesKey:"iconBorderRadius",setAttributes:o}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.iconPadding,attributesKey:"iconPadding",setAttributes:o}))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function tk(e){return tk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tk(e)}function ok(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rk(r.key),r)}}function rk(e){var t=function(e,t){if("object"!=tk(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=tk(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tk(t)?t:String(t)}function nk(e,t,o){return t=lk(t),function(e,t){if(t&&("object"===tk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ak()?Reflect.construct(t,o||[],lk(e).constructor):t.apply(e,o))}function ak(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ak=function(){return!!e})()}function lk(e){return lk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lk(e)}function ik(e,t){return ik=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ik(e,t)}var ck=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),nk(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ik(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=rk(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-popup-close-button-area","woolentorblock-".concat(i)),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(ek,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:t,attributes:{buttonText:o.buttonText,buttonIcon:o.buttonIcon,iconPosition:o.iconPosition,alignment:o.alignment},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},".wlpb-trigger-button-wrapper {display: block;margin: 0;padding: 0;width: 100%;}.wlpb-trigger-button {background-color: #0073e6;color: #fff;border: none;border-radius: 5px;padding: 7px 20px;cursor: pointer;transition: background-color 0.3s ease;display: inline-flex;justify-content: center;align-items: center;}.wlpb-trigger-button-align-left {text-align: left;}.wlpb-trigger-button-align-center {text-align: center;}.wlpb-trigger-button-align-right{text-align: right;}.wlpb-trigger-button:hover {background-color: #0059b3;}.wlpb-trigger-button-icon {margin-right: 5px;}.wlpb-trigger-button-button-left {text-align: left;}.wlpb-trigger-button-button-center {text-align: center;}.wlpb-trigger-button-button-right {text-align: right;}"),m)}}],r&&ok(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const sk=ck,uk=JSON.parse('{"name":"woolentor/popup-close-trigger-button","category":"woolentor-blocks","title":"WL: Popup Close Trigger Button","description":"Display close button for popup builder template","keywords":["woolentor","popup","close","button"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":"Close"},"action":{"type":"string","default":"close_popup"},"redirectUrl":{"type":"string"},"buttonIcon":{"type":"string"},"alignment":{"type":"string","default":"center"},"iconPosition":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button { gap: {{iconSpecing}}px; }"}},"backgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button{ background-color:{{backgroundColor}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button .wlpb-trigger-button-text{ color:{{textColor}}; }"}},"fontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button .wlpb-trigger-button-text{ font-size:{{fontSize}}; }"}},"borderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button{ border-radius:{{borderRadius}}; }"}},"buttonBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button"}},"hoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover{ background-color:{{hoverBackgroundColor}}; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover .wlpb-trigger-button-text{ color:{{hoverTextColor}}; }"}},"hoverTextBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover .wlpb-trigger-button-text{ border-color:{{hoverTextBorderColor}}; }"}},"iconBackgroundColor":{"type":"string","style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ background-color:{{iconBackgroundColor}}; }"}},"iconColor":{"type":"string","style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ color:{{iconColor}}; }"}},"iconFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ font-size:{{iconFontSize}}; }"}},"iconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ border-radius:{{iconBorderRadius}}; }"}},"iconBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i"}},"iconPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ padding:{{iconPadding}}; }"}}}}'),dk=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11.7 18q-2.4-.125-4.05-1.85T6 12q0-2.5 1.75-4.25T12 6q2.425 0 4.15 1.65T18 11.7l-2.1-.625q-.325-1.35-1.4-2.212T12 8q-1.65 0-2.825 1.175T8 12q0 1.425.863 2.5t2.212 1.4L11.7 18Zm8.825 4.5l-4.275-4.275L15 22l-3-10l10 3l-3.775 1.25l4.275 4.275l-1.975 1.975Z"}));var mk=uk.name,pk=uk.category,gk=uk.title,fk=uk.description,bk=uk.keywords,yk=uk.attributes,Rk={title:(0,ue.__)(gk,"woolentor"),description:(0,ue.__)(fk,"woolentor"),icon:React.createElement(de.Icon,{icon:dk}),keywords:bk,example:{attributes:{buttonText:(0,ue.__)("Close Popup","woolentor")}},attributes:yk,edit:sk,save:function(){return null}};const _k=JSON.parse('{"name":"woolentor/currency-switcher","category":"woolentor-blocks","title":"WL : Currency Switcher","description":"Display currency list added from Module.","keywords":["woolentor","currency","multi currency","WooCommerce currency"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"currencyStyle":{"type":"string","default":"dropdown"},"showFlags":{"type":"boolean","default":true},"flagStyle":{"type":"string","default":"circle"},"currencyColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency){ color:{{currencyColor}}; }"}},"currencySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency){ font-size:{{currencySize}}; }"}},"currencyBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li + li"}},"currencyPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li{ padding:{{currencyPadding}}; }"}},"currencyHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency):hover{ color:{{currencyHoverColor}}; }"}},"currencyHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency):hover{ background-color:{{currencyHoverBgColor}}; }"}},"currenctCurrencyColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ color:{{currenctCurrencyColor}}; }"}},"currenctCurrencyBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ background-color:{{currenctCurrencyBGColor}}; }","dependency":[[{"key":"currencyStyle","condition":"==","value":"list"}]]}},"currenctCurrencySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ font-size:{{currenctCurrencySize}}; }"}},"currenctCurrencyBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency"}},"dropdownArrowColor":{"type":"string","style":{"dependency":[[{"key":"currencyStyle","condition":"==","value":"dropdown"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown-arrow::after{ color:{{dropdownArrowColor}}; }"}}}}'),wk=function(e){var t=e.attributes,o=e.setAttributes,r=t.currencyStyle,n=t.showFlags,a=t.flagStyle;return React.createElement(De.Fragment,null,React.createElement(Nt,null),React.createElement(kt,null,React.createElement(Vt,{title:(0,ue.__)("Settings","woolentor"),initialOpen:!0},React.createElement(de.SelectControl,{label:(0,ue.__)("Style","woolentor"),value:r,options:[{label:(0,ue.__)("Dropdown","woolentor"),value:"dropdown"},{label:(0,ue.__)("List","woolentor"),value:"list"}],onChange:function(e){return o({currencyStyle:e})}}),1==woolentorData.prostatus&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(io,{label:(0,ue.__)("Show Currency flags ?","woolentor")},React.createElement(de.ToggleControl,{className:"woolentor-toggle-control",checked:n,onChange:function(){return o({showFlags:!n})}})),n&&React.createElement(de.SelectControl,{label:(0,ue.__)("Flag Style","woolentor"),value:a,options:[{label:(0,ue.__)("Circle","woolentor"),value:"circle"},{label:(0,ue.__)("Square","woolentor"),value:"square"}],onChange:function(e){return o({flagStyle:e})}})))),React.createElement(Tt,null,React.createElement(Vt,{title:(0,ue.__)("Currency","woolentor"),initialOpen:!0},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currencyColor,onChange:function(e){return o({currencyColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.currencySize,fallbackFontSize:t.currencySize,onChange:function(e){return o({currencySize:e})}}),React.createElement(zr,{value:t.currencyBorder,onChange:function(e){return o({currencyBorder:e})}}),React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.currencyPadding,attributesKey:"currencyPadding",setAttributes:o,responsive:!0}),React.createElement(io,{label:(0,ue.__)("Hover Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currencyHoverColor,onChange:function(e){return o({currencyHoverColor:e})}})),React.createElement(io,{label:(0,ue.__)("Hover Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currencyHoverBgColor,onChange:function(e){return o({currencyHoverBgColor:e})}}))),React.createElement(Vt,{title:(0,ue.__)("Current Currency","woolentor"),initialOpen:!1},React.createElement(io,{label:(0,ue.__)("Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currenctCurrencyColor,onChange:function(e){return o({currenctCurrencyColor:e})}})),"list"===r&&React.createElement(io,{label:(0,ue.__)("Background Color","woolentor")},React.createElement(de.ColorPalette,{value:t.currenctCurrencyBGColor,onChange:function(e){return o({currenctCurrencyBGColor:e})}})),React.createElement(de.FontSizePicker,{fontSizes:[{name:(0,ue.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,ue.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,ue.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.currenctCurrencySize,fallbackFontSize:t.currenctCurrencySize,onChange:function(e){return o({currenctCurrencySize:e})}}),React.createElement(zr,{value:t.currenctCurrencyBorder,onChange:function(e){return o({currenctCurrencyBorder:e})}}),"dropdown"===r&&React.createElement(io,{label:(0,ue.__)("Arrow Color","woolentor")},React.createElement(de.ColorPalette,{value:t.dropdownArrowColor,onChange:function(e){return o({dropdownArrowColor:e})}})))),React.createElement(xt,null,React.createElement(Vt,{title:(0,ue.__)("Dimension","woolentor")},React.createElement(wo,{lavel:(0,ue.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0})),React.createElement(Vt,{title:(0,ue.__)("Background","woolentor")},React.createElement(sr,{title:(0,ue.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function hk(e){return hk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hk(e)}function Ek(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vk(r.key),r)}}function vk(e){var t=function(e,t){if("object"!=hk(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hk(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hk(t)?t:String(t)}function Ok(e,t,o){return t=Ck(t),function(e,t){if(t&&("object"===hk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Pk()?Reflect.construct(t,o||[],Ck(e).constructor):t.apply(e,o))}function Pk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Pk=function(){return!!e})()}function Ck(e){return Ck=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ck(e)}function Bk(e,t){return Bk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bk(e,t)}var Ak=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ok(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bk(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;o.areaBGProperty,""==i&&a({blockUniqId:l});var c,s,u,d=Gt()((c={},u=r,(s=vk(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-currency-switcher-area"),m=Be(o,t,i);return React.createElement(De.Fragment,null,n&&React.createElement(wk,this.props),React.createElement("div",{className:d},React.createElement(In(),{block:t,attributes:{blockUniqId:i,currencyStyle:o.currencyStyle,showFlags:o.showFlags,flagStyle:o.flagStyle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Ek(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(De.Component);const Wk=Ak,Sk=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 23q-2.8 0-5.15-1.275T3 18.325V21H1v-6h6v2H4.525q1.2 1.8 3.163 2.9T12 21q1.875 0 3.513-.712t2.85-1.925q1.212-1.213 1.925-2.85T21 12h2q0 2.275-.862 4.275t-2.363 3.5q-1.5 1.5-3.5 2.363T12 23m-.9-4v-1.3q-1.175-.275-1.912-1.012T8.1 14.75l1.65-.65q.3 1.025.938 1.538t1.462.512q.825 0 1.413-.387t.587-1.213q0-.725-.612-1.175T11.35 12.35q-1.475-.525-2.162-1.25T8.5 9.2q0-1.025.713-1.862T11.15 6.25V5h1.75v1.25q.9.075 1.638.725T15.55 8.5l-1.6.65q-.2-.575-.65-.962T12.05 7.8q-.875 0-1.338.375T10.25 9.2q0 .65.575 1.025t2.075.875q1.8.65 2.4 1.525t.6 1.925q0 .725-.25 1.275t-.663.938q-.412.387-.962.624t-1.175.363V19zM1 12q0-2.275.863-4.275t2.362-3.5q1.5-1.5 3.5-2.362T12 1q2.8 0 5.15 1.275t3.85 3.4V3h2v6h-6V7h2.475q-1.2-1.8-3.162-2.9T12 3q-1.875 0-3.512.713t-2.85 1.924Q4.425 6.85 3.713 8.488T3 12z"}));var kk=_k.name,Tk=_k.category,xk=_k.title,Lk=_k.description,Nk=_k.keywords,zk=_k.attributes,jk={title:(0,ue.__)(xk,"woolentor"),description:(0,ue.__)(Lk,"woolentor"),icon:React.createElement(de.Icon,{icon:Sk}),keywords:Nk,example:{attributes:{title_tag:"h2"}},attributes:zk,edit:Wk,save:function(){return null}};function Ik(e){return Ik="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ik(e)}function Mk(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}[e,t,r,n,a,l,i,c,s,u,d,p,m,g,f,b,y,R,_,w,h,E,v,O,P,C,B,A,W,S,k,T,x,L,N,z,j,I,M,F,H,G,D,q,K,U,Q,V,Y,Z,J,X,$,ee,te,oe,ae,ne,re,le,ie].forEach((function(e){if(e){var t=e.name;if(t=t.replace("woolentor/",""),-1!=woolentorData.options.indexOf(t)){var o=e.name,r=e.category,n=e.settings;(0,ce.registerBlockType)(o,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Mk(Object(o),!0).forEach((function(t){var r,n,a,l;r=e,n=t,a=o[t],l=function(e,t){if("object"!=Ik(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ik(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==Ik(l)?l:String(l))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mk(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({category:r},n))}}})),function(e){var t=jQuery;""==e?ke():t("body").on("click",e,(function(e){ke()}))}(".components-button.editor-post-publish-button.editor-post-publish-button__button.is-primary,.block-editor-post-preview__dropdown button,.edit-site-save-button__button"),function(e){var t=jQuery;"cart"===e||"emptycart"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-cart woocommerce-page woocommerce-js"):"checkout"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-checkout woocommerce-page"):"myaccount"===e||"lostpassword"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-account woolentor_myaccount_page"):"thankyou"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-checkout woocommerce-js"):"single"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page single-product woocommerce-js"):"shop"!==e&&"archive"!==e||t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-shop woocommerce-js")}(woolentorData.templateType)})()})();
     1(()=>{var e={40:(e,t,o)=>{var r=o(404),n=o(524).each;function a(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var o=this;this.listener=function(e){o.mql=e.currentTarget||e,o.assess()},this.mql.addListener(this.listener)}a.prototype={constuctor:a,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;n(t,(function(o,r){if(o.equals(e))return o.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){n(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";n(this.handlers,(function(t){t[e]()}))}},e.exports=a},98:(e,t,o)=>{var r=o(40),n=o(524),a=n.each,l=n.isFunction,i=n.isArray;function c(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}c.prototype={constructor:c,register:function(e,t,o){var n=this.queries,c=o&&this.browserIsIncapable;return n[e]||(n[e]=new r(e,c)),l(t)&&(t={match:t}),i(t)||(t=[t]),a(t,(function(t){l(t)&&(t={match:t}),n[e].addHandler(t)})),this},unregister:function(e,t){var o=this.queries[e];return o&&(t?o.removeHandler(t):(o.clear(),delete this.queries[e])),this}},e.exports=c},404:e=>{function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},524:e=>{e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var o=0,r=e.length;o<r&&!1!==t(e[o],o);o++);}}},386:(e,t,o)=>{var r=o(98);e.exports=new r},441:(e,t,o)=>{var r=o(28),n=function(e){var t="",o=Object.keys(e);return o.forEach((function(n,a){var l=e[n];(function(e){return/[height|width]$/.test(e)})(n=r(n))&&"number"==typeof l&&(l+="px"),t+=!0===l?n:!1===l?"not "+n:"("+n+": "+l+")",a<o.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(o,r){t+=n(o),r<e.length-1&&(t+=", ")})),t):n(e)}},181:(e,t,o)=>{var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,i=parseInt,c="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g,s="object"==typeof self&&self&&self.Object===Object&&self,u=c||s||Function("return this")(),d=Object.prototype.toString,m=Math.max,p=Math.min,g=function(){return u.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(f(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=f(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var o=a.test(e);return o||l.test(e)?i(e.slice(2),o?2:8):n.test(e)?NaN:+e}e.exports=function(e,t,o){var r,n,a,l,i,c,s=0,u=!1,d=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function R(t){var o=r,a=n;return r=n=void 0,s=t,l=e.apply(a,o)}function _(e){var o=e-c;return void 0===c||o>=t||o<0||d&&e-s>=a}function w(){var e=g();if(_(e))return h(e);i=setTimeout(w,function(e){var o=t-(e-c);return d?p(o,a-(e-s)):o}(e))}function h(e){return i=void 0,y&&r?R(e):(r=n=void 0,l)}function E(){var e=g(),o=_(e);if(r=arguments,n=this,c=e,o){if(void 0===i)return function(e){return s=e,i=setTimeout(w,t),u?R(e):l}(c);if(d)return i=setTimeout(w,t),R(c)}return void 0===i&&(i=setTimeout(w,t)),l}return t=b(t)||0,f(o)&&(u=!!o.leading,a=(d="maxWait"in o)?m(b(o.maxWait)||0,t):a,y="trailing"in o?!!o.trailing:y),E.cancel=function(){void 0!==i&&clearTimeout(i),s=0,r=c=n=i=void 0},E.flush=function(){return void 0===i?l:h(g())},E}},223:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.PrevArrow=t.NextArrow=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function s(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?s(Object(o),!0).forEach((function(t){d(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):s(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function d(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,o){return t&&p(e.prototype,t),o&&p(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function b(e,t){return b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},b(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var o,n=R(e);if(t){var a=R(this).constructor;o=Reflect.construct(n,arguments,a)}else o=n.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,o)}}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}var _=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var o={key:"0","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?n.default.cloneElement(this.props.prevArrow,u(u({},o),r)):n.default.createElement("button",c({key:"0",type:"button"},o)," ","Previous")}}]),o}(n.default.PureComponent);t.PrevArrow=_;var w=function(e){f(o,e);var t=y(o);function o(){return m(this,o),t.apply(this,arguments)}return g(o,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,l.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var o={key:"1","data-role":"none",className:(0,a.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?n.default.cloneElement(this.props.nextArrow,u(u({},o),r)):n.default.createElement("button",c({key:"1",type:"button"},o)," ","Next")}}]),o}(n.default.PureComponent);t.NextArrow=w},327:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=o(609))&&r.__esModule?r:{default:r},a={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return n.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return n.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=a},773:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function s(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function u(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(f,e);var t,o,i,p,g=(i=f,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(p){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),g.apply(this,arguments)}return t=f,o=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,o=t.onMouseEnter,r=t.onMouseOver,i=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,m=t.slidesToShow,p=t.slideCount,g=t.currentSlide,f=(e={slideCount:p,slidesToScroll:d,slidesToShow:m,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,b={onMouseEnter:o,onMouseOver:r,onMouseLeave:i},y=[],R=0;R<f;R++){var _=(R+1)*d-1,w=u?_:(0,l.clamp)(_,0,p-1),h=w-(d-1),E=u?h:(0,l.clamp)(h,0,p-1),v=(0,a.default)({"slick-active":u?g>=E&&g<=w:g===E}),O={message:"dots",index:R,slidesToScroll:d,currentSlide:g},P=this.clickHandler.bind(this,O);y=y.concat(n.default.createElement("li",{key:R,className:v},n.default.cloneElement(this.props.customPaging(R),{onClick:P})))}return n.default.cloneElement(this.props.appendDots(y),function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({className:this.props.dotsClass},b))}}],o&&u(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),f}(n.default.PureComponent);t.Dots=p},589:(e,t,o)=>{"use strict";var r;t.A=void 0;var n=((r=o(120))&&r.__esModule?r:{default:r}).default;t.A=n},841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0}},999:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=m(o(609)),n=m(o(841)),a=m(o(181)),l=m(o(942)),i=o(445),c=o(561),s=o(773),u=o(223),d=m(o(591));function m(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},g.apply(this,arguments)}function f(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?f(Object(o),!0).forEach((function(t){h(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function y(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function R(e,t){return R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},R(e,t)}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}function h(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(v,e);var t,o,m,f,E=(m=v,f=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(m);if(f){var o=w(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _(e)}(this,e)});function v(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),h(_(t=E.call(this,e)),"listRefHandler",(function(e){return t.list=e})),h(_(t),"trackRefHandler",(function(e){return t.track=e})),h(_(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,i.getHeight)(e)+"px"}})),h(_(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,i.getOnDemandLazySlides)(b(b({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var o=b({listRef:t.list,trackRef:t.track},t.props);t.updateState(o,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),h(_(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),h(_(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var o=(0,i.getOnDemandLazySlides)(b(b({},t.props),t.state));o.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(o)}})),t.props.onLazyLoad&&t.props.onLazyLoad(o))}t.adaptHeight();var n=b(b({listRef:t.list,trackRef:t.track},t.props),t.state),a=t.didPropsChange(e);a&&t.updateState(n,a,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),h(_(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,a.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),h(_(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(Boolean(t.track&&t.track.node)){var o=b(b({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(o,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),h(_(t),"updateState",(function(e,o,n){var a=(0,i.initializedState)(e);e=b(b(b({},e),a),{},{slideIndex:a.currentSlide});var l=(0,i.getTrackLeft)(e);e=b(b({},e),{},{left:l});var c=(0,i.getTrackCSS)(e);(o||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(a.trackStyle=c),t.setState(a,n)})),h(_(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,o=0,n=[],a=(0,i.getPreClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length})),l=(0,i.getPostClones)(b(b(b({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var c=0;c<a;c++)o+=n[n.length-1-c],e+=n[n.length-1-c];for(var s=0;s<l;s++)e+=n[s];for(var u=0;u<t.state.currentSlide;u++)o+=n[u];var d={width:e+"px",left:-o+"px"};if(t.props.centerMode){var m="".concat(n[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(m,") / 2 ) ")}return{trackStyle:d}}var p=r.default.Children.count(t.props.children),g=b(b(b({},t.props),t.state),{},{slideCount:p}),f=(0,i.getPreClones)(g)+(0,i.getPostClones)(g)+p,y=100/t.props.slidesToShow*f,R=100/f,_=-R*((0,i.getPreClones)(g)+t.state.currentSlide)*y/100;return t.props.centerMode&&(_+=(100-R*y/100)/2),{slideWidth:R+"%",trackStyle:{width:y+"%",left:_+"%"}}})),h(_(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],o=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var n=function(){return++r&&r>=o&&t.onWindowResized()};if(e.onclick){var a=e.onclick;e.onclick=function(){a(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=n,e.onerror=function(){n(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),h(_(t),"progressiveLazyLoad",(function(){for(var e=[],o=b(b({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,i.getPostClones)(o);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var n=t.state.currentSlide-1;n>=-(0,i.getPreClones)(o);n--)if(t.state.lazyLoadedList.indexOf(n)<0){e.push(n);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),h(_(t),"slideHandler",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,n=r.asNavFor,a=r.beforeChange,l=r.onLazyLoad,c=r.speed,s=r.afterChange,u=t.state.currentSlide,d=(0,i.slideHandler)(b(b(b({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!o})),m=d.state,p=d.nextState;if(m){a&&a(u,m.currentSlide);var g=m.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));l&&g.length>0&&l(g),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),s&&s(u),delete t.animationEndCallback),t.setState(m,(function(){n&&t.asNavForIndex!==e&&(t.asNavForIndex=e,n.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o,r,n={},a=Object.keys(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)o=a[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(p,["animating"]);t.setState(o,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),s&&s(m.currentSlide),delete t.animationEndCallback}))}),c))}))}})),h(_(t),"changeSlide",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=b(b({},t.props),t.state),n=(0,i.changeSlide)(r,e);if((0===n||n)&&(!0===o?t.slideHandler(n,o):t.slideHandler(n),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var a=t.list.querySelectorAll(".slick-current");a[0]&&a[0].focus()}})),h(_(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),h(_(t),"keyHandler",(function(e){var o=(0,i.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==o&&t.changeSlide({message:o})})),h(_(t),"selectHandler",(function(e){t.changeSlide(e)})),h(_(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),h(_(t),"enableBodyScroll",(function(){window.ontouchmove=null})),h(_(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var o=(0,i.swipeStart)(e,t.props.swipe,t.props.draggable);""!==o&&t.setState(o)})),h(_(t),"swipeMove",(function(e){var o=(0,i.swipeMove)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));o&&(o.swiping&&(t.clickable=!1),t.setState(o))})),h(_(t),"swipeEnd",(function(e){var o=(0,i.swipeEnd)(e,b(b(b({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(o){var r=o.triggerSlideHandler;delete o.triggerSlideHandler,t.setState(o),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),h(_(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),h(_(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),h(_(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),h(_(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},o)}),0))})),h(_(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,i.canGoNext)(b(b({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),h(_(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var o=t.state.autoplaying;if("update"===e){if("hovered"===o||"focused"===o||"paused"===o)return}else if("leave"===e){if("paused"===o||"focused"===o)return}else if("blur"===e&&("paused"===o||"hovered"===o))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),h(_(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var o=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==o&&"playing"!==o||t.setState({autoplaying:"focused"}):"playing"===o&&t.setState({autoplaying:"hovered"})})),h(_(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),h(_(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),h(_(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),h(_(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),h(_(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),h(_(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),h(_(t),"render",(function(){var e,o,n,a=(0,l.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=b(b({},t.props),t.state),m=(0,i.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(m=b(b({},m),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var f=(0,i.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),y=t.props.pauseOnDotsHover;f=b(b({},f),{},{clickHandler:t.changeSlide,onMouseEnter:y?t.onDotsLeave:null,onMouseOver:y?t.onDotsOver:null,onMouseLeave:y?t.onDotsLeave:null}),e=r.default.createElement(s.Dots,f)}var R=(0,i.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);R.clickHandler=t.changeSlide,t.props.arrows&&(o=r.default.createElement(u.PrevArrow,R),n=r.default.createElement(u.NextArrow,R));var _=null;t.props.vertical&&(_={height:t.state.listHeight});var w=null;!1===t.props.vertical?!0===t.props.centerMode&&(w={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(w={padding:t.props.centerPadding+" 0px"});var h=b(b({},_),w),E=t.props.touchMove,v={className:"slick-list",style:h,onClick:t.clickHandler,onMouseDown:E?t.swipeStart:null,onMouseMove:t.state.dragging&&E?t.swipeMove:null,onMouseUp:E?t.swipeEnd:null,onMouseLeave:t.state.dragging&&E?t.swipeEnd:null,onTouchStart:E?t.swipeStart:null,onTouchMove:t.state.dragging&&E?t.swipeMove:null,onTouchEnd:E?t.touchEnd:null,onTouchCancel:t.state.dragging&&E?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},O={className:a,dir:"ltr",style:t.props.style};return t.props.unslick&&(v={className:"slick-list"},O={className:a}),r.default.createElement("div",O,t.props.unslick?"":o,r.default.createElement("div",g({ref:t.listRefHandler},v),r.default.createElement(c.Track,g({ref:t.trackRefHandler},m),t.props.children)),t.props.unslick?"":n,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=b(b({},n.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var o=t.ssrInit();return t.state=b(b({},t.state),o),t}return t=v,(o=[{key:"didPropsChange",value:function(e){for(var t=!1,o=0,n=Object.keys(this.props);o<n.length;o++){var a=n[o];if(!e.hasOwnProperty(a)){t=!0;break}if("object"!==p(e[a])&&"function"!=typeof e[a]&&e[a]!==this.props[a]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&y(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),v}(r.default.Component);t.InnerSlider=E},120:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(o(609)),a=o(999),l=s(o(441)),i=s(o(327)),c=o(445);function s(e){return e&&e.__esModule?e:{default:e}}function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},u.apply(this,arguments)}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){y(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function y(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var R=(0,c.canUseDOM)()&&o(386),_=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(w,e);var t,o,s,d,_=(s=w,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=b(s);if(d){var o=b(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}(this,e)});function w(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w),y(f(t=_.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),y(f(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),y(f(t),"slickNext",(function(){return t.innerSlider.slickNext()})),y(f(t),"slickGoTo",(function(e){var o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,o)})),y(f(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),y(f(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=w,(o=[{key:"media",value:function(e,t){R.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(o,r){var n;n=0===r?(0,l.default)({minWidth:0,maxWidth:o}):(0,l.default)({minWidth:t[r-1]+1,maxWidth:o}),(0,c.canUseDOM)()&&e.media(n,(function(){e.setState({breakpoint:o})}))}));var o=(0,l.default)({minWidth:t.slice(-1)[0]});(0,c.canUseDOM)()&&this.media(o,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){R.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,o=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===o.state.breakpoint})))[0].settings?"unslick":m(m(m({},i.default),this.props),t[0].settings):m(m({},i.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=n.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var l=[],c=null,s=0;s<r.length;s+=e.rows*e.slidesPerRow){for(var d=[],p=s;p<s+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var g=[],f=p;f<p+e.slidesPerRow&&(e.variableWidth&&r[f].props.style&&(c=r[f].props.style.width),!(f>=r.length));f+=1)g.push(n.default.cloneElement(r[f],{key:100*s+10*p+f,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(n.default.createElement("div",{key:10*s+p},g))}e.variableWidth?l.push(n.default.createElement("div",{key:s,style:{width:c}},d)):l.push(n.default.createElement("div",{key:s},d))}if("unslick"===e){var b="regular slider "+(this.props.className||"");return n.default.createElement("div",{className:b},r)}return l.length<=e.slidesToShow&&(e.unslick=!0),n.default.createElement(a.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),l)}}])&&p(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),w}(n.default.Component);t.default=_},561:(e,t,o)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var n=i(o(609)),a=i(o(942)),l=o(445);function i(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},c.apply(this,arguments)}function s(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){f(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function f(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var b=function(e){var t,o,r,n,a;return r=(a=e.rtl?e.slideCount-1-e.index:e.index)<0||a>=e.slideCount,e.centerMode?(n=Math.floor(e.slidesToShow/2),o=(a-e.currentSlide)%e.slideCount==0,a>e.currentSlide-n-1&&a<=e.currentSlide+n&&(t=!0)):t=e.currentSlide<=a&&a<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":o,"slick-cloned":r,"slick-current":a===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},y=function(e,t){return e.key||t},R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(_,e);var t,o,i,p,R=(i=_,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m(i);if(p){var o=m(this).constructor;e=Reflect.construct(t,arguments,o)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return d(e)}(this,e)});function _(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_);for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return f(d(e=R.call.apply(R,[this].concat(o))),"node",null),f(d(e),"handleRef",(function(t){e.node=t})),e}return t=_,(o=[{key:"render",value:function(){var e=function(e){var t,o=[],r=[],i=[],c=n.default.Children.count(e.children),s=(0,l.lazyStartIndex)(e),u=(0,l.lazyEndIndex)(e);return n.default.Children.forEach(e.children,(function(d,m){var p,f={message:"children",index:m,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(m)>=0?d:n.default.createElement("div",null);var R=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(g(g({},e),{},{index:m})),_=p.props.className||"",w=b(g(g({},e),{},{index:m}));if(o.push(n.default.cloneElement(p,{key:"original"+y(p,m),"data-index":m,className:(0,a.default)(w,_),tabIndex:"-1","aria-hidden":!w["slick-active"],style:g(g({outline:"none"},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})),e.infinite&&!1===e.fade){var h=c-m;h<=(0,l.getPreClones)(e)&&c!==e.slidesToShow&&((t=-h)>=s&&(p=d),w=b(g(g({},e),{},{index:t})),r.push(n.default.cloneElement(p,{key:"precloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(w,_),"aria-hidden":!w["slick-active"],style:g(g({},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}}))),c!==e.slidesToShow&&((t=c+m)<u&&(p=d),w=b(g(g({},e),{},{index:t})),i.push(n.default.cloneElement(p,{key:"postcloned"+y(p,t),"data-index":t,tabIndex:"-1",className:(0,a.default)(w,_),"aria-hidden":!w["slick-active"],style:g(g({},p.props.style||{}),R),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(f)}})))}})),e.rtl?r.concat(o,i).reverse():r.concat(o,i)}(this.props),t=this.props,o={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return n.default.createElement("div",c({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},o),e)}}])&&s(t.prototype,o),Object.defineProperty(t,"prototype",{writable:!1}),_}(n.default.PureComponent);t.Track=R},445:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=c,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var r,n=(r=o(609))&&r.__esModule?r:{default:r};function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){i(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function i(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function c(e,t,o){return Math.max(t,Math.min(e,o))}var s=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=s;var u=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)e.lazyLoadedList.indexOf(n)<0&&t.push(n);return t};t.getOnDemandLazySlides=u,t.getRequiredLazySlides=function(e){for(var t=[],o=d(e),r=m(e),n=o;n<r;n++)t.push(n);return t};var d=function(e){return e.currentSlide-p(e)};t.lazyStartIndex=d;var m=function(e){return e.currentSlide+g(e)};t.lazyEndIndex=m;var p=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=p;var g=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=g;var f=function(e){return e&&e.offsetWidth||0};t.getWidth=f;var b=function(e){return e&&e.offsetHeight||0};t.getHeight=b;var y=function(e){var t,o,r,n,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,o=e.startY-e.curY,r=Math.atan2(o,t),(n=Math.round(180*r/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315?"left":n>=135&&n<=225?"right":!0===a?n>=35&&n<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var R=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=R,t.extractObject=function(e,t){var o={};return t.forEach((function(t){return o[t]=e[t]})),o},t.initializedState=function(e){var t,o=n.default.Children.count(e.children),r=e.listRef,a=Math.ceil(f(r)),i=e.trackRef&&e.trackRef.node,c=Math.ceil(f(i));if(e.vertical)t=a;else{var s=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(s*=a/100),t=Math.ceil((a-s)/e.slidesToShow)}var d=r&&b(r.querySelector('[data-index="0"]')),m=d*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=o-1-e.initialSlide);var g=e.lazyLoadedList||[],y=u(l(l({},e),{},{currentSlide:p,lazyLoadedList:g})),R={slideCount:o,slideWidth:t,listWidth:a,trackWidth:c,currentSlide:p,slideHeight:d,listHeight:m,lazyLoadedList:g=g.concat(y)};return null===e.autoplaying&&e.autoplay&&(R.autoplaying="playing"),R},t.slideHandler=function(e){var t=e.waitForAnimate,o=e.animating,r=e.fade,n=e.infinite,a=e.index,i=e.slideCount,s=e.lazyLoad,d=e.currentSlide,m=e.centerMode,p=e.slidesToScroll,g=e.slidesToShow,f=e.useCSS,b=e.lazyLoadedList;if(t&&o)return{};var y,_,w,h=a,E={},C={},B=n?a:c(a,0,i-1);if(r){if(!n&&(a<0||a>=i))return{};a<0?h=a+i:a>=i&&(h=a-i),s&&b.indexOf(h)<0&&(b=b.concat(h)),E={animating:!0,currentSlide:h,lazyLoadedList:b,targetSlide:h},C={animating:!1,targetSlide:h}}else y=h,h<0?(y=h+i,n?i%p!=0&&(y=i-i%p):y=0):!R(e)&&h>d?h=y=d:m&&h>=i?(h=n?i:i-1,y=n?0:i-1):h>=i&&(y=h-i,n?i%p!=0&&(y=0):y=i-g),!n&&h+g>=i&&(y=i-g),_=P(l(l({},e),{},{slideIndex:h})),w=P(l(l({},e),{},{slideIndex:y})),n||(_===w&&(h=y),_=w),s&&(b=b.concat(u(l(l({},e),{},{currentSlide:h})))),f?(E={animating:!0,currentSlide:y,trackStyle:O(l(l({},e),{},{left:_})),lazyLoadedList:b,targetSlide:B},C={animating:!1,currentSlide:y,trackStyle:v(l(l({},e),{},{left:w})),swipeLeft:null,targetSlide:B}):E={currentSlide:y,trackStyle:v(l(l({},e),{},{left:w})),lazyLoadedList:b,targetSlide:B};return{state:E,nextState:C}},t.changeSlide=function(e,t){var o,r,n,a,i=e.slidesToScroll,c=e.slidesToShow,s=e.slideCount,u=e.currentSlide,d=e.targetSlide,m=e.lazyLoad,p=e.infinite;if(o=s%i!=0?0:(s-u)%i,"previous"===t.message)a=u-(n=0===o?i:c-o),m&&!p&&(a=-1==(r=u-n)?s-1:r),p||(a=d-i);else if("next"===t.message)a=u+(n=0===o?i:o),m&&!p&&(a=(u+i)%s+o),p||(a=d+i);else if("dots"===t.message)a=t.index*t.slidesToScroll;else if("children"===t.message){if(a=t.index,p){var g=S(l(l({},e),{},{targetSlide:a}));a>t.currentSlide&&"left"===g?a-=s:a<t.currentSlide&&"right"===g&&(a+=s)}}else"index"===t.message&&(a=Number(t.index));return a},t.keyHandler=function(e,t,o){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?o?"next":"previous":39===e.keyCode?o?"previous":"next":""},t.swipeStart=function(e,t,o){return"IMG"===e.target.tagName&&s(e),!t||!o&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var o=t.scrolling,r=t.animating,n=t.vertical,a=t.swipeToSlide,i=t.verticalSwiping,c=t.rtl,u=t.currentSlide,d=t.edgeFriction,m=t.edgeDragged,p=t.onEdge,g=t.swiped,f=t.swiping,b=t.slideCount,_=t.slidesToScroll,w=t.infinite,h=t.touchObject,E=t.swipeEvent,O=t.listHeight,C=t.listWidth;if(!o){if(r)return s(e);n&&a&&i&&s(e);var B,A={},S=P(t);h.curX=e.touches?e.touches[0].pageX:e.clientX,h.curY=e.touches?e.touches[0].pageY:e.clientY,h.swipeLength=Math.round(Math.sqrt(Math.pow(h.curX-h.startX,2)));var W=Math.round(Math.sqrt(Math.pow(h.curY-h.startY,2)));if(!i&&!f&&W>10)return{scrolling:!0};i&&(h.swipeLength=W);var k=(c?-1:1)*(h.curX>h.startX?1:-1);i&&(k=h.curY>h.startY?1:-1);var T=Math.ceil(b/_),x=y(t.touchObject,i),L=h.swipeLength;return w||(0===u&&("right"===x||"down"===x)||u+1>=T&&("left"===x||"up"===x)||!R(t)&&("left"===x||"up"===x))&&(L=h.swipeLength*d,!1===m&&p&&(p(x),A.edgeDragged=!0)),!g&&E&&(E(x),A.swiped=!0),B=n?S+L*(O/C)*k:c?S-L*k:S+L*k,i&&(B=S+L*k),A=l(l({},A),{},{touchObject:h,swipeLeft:B,trackStyle:v(l(l({},t),{},{left:B}))}),Math.abs(h.curX-h.startX)<.8*Math.abs(h.curY-h.startY)||h.swipeLength>10&&(A.swiping=!0,s(e)),A}},t.swipeEnd=function(e,t){var o=t.dragging,r=t.swipe,n=t.touchObject,a=t.listWidth,i=t.touchThreshold,c=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,m=t.scrolling,p=t.onSwipe,g=t.targetSlide,f=t.currentSlide,b=t.infinite;if(!o)return r&&s(e),{};var R=c?u/i:a/i,_=y(n,c),E={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(m)return E;if(!n.swipeLength)return E;if(n.swipeLength>R){var v,C;s(e),p&&p(_);var B=b?f:g;switch(_){case"left":case"up":C=B+h(t),v=d?w(t,C):C,E.currentDirection=0;break;case"right":case"down":C=B-h(t),v=d?w(t,C):C,E.currentDirection=1;break;default:v=B}E.triggerSlideHandler=v}else{var A=P(t);E.trackStyle=O(l(l({},t),{},{left:A}))}return E};var _=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,o=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,n=[];o<t;)n.push(o),o=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return n};t.getNavigableIndexes=_;var w=function(e,t){var o=_(e),r=0;if(t>o[o.length-1])t=o[o.length-1];else for(var n in o){if(t<o[n]){t=r;break}r=o[n]}return t};t.checkNavigable=w;var h=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var o,r=e.listRef,n=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(n).every((function(r){if(e.vertical){if(r.offsetTop+b(r)/2>-1*e.swipeLeft)return o=r,!1}else if(r.offsetLeft-t+f(r)/2>-1*e.swipeLeft)return o=r,!1;return!0})),!o)return 0;var a=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(o.dataset.index-a)||1}return e.slidesToScroll};t.getSlideCount=h;var E=function(e,t){return t.reduce((function(t,o){return t&&e.hasOwnProperty(o)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=E;var v=function(e){var t,o;E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?o=r*e.slideHeight:t=A(e)*e.slideWidth;var n={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var a=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",c=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";n=l(l({},n),{},{WebkitTransform:a,transform:i,msTransform:c})}else e.vertical?n.top=e.left:n.left=e.left;return e.fade&&(n={opacity:1}),t&&(n.width=t),o&&(n.height=o),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?n.marginTop=e.left+"px":n.marginLeft=e.left+"px"),n};t.getTrackCSS=v;var O=function(e){E(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=v(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=O;var P=function(e){if(e.unslick)return 0;E(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,o,r=e.slideIndex,n=e.trackRef,a=e.infinite,l=e.centerMode,i=e.slideCount,c=e.slidesToShow,s=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,m=e.variableWidth,p=e.slideHeight,g=e.fade,f=e.vertical;if(g||1===e.slideCount)return 0;var b=0;if(a?(b=-C(e),i%s!=0&&r+s>i&&(b=-(r>i?c-(r-i):i%s)),l&&(b+=parseInt(c/2))):(i%s!=0&&r+s>i&&(b=c-i%s),l&&(b=parseInt(c/2))),t=f?r*p*-1+b*p:r*u*-1+b*u,!0===m){var y,R=n&&n.node;if(y=r+C(e),t=(o=R&&R.childNodes[y])?-1*o.offsetLeft:0,!0===l){y=a?r+C(e):r,o=R&&R.children[y],t=0;for(var _=0;_<y;_++)t-=R&&R.children[_]&&R.children[_].offsetWidth;t-=parseInt(e.centerPadding),t+=o&&(d-o.offsetWidth)/2}}return t};t.getTrackLeft=P;var C=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=C;var B=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=B;var A=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+B(e)};t.getTotalSlides=A;var S=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+W(e)?"left":"right":e.targetSlide<e.currentSlide-k(e)?"right":"left"};t.siblingDirection=S;var W=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r&&t%2==0&&(a+=1),a}return r?0:t-1};t.slidesOnRight=W;var k=function(e){var t=e.slidesToShow,o=e.centerMode,r=e.rtl,n=e.centerPadding;if(o){var a=(t-1)/2+1;return parseInt(n)>0&&(a+=1),r||t%2!=0||(a+=1),a}return r?t-1:0};t.slidesOnLeft=k,t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},591:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>v});var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var o=-1;return e.some((function(e,r){return e[0]===t&&(o=r,!0)})),o}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var o=e(this.__entries__,t),r=this.__entries__[o];return r&&r[1]},t.prototype.set=function(t,o){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=o:this.__entries__.push([t,o])},t.prototype.delete=function(t){var o=this.__entries__,r=e(o,t);~r&&o.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var o=0,r=this.__entries__;o<r.length;o++){var n=r[o];e.call(t,n[1],n[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,a=void 0!==o.g&&o.g.Math===Math?o.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),l="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(a):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},i=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,s=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var o=!1,r=!1,n=0;function a(){o&&(o=!1,e()),r&&c()}function i(){l(a)}function c(){var e=Date.now();if(o){if(e-n<2)return;r=!0}else o=!0,r=!1,setTimeout(i,t);n=e}return c}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,o=t.indexOf(e);~o&&t.splice(o,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,o=void 0===t?"":t;i.some((function(e){return!!~o.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var n=r[o];Object.defineProperty(e,n,{value:t[n],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||a},m=y(0,0,0,0);function p(e){return parseFloat(e)||0}function g(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return t.reduce((function(t,o){return t+p(e["border-"+o+"-width"])}),0)}var f="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return n?f(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):function(e){var t=e.clientWidth,o=e.clientHeight;if(!t&&!o)return m;var r=d(e).getComputedStyle(e),n=function(e){for(var t={},o=0,r=["top","right","bottom","left"];o<r.length;o++){var n=r[o],a=e["padding-"+n];t[n]=p(a)}return t}(r),a=n.left+n.right,l=n.top+n.bottom,i=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(i+a)!==t&&(i-=g(r,"left","right")+a),Math.round(c+l)!==o&&(c-=g(r,"top","bottom")+l)),!function(e){return e===d(e).document.documentElement}(e)){var s=Math.round(i+a)-t,u=Math.round(c+l)-o;1!==Math.abs(s)&&(i-=s),1!==Math.abs(u)&&(c-=u)}return y(n.left,n.top,i,c)}(e):m}function y(e,t,o,r){return{x:e,y:t,width:o,height:r}}var R=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),_=function(e,t){var o,r,n,a,l,i,c,s=(r=(o=t).x,n=o.y,a=o.width,l=o.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(i.prototype),u(c,{x:r,y:n,width:a,height:l,top:n,right:r+a,bottom:l+n,left:r}),c);u(this,{target:e,contentRect:s})},w=function(){function e(e,t,o){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=o}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new R(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new _(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),h="undefined"!=typeof WeakMap?new WeakMap:new r,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var o=s.getInstance(),r=new w(t,o,this);h.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=h.get(this))[e].apply(t,arguments)}}));const v=void 0!==a.ResizeObserver?a.ResizeObserver:E},833:e=>{e.exports=function(e,t,o,r){var n=o?o.call(r,e,t):void 0;if(void 0!==n)return!!n;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),l=Object.keys(t);if(a.length!==l.length)return!1;for(var i=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var s=a[c];if(!i(s))return!1;var u=e[s],d=t[s];if(!1===(n=o?o.call(r,u,d,s):void 0)||void 0===n&&u!==d)return!1}return!0}},28:e=>{e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},609:e=>{"use strict";e.exports=window.React},942:(e,t)=>{var o;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=l(e,a(o)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var o in e)r.call(e,o)&&e[o]&&(t=l(t,o));return t}function l(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0,(()=>{"use strict";var e={};o.r(e),o.d(e,{category:()=>fi,metadata:()=>mi,name:()=>gi,settings:()=>wi});var t={};o.r(t),o.d(t,{category:()=>Zi,metadata:()=>Qi,name:()=>Yi,settings:()=>oc});var r={};o.r(r),o.d(r,{category:()=>bc,metadata:()=>pc,name:()=>fc,settings:()=>hc});var n={};o.r(n),o.d(n,{category:()=>Kc,metadata:()=>Dc,name:()=>Gc,settings:()=>Jc});var a={};o.r(a),o.d(a,{category:()=>_s,metadata:()=>gs,name:()=>bs,settings:()=>vs});var l={};o.r(l),o.d(l,{category:()=>Zs,metadata:()=>Qs,name:()=>Ys,settings:()=>ou});var i={};o.r(i),o.d(i,{category:()=>Cu,metadata:()=>vu,name:()=>Pu,settings:()=>Tu});var c={};o.r(c),o.d(c,{category:()=>td,metadata:()=>Xu,name:()=>ed,settings:()=>id});var s={};o.r(s),o.d(s,{category:()=>vd,metadata:()=>Rd,name:()=>wd,settings:()=>Bd});var u={};o.r(u),o.d(u,{category:()=>Jd,metadata:()=>Yd,name:()=>Zd,settings:()=>om});var d={};o.r(d),o.d(d,{category:()=>Am,metadata:()=>Pm,name:()=>Bm,settings:()=>Lm});var m={};o.r(m),o.d(m,{category:()=>Zm,metadata:()=>Km,name:()=>Qm,settings:()=>ep});var p={};o.r(p),o.d(p,{category:()=>Op,metadata:()=>hp,name:()=>vp,settings:()=>Wp});var g={};o.r(g),o.d(g,{category:()=>eg,metadata:()=>Jp,name:()=>$p,settings:()=>lg});var f={};o.r(f),o.d(f,{category:()=>Og,metadata:()=>hg,name:()=>vg,settings:()=>Wg});var b={};o.r(b),o.d(b,{category:()=>Gg,metadata:()=>Hg,name:()=>qg,settings:()=>Yg});var y={};o.r(y),o.d(y,{category:()=>tf,metadata:()=>Xg,name:()=>ef,settings:()=>lf});var R={};o.r(R),o.d(R,{category:()=>vf,metadata:()=>Rf,name:()=>wf,settings:()=>Bf});var _={};o.r(_),o.d(_,{category:()=>Hf,metadata:()=>If,name:()=>Ff,settings:()=>Uf});var w={};o.r(w),o.d(w,{category:()=>lb,metadata:()=>rb,name:()=>ab,settings:()=>db});var h={};o.r(h),o.d(h,{category:()=>Pb,metadata:()=>Eb,name:()=>Ob,settings:()=>Wb});var E={};o.r(E),o.d(E,{category:()=>Gb,metadata:()=>Hb,name:()=>qb,settings:()=>Yb});var v={};o.r(v),o.d(v,{category:()=>sy,metadata:()=>ly,name:()=>cy,settings:()=>gy});var O={};o.r(O),o.d(O,{category:()=>Ay,metadata:()=>Py,name:()=>By,settings:()=>xy});var P={};o.r(P),o.d(P,{category:()=>oR,metadata:()=>$y,name:()=>tR,settings:()=>iR});var C={};o.r(C),o.d(C,{category:()=>vR,metadata:()=>RR,name:()=>wR,settings:()=>BR});var B={};o.r(B),o.d(B,{category:()=>HR,metadata:()=>IR,name:()=>FR,settings:()=>UR});var A={};o.r(A),o.d(A,{category:()=>l_,metadata:()=>r_,name:()=>a_,settings:()=>c_});var S={};o.r(S),o.d(S,{category:()=>v_,metadata:()=>w_,name:()=>E_,settings:()=>A_});var W={};o.r(W),o.d(W,{category:()=>q_,metadata:()=>F_,name:()=>D_,settings:()=>V_});var k={};o.r(k),o.d(k,{category:()=>Rw,metadata:()=>fw,name:()=>yw,settings:()=>ww});var T={};o.r(T),o.d(T,{category:()=>Gw,metadata:()=>Mw,name:()=>Hw,settings:()=>Vw});var x={};o.r(x),o.d(x,{category:()=>ch,metadata:()=>ah,name:()=>ih,settings:()=>gh});var L={};o.r(L),o.d(L,{category:()=>kh,metadata:()=>Ah,name:()=>Wh,settings:()=>jh});var N={};o.r(N),o.d(N,{category:()=>Jh,metadata:()=>Vh,name:()=>Zh,settings:()=>rE});var z={};o.r(z),o.d(z,{category:()=>yE,metadata:()=>gE,name:()=>bE,settings:()=>vE});var j={};o.r(j),o.d(j,{category:()=>jE,metadata:()=>LE,name:()=>zE,settings:()=>qE});var I={};o.r(I),o.d(I,{category:()=>rv,metadata:()=>ev,name:()=>ov,settings:()=>sv});var M={};o.r(M),o.d(M,{category:()=>vv,metadata:()=>wv,name:()=>Ev,settings:()=>Sv});var F={};o.r(F),o.d(F,{category:()=>Kv,metadata:()=>Fv,name:()=>Dv,settings:()=>Yv});var H={};o.r(H),o.d(H,{category:()=>dO,metadata:()=>lO,name:()=>cO,settings:()=>fO});var D={};o.r(D),o.d(D,{category:()=>kO,metadata:()=>CO,name:()=>AO,settings:()=>NO});var q={};o.r(q),o.d(q,{category:()=>JO,metadata:()=>UO,name:()=>VO,settings:()=>tP});var G={};o.r(G),o.d(G,{category:()=>fP,metadata:()=>mP,name:()=>gP,settings:()=>hP});var K={};o.r(K),o.d(K,{category:()=>FP,metadata:()=>NP,name:()=>jP,settings:()=>GP});var U={};o.r(U),o.d(U,{category:()=>lC,metadata:()=>tC,name:()=>rC,settings:()=>uC});var Q={};o.r(Q),o.d(Q,{category:()=>CC,metadata:()=>hC,name:()=>vC,settings:()=>WC});var V={};o.r(V),o.d(V,{category:()=>UC,metadata:()=>HC,name:()=>qC,settings:()=>ZC});var Y={};o.r(Y),o.d(Y,{category:()=>mB,metadata:()=>iB,name:()=>sB,settings:()=>bB});var Z={};o.r(Z),o.d(Z,{category:()=>TB,metadata:()=>BB,name:()=>SB,settings:()=>zB});var J={};o.r(J),o.d(J,{category:()=>XB,metadata:()=>QB,name:()=>YB,settings:()=>oA});var X={};o.r(X),o.d(X,{category:()=>RA,metadata:()=>pA,name:()=>fA,settings:()=>EA});var $={};o.r($),o.d($,{category:()=>IA,metadata:()=>xA,name:()=>NA,settings:()=>DA});var ee={};o.r(ee),o.d(ee,{category:()=>nS,metadata:()=>$A,name:()=>tS,settings:()=>cS});var te={};o.r(te),o.d(te,{category:()=>OS,metadata:()=>_S,name:()=>hS,settings:()=>AS});var oe={};o.r(oe),o.d(oe,{category:()=>GS,metadata:()=>MS,name:()=>HS,settings:()=>VS});var re={};o.r(re),o.d(re,{category:()=>uW,metadata:()=>aW,name:()=>iW,settings:()=>gW});var ne={};o.r(ne),o.d(ne,{category:()=>WW,metadata:()=>PW,name:()=>BW,settings:()=>LW});var ae={};o.r(ae),o.d(ae,{category:()=>ZW,metadata:()=>KW,name:()=>QW,settings:()=>ek});var le={};o.r(le),o.d(le,{category:()=>gk,metadata:()=>dk,name:()=>pk,settings:()=>_k});var ie={};o.r(ie),o.d(ie,{category:()=>xk,metadata:()=>wk,name:()=>Tk,settings:()=>Ik});var ce={};o.r(ce),o.d(ce,{category:()=>nT,metadata:()=>Mk,name:()=>rT,settings:()=>sT});const se=window.wp.blocks;var ue=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"20",height:"20",viewBox:"0 0 40 40"},React.createElement("image",{id:"woolentor-logo",width:"40",height:"40",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"}));const de=window.wp.i18n,me=window.wp.components;function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var ge;(0,se.setCategories)([{slug:"woolentor-blocks",title:(0,de.__)("ShopLentor","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-single-product",title:(0,de.__)("ShopLentor Single Product","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-shop",title:(0,de.__)("ShopLentor Shop","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-cart",title:(0,de.__)("ShopLentor Cart","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-checkout",title:(0,de.__)("ShopLentor Checkout","woolentor"),icon:React.createElement(me.Icon,{icon:ue})},{slug:"woolentor-myaccount",title:(0,de.__)("ShopLentor My Account","woolentor"),icon:React.createElement(me.Icon,{icon:ue})}].concat(function(e){if(Array.isArray(e))return pe(e)}(ge=(0,se.getCategories)().filter((function(e){return"woolentor-blocks"!==e.slug})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(ge)||function(e,t){if(e){if("string"==typeof e)return pe(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?pe(e,t):void 0}}(ge)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()));var fe=function(e,t,o){return"function"==typeof t?t(e):e+o},be=function(e){var t={desktop:[],tablet:[],mobile:[]},o=""!==(null==e?void 0:e.type)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";}"):"";return!e.width||void 0===e.width.desktop&&void 0===e.width.tablet&&void 0===e.width.mobile?o=""!==(null==e?void 0:e.type)&&void 0!==(null==e?void 0:e.width)?"{border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid","; border-width: ").concat(ye(e.width),";}"):"":t=function(e,t){return e.desktop&&t.desktop.push(e.desktop),e.laptop&&t.laptop.push(e.laptop),e.tablet&&t.tablet.push(e.tablet),e.mobile&&t.mobile.push(e.mobile),t}(function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"undefined",r={};return e&&e.desktop&&""!==fe(e.desktop,o,e.unit||"")&&(r.desktop=t.replace(new RegExp("{{key}}","g"),fe(e.desktop,o,e.unit||""))),e&&e.laptop&&""!==fe(e.laptop,o,e.unit||"")&&(r.laptop=t.replace(new RegExp("{{key}}","g"),fe(e.laptop,o,e.unit||""))),e&&e.tablet&&""!==fe(e.tablet,o,e.unit||"")&&(r.tablet=t.replace(new RegExp("{{key}}","g"),fe(e.tablet,o,e.unit||""))),e&&e.mobile&&""!==fe(e.mobile,o,e.unit||"")&&(r.mobile=t.replace(new RegExp("{{key}}","g"),fe(e.mobile,o,e.unit||""))),r}(e.width,"border-width:{{key}}",ye),t),{desktop:t.desktop,tablet:t.tablet,mobile:t.mobile,simple:o}},ye=function(e){var t=e.unit?e.unit:"px";return""!=e.top||""!=e.right||""!=e.bottom||""!=e.left?(e.top||0)+t+" "+(e.right||0)+t+" "+(e.bottom||0)+t+" "+(e.left||0)+t:""};function Re(e){return Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(e)}var _e=function(e,t,o){return e.replace(new RegExp(t,"g"),o)},we=function(e){return"object"==Re(e)&&0!=Object.keys(e).length},he=function(e,t){return e.replace(new RegExp("{{WOOLENTOR_WRAPPER}}","g"),".woolentorblock-"+t)},Ee=function(e,t){var o="";return t.forEach((function(e){o+=e+";"})),e+"{"+o+"}"},ve=function(e,t){var o="";return t.forEach((function(t){o+=e+t})),o},Oe=function(e,t,o,r){if(r="object"!=Re(r)?r:Pe(r).data,"string"==typeof e){if(e){if(r){var n=he(e,t);return"boolean"==typeof r?[n]:-1==n.indexOf("{{")&&n.indexOf("{")<0?[n+r]:[_e(n,"{{"+o+"}}",r)]}return[]}return[he(r,t)]}var a=[];return e.forEach((function(e){a.push(_e(he(e,t),"{{"+o+"}}",r))})),a},Pe=function(e){return e.imageUrl||"background"===e.type?{data:(t=e,o="{",null!=t&&t.color&&(o+="background-color:"+t.color+";"),t.imageUrl&&(o+="background-image:url("+t.imageUrl+");"),t.position&&(o+="background-position:"+t.position+";"),t.attachment&&(o+="background-attachment:"+t.attachment+";"),t.repeat&&(o+="background-repeat:"+t.repeat+";"),t.size&&(o+="background-size:"+t.size+";"),"{}"!=(o+="}")?o:{}),action:"append"}:void 0!==e.type||void 0!==e.width||void 0!==e.color?{data:be(e),action:"append"}:void 0!==e.top||void 0!==e.left||void 0!==e.right||void 0!==e.bottom?{data:ye(e),action:"replace"}:{data:"",action:"append"};var t,o},Ce=function(e,t){var o=!0;return t.hasOwnProperty("dependency")&&t.dependency.forEach((function(t){var r=o;if("=="==(t=t[0]).condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]==t.value;else{var n=!1;t.value.forEach((function(o){e[t.key]==o&&(n=!0)})),o=!!n}else if("!="==t.condition)if("string"==typeof t.value||"number"==typeof t.value||"boolean"==typeof t.value)o=e[t.key]!=t.value;else{var a=!1;t.value.forEach((function(o){e[t.key]!=o&&(a=!0)})),a&&(o=!0)}o=0!=r&&o})),o};function Be(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(o){var n="",a=[],l=[],i=[],c=[],s=[];return Object.keys(e).forEach((function(n){var u="string"==typeof t?wp.blocks.getBlockType(t).attributes:t;if(u[n]&&u[n].hasOwnProperty("style")){var d=u[n].style;if(d.hasOwnProperty("selector")){var m=d.selector;if(Ce(e,d))if("object"==Re(e[n])){var p=!1,g="";if(e[n].desktop&&(p=!0,g="object"==Re(e[n].desktop)?Pe(e[n].desktop).data:e[n].desktop+(e[n].unit||""),a=a.concat(Oe(m,o,n,g))),e[n].laptop&&(p=!0,g="object"==Re(e[n].laptop)?Pe(e[n].laptop).data:e[n].laptop+(e[n].unit||""),l=l.concat(Oe(m,o,n,g))),e[n].tablet&&(p=!0,g="object"==Re(e[n].tablet)?Pe(e[n].tablet).data:e[n].tablet+(e[n].unit||""),i=i.concat(Oe(m,o,n,g))),e[n].mobile&&(p=!0,g="object"==Re(e[n].mobile)?Pe(e[n].mobile).data:e[n].mobile+(e[n].unit||""),c=c.concat(Oe(m,o,n,g))),!p){var f=Pe(e[n]),b=he(m,o);"object"==Re(f.data)?0!=Object.keys(f.data).length&&(f.data.background&&s.push(b+f.data.background),we(f.data.desktop)&&a.push(Ee(b,f.data.desktop)),we(f.data.laptop)&&l.push(Ee(b,f.data.laptop)),we(f.data.tablet)&&i.push(Ee(b,f.data.tablet)),we(f.data.mobile)&&c.push(Ee(b,f.data.mobile)),f.data.simple&&s.push(b+f.data.simple),f.data.font&&a.unshift(f.data.font),f.data.shape&&(f.data.shape.forEach((function(e){s.push(b+e)})),we(f.data.data.desktop)&&a.push(ve(b,f.data.data.desktop)),we(f.data.data.laptop)&&l.push(ve(b,f.data.data.laptop)),we(f.data.data.tablet)&&i.push(ve(b,f.data.data.tablet)),we(f.data.data.mobile)&&c.push(ve(b,f.data.data.mobile)))):f.data&&-1==f.data.indexOf("{{")&&("append"==f.action?s.push(b+f.data):s.push(Oe(m,o,n,f.data)))}}else"hideDesktop"==n?r&&(s=s.concat("@media (min-width: 1200px) {"+Oe(m,o,n,e[n])+"}")):"hideLaptop"==n?r&&(s=s.concat("@media only screen and (max-width: 1199px) and (min-width: 991px) {"+Oe(m,o,n,e[n])+"}")):"hideTablet"==n?r&&(s=s.concat("@media only screen and (max-width: 992px) and (min-width: 767px) {"+Oe(m,o,n,e[n])+"}")):"hideMobile"==n?r&&(s=s.concat("@media (max-width: 768px) {"+Oe(m,o,n,e[n])+"}")):e[n]&&(s=s.concat(Oe(m,o,n,e[n])))}}})),a.length>0&&(n+=a.join("")),l.length>0&&(n+="@media (min-width: 992px) and (max-width: 1200px) {"+l.join("")+"}"),i.length>0&&(n+="@media (min-width: 768px) and (max-width: 991px) {"+i.join("")+"}"),c.length>0&&(n+="@media (max-width: 767px) {"+c.join("")+"}"),s.length>0&&(n+=s.join("")),r?n:void 0}}function Ae(e,t,o){var r=Be(e,t,o,!0);return wp.element.renderToString(r)?React.createElement("style",{type:"text/css"},r):null}var Se="";function We(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return 1==t&&(Se="",t=!1),e.map((function(e){var t=e.attributes,o=e.name;"woolentor"===o.split("/")[0]&&t.blockUniqId&&(Se+=Be(t,o,t.blockUniqId,!0)),e.innerBlocks&&e.innerBlocks.length>0&&We(e.innerBlocks)})),Se}function ke(e){e.forEach((function(e){var t;-1!=e.name.indexOf("core/block")&&(t=e.attributes.ref,wp.apiFetch({path:"/woolentor/v1/get_post",method:"POST",data:{post_id:t}}).then((function(e){if(e.success){var t=We(wp.blocks.parse(e.data),!0);t.css&&wp.apiFetch({path:"/woolentor/v1/appened_css",method:"POST",data:{inner_css:t.css,post_id:select("core/block-editor").getCurrentPostId()}}).then((function(e){e.success}))}}))),e.innerBlocks&&e.innerBlocks.length>0&&ke(e.innerBlocks)}))}function Te(){var e=wp.data.select("core/block-editor"),t=wp.data.select("core/editor"),o=wp.data.select("core/edit-site"),r=e.getBlocks(),n=t.getCurrentPostId,a=function(e){var t=!1;return function e(o){o.forEach((function(o){-1!=o.name.indexOf("woolentor/")&&(t=!0),o.innerBlocks&&o.innerBlocks.length>0&&e(o.innerBlocks)}))}(e),t}(r),l=null===n()?o.getPage().context.templateSlug:n(),i=We(r,!0);ke(r),function(e,t,o){return wp.apiFetch({path:"/woolentor/v1/save_css",method:"POST",data:{block_css:t,post_id:e,has_block:o}}).then((function(e){return e}))}(l,i,a).then((function(e){}))}var xe=React.createElement("svg",{width:"700",height:"700",version:"1.1",viewBox:"0 0 700 700",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink"},React.createElement("g",null,React.createElement("path",{d:"m402.78 250.9c-17.734-17.734-41.406-27.574-66.605-27.574s-48.871 9.7578-66.605 27.574c-17.734 17.816-27.574 41.406-27.574 66.605 0 25.199 9.7578 48.871 27.574 66.605 17.734 17.734 41.406 27.574 66.605 27.574s48.871-9.7578 66.605-27.574c36.652-36.738 36.652-96.473 0-133.21zm-8.9961 124.21c-15.359 15.359-35.805 23.844-57.613 23.844-21.805 0-42.254-8.4844-57.613-23.844-15.359-15.359-23.844-35.805-23.844-57.613 0-21.805 8.4844-42.254 23.844-57.613 15.359-15.359 35.805-23.844 57.613-23.844 21.805 0 42.254 8.4844 57.613 23.844 31.734 31.738 31.734 83.41 0 115.23z"}),React.createElement("path",{d:"m558.22 492.12-78.398-78.398c-7.2969-7.2969-17.395-10.777-27.574-9.5859l-11.285-11.285c36.316-50.484 31.902-121.33-13.406-166.73-50.398-50.398-132.36-50.398-182.76 0-50.398 50.398-50.398 132.36 0 182.76 25.199 25.199 58.289 37.758 91.383 37.758 26.473 0 52.945-8.2305 75.344-24.352l11.285 11.285c-1.1875 10.184 2.2891 20.277 9.5859 27.492l78.398 78.484c6.5352 6.5352 15.102 9.8438 23.758 9.8438 8.5703 0 17.223-3.3086 23.758-9.8438 6.3633-6.3633 9.8438-14.762 9.8438-23.758-0.085938-8.9102-3.6523-17.398-9.9297-23.676zm-304.52-92.23c-45.395-45.395-45.395-119.38 0-164.78 22.738-22.738 52.52-34.109 82.387-34.109 29.867 0 59.648 11.371 82.387 34.109 45.395 45.395 45.395 119.38 0 164.78-45.391 45.395-119.29 45.395-164.77 0zm295.53 130.67c-8.1445 8.1445-21.383 8.1445-29.441 0l-78.398-78.398c-5.0078-5.0078-7.1289-12.305-5.5156-19.344 0.50781-2.1211-0.16797-4.3281-1.6953-5.8555l-12.473-12.473c0.085937-0.085937 0.16797-0.25391 0.25391-0.42578 1.8672-1.6953 3.9023-3.3086 5.6836-5.1758 1.8672-1.8672 3.4805-3.8164 5.1758-5.7695 0.085938-0.085938 0.25391-0.085938 0.33984-0.16797l12.473 12.473c1.5273 1.5273 3.7344 2.207 5.8555 1.6953 7.043-1.6133 14.254 0.50781 19.344 5.5156l78.398 78.484c3.9023 3.9023 6.1094 9.1641 6.1094 14.762 0 5.5156-2.2031 10.777-6.1094 14.68z"}),React.createElement("path",{d:"m373.08 280.51c-2.4609-2.4609-6.5352-2.4609-8.9922 0l-27.914 27.914-27.914-27.914c-2.4609-2.4609-6.5352-2.4609-8.9922 0-2.4609 2.4609-2.4609 6.5352 0 8.9922l27.914 28-27.914 27.914c-2.4609 2.4609-2.4609 6.5352 0 8.9922 1.2734 1.2734 2.8867 1.8672 4.4961 1.8672 1.6133 0 3.2227-0.59375 4.4961-1.8672l27.914-27.914 27.914 27.914c1.2734 1.2734 2.8867 1.8672 4.4961 1.8672 1.6133 0 3.2227-0.59375 4.4961-1.8672 2.4609-2.4609 2.4609-6.5352 0-8.9922l-27.914-27.914 27.914-28c2.4609-2.457 2.4609-6.4453 0-8.9922z"}),React.createElement("path",{d:"m272.96 61.09h160.79c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4766-2.8867-6.3633-6.3633-6.3633h-160.79c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633z"}),React.createElement("path",{d:"m433.83 82.047h-160.96c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h160.96c3.4805 0 6.3633-2.8867 6.3633-6.3633 0.003906-3.4766-2.8828-6.3633-6.3594-6.3633z"}),React.createElement("path",{d:"m433.83 116.07h-84.508c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h84.508c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4805-2.8867-6.3633-6.3633-6.3633z"}),React.createElement("path",{d:"m433.83 150.01h-84.508c-3.4805 0-6.3633 2.8867-6.3633 6.3633 0 3.4805 2.8867 6.3633 6.3633 6.3633h84.508c3.4805 0 6.3633-2.8867 6.3633-6.3633s-2.8867-6.3633-6.3633-6.3633z"}),React.createElement("path",{d:"m454.02 503.49h-275.5v-21.043h241.73c3.4805 0 6.3633-2.8867 6.3633-6.3633 0-3.4805-2.8867-6.3633-6.3633-6.3633h-275.59v-359.59h80.438c3.4805 0 6.3633-2.8867 6.3633-6.3633l-0.003906-80.438h243.68v368.24c0 3.4805 2.8867 6.3633 6.3633 6.3633 3.4805 0 6.3633-2.8867 6.3633-6.3633l0.003906-334.47h21.043v365.1c0 3.4805 2.8867 6.3633 6.3633 6.3633 3.4805 0 6.3633-2.8867 6.3633-6.3633v-371.46c0-3.4805-2.8867-6.3633-6.3633-6.3633h-27.406v-27.406c0-3.4805-2.8867-6.3633-6.3633-6.3633h-256.33c-1.6953 0-3.3086 0.67969-4.4961 1.8672l-86.887 86.801c-1.1875 1.1875-1.8672 2.8008-1.8672 4.4961v372.23c0 3.4805 2.8867 6.3633 6.3633 6.3633h27.406v27.406c0 3.4805 2.8867 6.3633 6.3633 6.3633h281.87c3.4805 0 6.3633-2.8867 6.3633-6.3633 0.003907-3.4805-2.7969-6.2773-6.2773-6.2773zm-300.36-406.09 65.078-65.078v65.078z"}))),Le=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 5q-.425 0-.713-.288Q4 4.425 4 4t.287-.713Q4.575 3 5 3h14q.425 0 .712.287Q20 3.575 20 4t-.288.712Q19.425 5 19 5Zm7 16q-.425 0-.712-.288Q11 20.425 11 20v-9.2l-1.925 1.925Q8.8 13 8.4 13t-.7-.3q-.275-.275-.275-.7q0-.425.275-.7l3.6-3.6q.15-.15.325-.212q.175-.063.375-.063t.375.063q.175.062.325.212l3.625 3.625q.275.275.275.675t-.3.7q-.275.275-.7.275q-.425 0-.7-.275L13 10.8V20q0 .425-.287.712Q12.425 21 12 21Z"})),Ne=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"})),ze=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"}))),je=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.425 0-.713-.288Q4 20.425 4 20t.287-.712Q4.575 19 5 19h14q.425 0 .712.288q.288.287.288.712t-.288.712Q19.425 21 19 21Zm7-4.425q-.2 0-.375-.063q-.175-.062-.325-.212l-3.625-3.625Q7.4 12.4 7.4 12t.3-.7q.275-.275.7-.275q.425 0 .7.275l1.9 1.9V4q0-.425.288-.713Q11.575 3 12 3t.713.287Q13 3.575 13 4v9.2l1.925-1.925Q15.2 11 15.6 11t.7.3q.275.275.275.7q0 .425-.275.7l-3.6 3.6q-.15.15-.325.212q-.175.063-.375.063Z"})));function Ie(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return void 0!==e&&""!=e?"".concat(t,": ").concat(e).concat(o,";"):""}function Me(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=e||{},n="";if(""!=r.top||""!=r.right||""!=r.bottom||""!=r.left){var a=r.unit?r.unit:"px";n=(r.top||0)+a+" "+(r.right||0)+a+" "+(r.bottom||0)+a+" "+(r.left||0)+a}var l=Ie(n,t,o);return""!=l?l:""}function Fe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e||{},r="";return o.imageUrl&&(r+=Ie("url("+o.imageUrl+")","background-image",t)),o.position&&(r+=Ie(o.position,"background-position",t)),o.attachment&&(r+=Ie(o.attachment,"background-attachment",t)),o.repeat&&(r+=Ie(o.repeat,"background-repeat",t)),o.size&&(r+=Ie(o.size,"background-size",t)),r}function He(e){if(void 0!==e&&void 0!==(null==e?void 0:e.type)&&""!=(null==e?void 0:e.type)){var t=be(e),o="";return o="border-color: ".concat(e.color?e.color:"#f56640","; border-style: ").concat(e.type?e.type:"solid",";"),null!=t&&t.desktop?o+=t.desktop:o=null==t?void 0:t.simple.replace(/[{}]/g,""),o}return""}const De=window.lodash,qe=window.wp.element,Ge=window.wp.apiFetch;var Ke=o.n(Ge);const Ue=window.wp.data;function Qe(e){return Qe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qe(e)}function Ve(){Ve=function(){return t};var e,t={},o=Object.prototype,r=o.hasOwnProperty,n=Object.defineProperty||function(e,t,o){e[t]=o.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function s(e,t,o){return Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,o){return e[t]=o}}function u(e,t,o,r){var a=t&&t.prototype instanceof y?t:y,l=Object.create(a.prototype),i=new W(r||[]);return n(l,"_invoke",{value:C(e,o,i)}),l}function d(e,t,o){try{return{type:"normal",arg:e.call(t,o)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var m="suspendedStart",p="suspendedYield",g="executing",f="completed",b={};function y(){}function R(){}function _(){}var w={};s(w,l,(function(){return this}));var h=Object.getPrototypeOf,E=h&&h(h(k([])));E&&E!==o&&r.call(E,l)&&(w=E);var v=_.prototype=y.prototype=Object.create(w);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function P(e,t){function o(n,a,l,i){var c=d(e[n],e,a);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==Qe(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){o("next",e,l,i)}),(function(e){o("throw",e,l,i)})):t.resolve(u).then((function(e){s.value=e,l(s)}),(function(e){return o("throw",e,l,i)}))}i(c.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function C(t,o,r){var n=m;return function(a,l){if(n===g)throw new Error("Generator is already running");if(n===f){if("throw"===a)throw l;return{value:e,done:!0}}for(r.method=a,r.arg=l;;){var i=r.delegate;if(i){var c=B(i,r);if(c){if(c===b)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===m)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=g;var s=d(t,o,r);if("normal"===s.type){if(n=r.done?f:p,s.arg===b)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=f,r.method="throw",r.arg=s.arg)}}}function B(t,o){var r=o.method,n=t.iterator[r];if(n===e)return o.delegate=null,"throw"===r&&t.iterator.return&&(o.method="return",o.arg=e,B(t,o),"throw"===o.method)||"return"!==r&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var a=d(n,t.iterator,o.arg);if("throw"===a.type)return o.method="throw",o.arg=a.arg,o.delegate=null,b;var l=a.arg;return l?l.done?(o[t.resultName]=l.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=e),o.delegate=null,b):l:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,b)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function W(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function k(t){if(t||""===t){var o=t[l];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function o(){for(;++n<t.length;)if(r.call(t,n))return o.value=t[n],o.done=!1,o;return o.value=e,o.done=!0,o};return a.next=a}}throw new TypeError(Qe(t)+" is not iterable")}return R.prototype=_,n(v,"constructor",{value:_,configurable:!0}),n(_,"constructor",{value:R,configurable:!0}),R.displayName=s(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===R||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,s(e,c,"GeneratorFunction")),e.prototype=Object.create(v),e},t.awrap=function(e){return{__await:e}},O(P.prototype),s(P.prototype,i,(function(){return this})),t.AsyncIterator=P,t.async=function(e,o,r,n,a){void 0===a&&(a=Promise);var l=new P(u(e,o,r,n),a);return t.isGeneratorFunction(o)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},O(v),s(v,c,"Generator"),s(v,l,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),o=[];for(var r in t)o.push(r);return o.reverse(),function e(){for(;o.length;){var r=o.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=k,W.prototype={constructor:W,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var o in this)"t"===o.charAt(0)&&r.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var o=this;function n(r,n){return i.type="throw",i.arg=t,o.next=r,n&&(o.method="next",o.arg=e),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var l=this.tryEntries[a],i=l.completion;if("root"===l.tryLoc)return n("end");if(l.tryLoc<=this.prev){var c=r.call(l,"catchLoc"),s=r.call(l,"finallyLoc");if(c&&s){if(this.prev<l.catchLoc)return n(l.catchLoc,!0);if(this.prev<l.finallyLoc)return n(l.finallyLoc)}else if(c){if(this.prev<l.catchLoc)return n(l.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return n(l.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var n=this.tryEntries[o];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var l=a?a.completion:{};return l.type=e,l.arg=t,a?(this.method="next",this.next=a.finallyLoc,b):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.finallyLoc===e)return this.complete(o.completion,o.afterLoc),S(o),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var o=this.tryEntries[t];if(o.tryLoc===e){var r=o.completion;if("throw"===r.type){var n=r.arg;S(o)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,o,r){return this.delegate={iterator:k(t),resultName:o,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}function Ye(e,t,o,r,n,a,l){try{var i=e[a](l),c=i.value}catch(e){return void o(e)}i.done?t(c):Promise.resolve(c).then(r,n)}function Ze(e){return function(){var t=this,o=arguments;return new Promise((function(r,n){var a=e.apply(t,o);function l(e){Ye(a,r,n,l,i,"next",e)}function i(e){Ye(a,r,n,l,i,"throw",e)}l(void 0)}))}}function Je(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Xe(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=Qe(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qe(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qe(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Je(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function $e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return et(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?et(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var tt=[{name:"all",title:(0,de.__)("All","woolentor")},{name:"free",title:(0,de.__)("Free","woolentor")},{name:"pro",title:(0,de.__)("Pro","woolentor")}],ot=["cart","checkout-page","empty-cart","lost-password","my-account","product-details","shop","thank-you","popup-builder"],rt=function(e){var t=$e((0,qe.useState)(woolentorData.templatelist.templates),2),o=t[0],r=t[1],n=$e((0,qe.useState)([]),2),a=n[0],l=n[1],i=$e((0,qe.useState)(""),2),c=i[0],s=i[1],u=$e((0,qe.useState)("all"),2),d=u[0],m=u[1],p=$e((0,qe.useState)(woolentorData.templateType||"all"),2),g=p[0],f=p[1];(0,qe.useEffect)((function(){var e=woolentorData.templatelist.templates;e=""!==woolentorData.templateType?e.filter((function(e){var t=e.type;if(t===woolentorData.templateType||"page"===t)return!0})):e.filter((function(e){return"page"===e.type})),"all"!==g&&(e=e.filter((function(e){var t=e.shareId,o=e.type,r=t.toLowerCase().replace(/\s+/,"-").trim(),n=""!==woolentorData.templateType?o:r;return("page"===n?r:n)===g}))),"all"!==d&&(e=e.filter((function(e){return e.tmpType===d}))),1==woolentorData.prostatus&&(e=e.map((function(e){return Xe(Xe({},e),{},{isPro:0})}))),r(e)}),[g,d]),(0,qe.useEffect)((function(){var e=o.reduce((function(e,t){var o=t.shareId,r=(t.tags,o.toLowerCase().replace(/\s+/,"-").trim());return void 0===e.shareId[r]?e.shareId[r]={id:r,label:o,count:1}:e.shareId[r].count=e.shareId[r].count+1,e}),{shareId:{},tags:{}}),t=(0,De.sortBy)(Object.values(e.shareId),"label");t.unshift({id:"all",label:(0,de.__)("All","woolentor"),count:0}),t=t.filter((function(e){return!function(e,t){for(var o=t.length,r=0;r<o;r++)if(t[r]==e)return!0;return!1}(e.id,ot)})),""!==woolentorData.templateType&&t.splice(1,0,{id:woolentorData.templateType,label:(0,de.__)(woolentorData.templateType,"woolentor"),count:0}),l(t)}),[]);var b=function(){var e=Ze(Ve().mark((function e(){var t,o,r,n=arguments;return Ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.length>0&&void 0!==n[0]?n[0]:"",o=null){e.next=9;break}return e.next=5,Ke()({path:"/woolentor/v1/importtemplate",method:"POST",data:{template_id:t}});case 5:return r=e.sent,e.next=8,r;case 8:o=e.sent;case 9:return e.abrupt("return",o);case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),y=(0,qe.useCallback)((function(e){(0,Ue.dispatch)("core/block-editor").insertBlocks(e).then((function(){s("")}))}),[]),R=function(){var e=Ze(Ve().mark((function e(t){var o;return Ve().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),e.next=3,b(t);case 3:o=e.sent,y((0,se.parse)(o.content));case 5:case"end":return e.stop()}}),e)})));return function(_x){return e.apply(this,arguments)}}();return React.createElement(me.Modal,{title:React.createElement(React.Fragment,null,React.createElement("div",{className:"woolentor-library-logo"},React.createElement(me.Icon,{icon:ue}),(0,de.__)("Template Library","woolentor")),React.createElement("ul",{className:"free-pro-filter-menu"},tt.map((function(e){return React.createElement("li",{key:e.name,className:e.name===d?"woolentor-menu-active":"",onClick:function(){m(e.name)},"data-filter":e.name},e.title)})))),onRequestClose:e.onClose,className:"woolentor-modal-design-library"},React.createElement("div",{className:"woolentor-template-library-area"},React.createElement("div",{className:"woolentor-template-library"},React.createElement("div",{className:"woolentor-template-library-sidebar"},React.createElement("ul",{className:"woolentor-template-filter-menu"},null==a?void 0:a.map((function(e){return React.createElement("li",{key:e.id,className:e.id===g?"woolentor-menu-active":"",onClick:function(){f(e.id)}},e.label)})))),React.createElement("div",{className:"woolentor-template-list"},React.createElement("div",{className:"woolentor-templates-library-wrapper"},null==o?void 0:o.map((function(e){return React.createElement("div",{key:e.id,className:"woolentor-templates-library-single-template ".concat(""!==c?"woolentor-not-clickable":"")},React.createElement("div",{className:"woolentor-template-image"},1===e.isPro&&React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-template-pro-badge"},(0,de.__)("Pro","woolentor")),React.createElement("div",{className:"woolentor-data-importer-spinner"},React.createElement("span",{className:"dashicon dashicons dashicons-lock"}))),c===e.id&&React.createElement("div",{className:"woolentor-data-importer-spinner"},React.createElement(me.Spinner,null)),!1!==e.thumbnail?React.createElement("div",{className:"template-image-wrapper",style:{backgroundImage:"url(".concat(e.thumbnail,")")}}):React.createElement("div",{className:"template-image-wrapper template-no-image",style:{backgroundImage:"url('data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%20282.69%20228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ccircle%20fill%3D%22%23A5A5A5%22%20cx%3D%22115.3%22%20cy%3D%2235.75%22%20r%3D%2235.75%22%2F%3E%3Cpath%20fill%3D%22%23A5A5A5%22%20d%3D%22M188.7%2C228h-81.34c-10.27%2C0-16.24-11.86-10.28-20.41l38.69-55.48l42.65-61.2%20c5.03-7.22%2C15.53-7.22%2C20.56%2C0l42.64%2C61.17l38.7%2C55.51c5.96%2C8.55-0.02%2C20.4-10.28%2C20.4H188.7z%22%2F%3E%3Cpath%20fill%3D%22%23A5A5A5%22%20d%3D%22M2.48%2C206.79l55.44-78.81c4.27-6.07%2C12.64-7.54%2C18.72-3.29l112.83%2C78.81%20c10.8%2C7.54%2C5.46%2C24.51-7.71%2C24.51l-168.27%2C0C2.58%2C228-3.8%2C215.71%2C2.48%2C206.79z%22%2F%3E%3C%2Fsvg%3E')"}})),React.createElement("div",{className:"woolentor-template-info"},React.createElement("h4",{className:"woolentor-template-title"},e.title),React.createElement("div",{className:"woolentor-template-action-button"},React.createElement("a",{href:e.url,target:"_blank",className:"woolentor-template-button"},(0,de.__)("preview","woolentor")),1===e.isPro?React.createElement("a",{href:woolentorData.prolink,target:"_blank",className:"woolentor-template-button"},(0,de.__)("Buy Now","woolentor")):React.createElement("span",{className:"woolentor-template-button",onClick:function(){R(e.id)}},(0,de.__)("import","woolentor")))))})),(null==o?void 0:o.length)<=0&&React.createElement("div",{className:"woolentor-template-not-found"},React.createElement(me.Icon,{icon:xe,width:"200",height:"100"}),React.createElement("span",{className:"woolentor-not-found-text"},(0,de.__)("No templates were found for the combination you have selected.","woolentor"))))))))};function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}rt.defaultProps={onClose:function(){}};const at=function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?nt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),t=e[0],o=e[1];return React.createElement(React.Fragment,null,React.createElement(me.Button,{onClick:function(){o(!0)},className:"woolentor-library-button",label:(0,de.__)("Template Library","woolentor"),icon:ue},(0,de.__)("Template Library","woolentor")),t&&React.createElement(rt,{onClose:function(){o(!1)}}))},lt=window.wp.domReady;var it,ct=o.n(lt);(null===(it=woolentorData)||void 0===it||null===(it=it.templatelist)||void 0===it||null===(it=it.templates)||void 0===it?void 0:it.length)>0&&ct()((function(){var e=null,t=(0,Ue.subscribe)((function(){var o=document.querySelector(".edit-post-header-toolbar");if(o){var r=document.createElement("div");r.classList.add("woolentor-library-button__wrapper"),o.querySelector(".woolentor-library-button__wrapper")||((0,qe.render)(React.createElement(at,null),r),o.appendChild(r)),e&&clearTimeout(e),e=setTimeout((function(){document.querySelector(".woolentor-library-button__wrapper")&&t()}),0)}}))}));const st=window.wp.plugins,ut=window.wp.editPost,dt=window.wp.coreData;function mt(e){return mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mt(e)}function pt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function gt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=mt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=mt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function bt(e){return bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bt(e)}function yt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Rt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=bt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=bt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}"woolentor-template"===window.pagenow&&(0,st.registerPlugin)("woolentor-metabox",{render:function(){var e=(0,Ue.useSelect)((function(e){return e("core/editor").getCurrentPostType()}),[]),t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ft(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?ft(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,dt.useEntityProp)("postType",e,"meta"),2),o=t[0],r=t[1],n=o._woolentor_container_width;return React.createElement(ut.PluginDocumentSettingPanel,{name:"woolentor-meta-box",title:(0,de.__)("Container Width","woolentor"),icon:ue,initialOpen:"false"},React.createElement(me.TextControl,{value:n,onChange:function(e){r(gt(gt({},o),{},{_woolentor_container_width:e}))}}))},icon:null});var _t=function(){var e=(0,Ue.useSelect)((function(e){return{blockTabName:e("woolentor/block-tabs").getBlockTabName(),blockSectionbName:e("woolentor/block-tabs").getBlockSectionName()}}),[]);return{tabName:e.blockTabName||"",section:e.blockSectionbName||""}},wt={tabname:"",section:""};(0,Ue.register)((0,Ue.createReduxStore)("woolentor/block-tabs",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:wt,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"SET_BLOCK_TAB_NAME":return Rt(Rt({},e),{},{tabname:t.tabName});case"SET_BLOCK_SECTION_NAME":return Rt(Rt({},e),{},{section:t.section})}return e},actions:{setBlockTabName:function(e){return{type:"SET_BLOCK_TAB_NAME",tabName:e}},setBlockSectionName:function(e){return{type:"SET_BLOCK_SECTION_NAME",section:e}}},selectors:{getBlockTabName:function(e){return e.tabname},getBlockSectionName:function(e){return e.section}}}));const ht=window.wp.blockEditor;var Et=[{name:"general",title:(0,de.__)("General","woolentor"),className:"woolentor-tab-menu-item general"},{name:"styles",title:(0,de.__)("Styles","woolentor"),className:"woolentor-tab-menu-item styles"},{name:"advanced",title:(0,de.__)("Advanced","woolentor"),className:"woolentor-tab-menu-item advanced"}],vt=(0,me.createSlotFill)("WoolentorGeneralInspectorTab"),Ot=vt.Slot,Pt=vt.Fill,Ct=(0,me.createSlotFill)("WoolentorStyleInspectorTab"),Bt=Ct.Slot,At=Ct.Fill,St=(0,me.createSlotFill)("WoolentorAdvancedInspectorTab"),Wt=St.Slot,kt=St.Fill,Tt=function(e){var t=e.children;return(0,ht.useBlockEditContext)().isSelected?React.createElement(Pt,null,t):null},xt=function(e){var t=e.children;return(0,ht.useBlockEditContext)().isSelected?React.createElement(At,null,t):null},Lt=function(e){var t=e.children;return(0,ht.useBlockEditContext)().isSelected?React.createElement(kt,null,t):null},Nt=function(e){var t=(0,ht.useBlockEditContext)().clientId,o=_t(),r=Et.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})),n=o.tabName.includes(t)?o.tabName.replace(t,""):"";return React.createElement(ht.InspectorControls,null,React.createElement("div",{className:"woolentor-panel-control"},React.createElement(me.TabPanel,{className:"woolentor-tabs-menu",activeClass:"woolentor-tab-menu-active is-primary",onSelect:function(e){var o=(t+e).toLowerCase();(0,Ue.dispatch)("woolentor/block-tabs").setBlockTabName(o)},initialTabName:n,tabs:r},(function(e){return React.createElement("div",{className:"woolentor-tab-controls ".concat(e.name)},"general"===e.name&&React.createElement(Ot,null),"styles"===e.name&&React.createElement(Bt,null),"advanced"===e.name&&React.createElement(Wt,null))}))))};Nt.defaultProps={tabs:["general","styles","advanced"]};const zt=(0,qe.memo)(Nt);function jt(e){return jt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jt(e)}function It(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Mt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?It(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=jt(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=jt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jt(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):It(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Ht=[{name:"normal",title:(0,de.__)("Normal","woolentor")},{name:"hover",title:(0,de.__)("Hover","woolentor")},{name:"active",title:(0,de.__)("Active","woolentor")},{name:"focus",title:(0,de.__)("Focus","woolentor")}],Dt=function(e){var t=void 0===e.name?"":e.name,o=(t+e.defaultActive).toLowerCase(),r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ft(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ft(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(o),2),n=r[0],a=r[1],l=!1===e.overide?Ht.filter((function(t){var o,r=t.name;return null===(o=e.tabs)||void 0===o?void 0:o.includes(r)})):e.tabs,i=qe.Children.map(e.children,(function(e){if(!(0,qe.isValidElement)(e))return e;var o=Mt({},e.props),r=e.props.originalType||e.type,a=r.displayName||r.name,l=(t+e.props.name).toLowerCase();return"TabsContent"===a&&n===l?(0,qe.cloneElement)(e,Mt(Mt({},o),{},{children:e.props.children})):void 0}));return React.createElement("div",{className:"woolentor-tabs-menu-group"},React.createElement(me.ButtonGroup,{className:"woolentor-tabs-menu-btn-group"},l.map((function(e,o){return React.createElement(me.Button,{key:o,className:n===(t+e.name).toLowerCase()?"woolentor-elements-tab-menu-item tab-menu-active":"woolentor-elements-tab-menu-item",variant:n===(t+e.name).toLowerCase()?"primary":"secondary",onClick:function(){return o=e.name,r=(t+o).toLowerCase(),void a(r);var o,r}},e.title)}))),i)};Dt.defaultProps={name:void 0,tabs:["normal","hover"],defaultActive:"normal",overide:!1};const qt=(0,qe.memo)(Dt);var Gt=o(942),Kt=o.n(Gt),Ut=function(e){var t=Kt()(["woolentor-control","woolentor-tabs-content",e.className]);return React.createElement("div",{className:t},e.children)};Ut.defaultProps={className:""},Ut.displayName="TabsContent";const Qt=Ut;var Vt=function(e){var t=e.title,o=e.initialOpen,r=(0,ht.useBlockEditContext)().clientId,n=_t(),a=(r+n.tabName+t).toLowerCase(),l=e.panelName?e.panelName:a,i=!!o||l===n.section;return React.createElement(me.PanelBody,{title:t,onToggle:function(){return e=l,void(0,Ue.dispatch)("woolentor/block-tabs").setBlockSectionName(e);var e},initialOpen:i},e.children)};Vt.defaultProps={title:"",panelName:!1,initialOpen:!1};const Yt=(0,qe.memo)(Vt);var Zt=function(){return(0,Ue.useSelect)((function(e){return{deviceType:e("core/edit-post")?e("core/edit-post").__experimentalGetPreviewDeviceType():e("woolentor/device-type").getDeviceType()}}),[]).deviceType||""};function Jt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Xt(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Xt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xt(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}(0,Ue.register)((0,Ue.createReduxStore)("woolentor/device-type",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Desktop",t=arguments.length>1?arguments[1]:void 0;return"SET_DEVICE_TYPE"===t.type?t.deviceType:e},actions:{setDeviceType:function(e){return{type:"SET_DEVICE_TYPE",deviceType:e}}},selectors:{getDeviceType:function(e){return e}}}));var $t={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},eo=[{label:(0,de.__)("Desktop","woolentor"),value:"desktop",icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"desktop"}))},{label:(0,de.__)("Tablet","woolentor"),value:"tablet",icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"tablet"}))},{label:(0,de.__)("Mobile","woolentor"),value:"mobile",icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"smartphone"}))}],to=function(e){var t=Zt(),o=t.toLowerCase(),r="all"===e.responsive?eo:eo.filter((function(t){var o,r=t.value;return null===(o=e.screens)||void 0===o?void 0:o.includes(r)})),n=Jt((0,qe.useState)(!1),2),a=n[0],l=n[1],i=Jt((0,qe.useState)(!1),2),c=i[0],s=i[1],u=(0,qe.useRef)(null),d=(0,qe.useMemo)((function(){return r.findIndex((function(e){return e.value===o}))/r.length*100}),[r,o]);if(r<=1)return null;if(!t)return null;var m=(0,qe.useCallback)((function(e){var t;a&&(null===(t=e.target)||void 0===t?void 0:t.closest(".woolentor-responsive-switcher-button-area"))!==u.current&&l(!1)}));return(0,qe.useEffect)((function(){return document.body.addEventListener("click",m),function(){return document.body.removeEventListener("click",m)}}),[m]),React.createElement("div",{className:"woolentor-responsive-switcher-button-area ".concat(1==a?"open-switcher":""),ref:u},React.createElement("div",{className:"woolentor-responsive-switcher-button",style:{transform:"translateY(-".concat(d,"%)")}},r.length>1&&r.map((function(e,t){var r=e.label||e.value,n=r||"";return React.createElement("div",{key:t,onMouseEnter:function(){s(e.value)},onMouseLeave:function(){s(!1)}},React.createElement(me.Button,{className:o===e.value?"device-selected":"",variant:"desktop"!==o&&(o!==e.value?"secondary":"primary"),onClick:function(){l(!a),function(e){(0,Ue.dispatch)("core/edit-post")?(0,Ue.dispatch)("core/edit-post").__experimentalSetPreviewDeviceType($t[e]):(0,Ue.dispatch)("woolentor/device-type").setDeviceType($t[e])}(e.value)},icon:e.icon,showTooltip:!1,label:r},e.icon?void 0:r),n&&c===e.value&&React.createElement(me.Popover,{focusOnMount:!1,position:"middle right",className:"components-tooltip","aria-hidden":"true"},n))}))))};to.defaultProps={screens:["desktop"],responsive:!1};const oo=(0,qe.memo)(to);function ro(e){return ro="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ro(e)}function no(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function ao(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?no(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=ro(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ro(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ro(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):no(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var lo=["desktop","tablet","mobile"],io=function(e){var t,o=Kt()(["woolentor-control","woolentor-field-section",e.className]),r=e.label?e.label:"",n=!(null===(t=e.responsive)||void 0===t||!t.length),a="all"===e.responsive?lo:e.responsive,l=qe.Children.map(e.children,(function(e){if(!(0,qe.isValidElement)(e))return e;var t=ao({},e.props);return(0,qe.cloneElement)(e,ao(ao({},t),{},{children:e.props.children,colors:[{name:"red",color:"#f00"}]}))}));return React.createElement("div",{className:o},React.createElement("div",{className:"woolentor-field-label"},r&&React.createElement("label",null,r),n&&React.createElement(oo,{screens:a})),React.createElement("div",{className:"woolentor-field-wrap"},l))};io.defaultProps={className:"",label:"",responsive:!1};const co=io;function so(){return so=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},so.apply(this,arguments)}var uo=(0,qe.forwardRef)((function(e,t){var o=Kt()([e.className,"woolentor-button-component"]);return React.createElement(me.Button,so({},e,{className:o,ref:t}))})),mo=React.createElement(me.Dashicon,{icon:"image-rotate"}),po=(0,qe.memo)((function(e){var t=null!==e.showReset?e.showReset:void 0!==e.value&&e.value!==e.default&&e.value!==e.placeholder,o=(0,qe.useCallback)((function(){e.onChange(void 0===e.default?"":e.default)}),[e.onChange,e.default]);return e.allowReset&&t&&React.createElement(uo,{className:"woolentor-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,de.__)("Reset","woolentor"),onClick:o,icon:mo})}));po.defaultProps={allowReset:!0,showReset:null,value:"",default:"",onChange:null};var go=function(e){var t=e.label,o=e.layout,r=e.styles,n={};return"one"!==o&&(n.padding=0),React.createElement("div",{className:"woolentor-control-section-title-area",style:r},React.createElement("span",{className:"woolentor-control-section-title",style:n},t),"one"===o&&React.createElement("hr",null))};go.defaultProps={label:"",layout:"one",styles:{}};const fo=go;function bo(e){return bo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bo(e)}function yo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Ro(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yo(Object(o),!0).forEach((function(t){_o(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _o(e,t,o){return r=function(e,t){if("object"!=bo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=bo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==bo(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}var wo=function(e){var t=Zt().toLowerCase(),o=e.setAttributes,r=e.lavel,n=e.dimensions,a=e.attributesKey,l=function(r,l){var i,c,s,u,d,m,p=Ro({},n),g=e.responsive?(null===(i=p[t])||void 0===i?void 0:i.link)||"yes":(null==p?void 0:p.link)||"yes",f=e.responsive?(null===(c=p[t])||void 0===c?void 0:c.unit)||"px":(null==p?void 0:p.unit)||"px";e.responsive?p[t]="yes"===g?{top:r,right:r,bottom:r,left:r,link:"yes",unit:f}:_o({top:(null===(s=p[t])||void 0===s?void 0:s.top)||"0",right:(null===(u=p[t])||void 0===u?void 0:u.right)||"0",bottom:(null===(d=p[t])||void 0===d?void 0:d.bottom)||"0",left:(null===(m=p[t])||void 0===m?void 0:m.left)||"0",link:"no",unit:f},l,r):"yes"===g?(p.top=r,p.right=r,p.bottom=r,p.left=r,p.link="yes"):(p.top=(null==p?void 0:p.top)||"0",p.right=(null==p?void 0:p.right)||"0",p.bottom=(null==p?void 0:p.bottom)||"0",p.left=(null==p?void 0:p.left)||"0",p.link="no",p[l]=r),o(_o({},a,p))},i=function(r){var l=Ro({},n),i=r.target.getAttribute("data-value");e.responsive?l.hasOwnProperty(t)?l[t].unit=i:l[t]={unit:i}:l.unit=i,o(_o({},a,l))},c=n.hasOwnProperty(t)?n[t].top:n.top?n.top:"",s=n.hasOwnProperty(t)?n[t].right:n.right?n.right:"",u=n.hasOwnProperty(t)?n[t].bottom:n.bottom?n.bottom:"",d=n.hasOwnProperty(t)?n[t].left:n.left?n.left:"",m=n.hasOwnProperty(t)?n[t].unit:n.unit?n.unit:"px",p=n.hasOwnProperty(t)?n[t].link:n.link?n.link:"yes";return React.createElement(qe.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-dimensions-control"},React.createElement(me.PanelRow,{className:"woolentor-panel-row-height-auto",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},r),e.responsive&&React.createElement(oo,{responsive:"all"}),React.createElement("div",{className:"woolentor-units-choices"},React.createElement("span",{className:"px"===m?"unit-active":"","data-value":"px",onClick:i},(0,de.__)("PX","woolentor")),React.createElement("span",{className:"%"===m?"unit-active":"","data-value":"%",onClick:i},(0,de.__)("%","woolentor")),React.createElement("span",{className:"em"===m?"unit-active":"","data-value":"em",onClick:i},(0,de.__)("EM","woolentor")))),React.createElement(me.PanelRow,null,React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Top","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"top")},shiftStep:10,value:c,labelPosition:"bottom"}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Right","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"right")},shiftStep:10,value:s,labelPosition:"bottom"}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Bottom","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"bottom")},shiftStep:10,value:u,labelPosition:"bottom"}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Left","woolentor"),isShiftStepEnabled:!0,onChange:function(e){return l(e,"left")},shiftStep:10,value:d,labelPosition:"bottom"}),React.createElement(me.Button,{icon:"admin-links",value:"yes",isPrimary:"yes"===p,isSecondary:"yes"!==p,onClick:function(){var r=Ro({},n);e.responsive?r.hasOwnProperty(t)?r[t].link="yes"===r[t].link?"no":"yes":r[t]={link:"no"}:r.link="yes"===r.link?"no":"yes",o(_o({},a,r))},title:(0,de.__)("Link values together","woolentor"),showTooltip:!0}))))};wo.defaultProps={dimensions:{top:"",right:"",bottom:"",left:"",unit:"px",link:"yes"}};const ho=wo;function Eo(e){return Eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Eo(e)}function vo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Oo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vo(Object(o),!0).forEach((function(t){Po(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Po(e,t,o){return r=function(e,t){if("object"!=Eo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Eo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==Eo(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}var Co=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=(0,ht.useBlockEditContext)().clientId,a=(0,Ue.useDispatch)("core/block-editor").updateBlockAttributes,l=function(e){return(0,Ue.useSelect)((function(t){return t("core/block-editor").getBlockAttributes(e)||{}}),[e])}(n),i=e,c=l?l[i]:"",s=l?l[i]:"";null!==t&&Oo({},l[i]).hasOwnProperty(t)&&(c=l?l[i][t]:"",s=l?l[i][t]:""),o&&(s=o(s));var u=(0,qe.useCallback)((function(e){var o=r?r(e,c):null!==t?function(e,t,o){var r=Oo({},t);return r[o]=e,r}(e,l[i],t):e;a(n,Po({},i,o))}),[n,i,l,r,c,a]);return[s,u]};function Bo(){return Bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Bo.apply(this,arguments)}function Ao(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var So=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ao(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ao(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,null,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement("div",{className:Kt()("woolentor-promoted-token-field woolentor-field-section",e.className)},React.createElement(me.FormTokenField,Bo({},e,{value:n,onChange:a})),React.createElement(po,{allowReset:e.allowReset,value:n,default:e.default,onChange:a}))};So.defaultProps={className:"",allowReset:!0,default:"",attribute:"",value:void 0,onChange:void 0};const Wo=So,ko=window.wp.compose;function To(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var xo=function(e){var t=e.type,o=e.taxonomy,r=e.label,n=e.onChangeTaxonomy,a=e.taxnomiesList,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return To(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?To(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)([]),2),i=l[0],c=l[1];(0,qe.useEffect)((function(){var e=[];a&&a.forEach((function(t,o){e.push({label:t.name,name:t.name,slug:t.slug,value:t.id})})),c(e)}),[a]);var s=i.map((function(e){return e.name})),u=""!==o?o.split(",").map((function(e){return((0,De.find)(i,(function(t){return t.value===parseInt(e)}))||{}).name})):void 0;return React.createElement("div",{className:"woolentor-component-taxonomy-area"},i.length>0?"single"==t?React.createElement(me.SelectControl,{label:r,value:o,options:i,onChange:function(e){return n(e)}}):React.createElement(Wo,{suggestions:s,value:u,label:r,onChange:function(e){var t,o=null==e||null===(t=e.map)||void 0===t?void 0:t.call(e,(function(e){return((0,De.find)(i||[],(function(t){return t.name===e}))||{}).value}));n((0,De.compact)(o||[]).join(","))}}):React.createElement(me.Spinner,null))};xo.defaultProps={taxonomy:"",label:"Category",onChangeTaxonomy:function(){},allowReset:!1};const Lo=(0,ko.compose)([(0,Ue.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomykey?t.taxonomykey:"product_cat",{orderby:"name",order:"asc",hide_empty:!0})}}))])(xo);function No(e){return No="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},No(e)}function zo(e,t,o){return(t=Fo(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function jo(e){return function(e){if(Array.isArray(e))return Io(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Io(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Io(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Io(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Mo(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fo(r.key),r)}}function Fo(e){var t=function(e,t){if("object"!=No(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=No(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==No(t)?t:String(t)}function Ho(e,t,o){return t=qo(t),function(e,t){if(t&&("object"===No(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Do()?Reflect.construct(t,o||[],qo(e).constructor):t.apply(e,o))}function Do(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Do=function(){return!!e})()}function qo(e){return qo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qo(e)}function Go(e,t){return Go=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Go(e,t)}var Ko=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ho(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Go(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this.props,o=t.setAttributes,r=t.selectedTaxonomies,n=t.attributesKey,a=t.title,l=t.type,i=t.taxnomiesList,c=function(){var e=[];return i&&i.forEach((function(t,o){e.push({label:t.name,value:t.slug})})),e};if("multiple"==l){var s=c();s.length>0&&(e=s.map((function(e,t){return React.createElement(me.CheckboxControl,{key:e.value,label:e.label,onChange:function(t){return function(e,t){var a=-1!==r.indexOf(t)?jo(r):[].concat(jo(r),[t]);if(0==e){var l=a.indexOf(t);a.splice(l,1)}o(zo({},n,a))}(t,e.value)},checked:-1!==r.indexOf(e.value)})})))}return React.createElement(qe.Fragment,null,React.createElement("div",{className:"woolentor-component-taxonomy-area"},"single"!=l&&React.createElement("h2",{className:"woolentor-component-area-title"},a),React.createElement("div",{className:"woolentor-component-taxonomy-fileds"},"single"==l?0==c().length?React.createElement(me.Spinner,null):React.createElement(me.SelectControl,{label:a,value:r,options:c(),onChange:function(e){return o(zo({},n,e))}}):e||React.createElement(me.Spinner,null))))}}],r&&Mo(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Uo=(0,ko.compose)([(0,Ue.withSelect)((function(e,t){return{taxnomiesList:(0,e("core").getEntityRecords)("taxonomy",t.taxonomy?t.taxonomy:"product_cat",{orderby:"name",order:"asc",per_page:-1,hide_empty:!0})}}))])(Ko);function Qo(e){return Qo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qo(e)}function Vo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Yo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=Qo(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qo(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Zo(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Jo=function(e){var t=e.uploadImage,o=void 0===e.allowedTypes?["image","png"]:e.allowedTypes,r=void 0===e.instructions?React.createElement("p",null,(0,de.__)("You need permission to upload media.","woolentor")):React.createElement("p",null,e.instructions),n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zo(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Zo(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.title?"":e.title,c=void 0===e.ImageData?a:e.ImageData,s=void 0===e.onChange?l:e.onChange,u=function(e){var t=Yo({},c);t.id=e.id,t.url=e.url,s(t)};return React.createElement(qe.Fragment,null,React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement("h3",null,i),React.createElement(ht.MediaUploadCheck,{fallback:r},React.createElement(ht.MediaUpload,{title:i,onSelect:u,allowedTypes:o,value:c.id,render:function(e){var o=e.open;return React.createElement(me.Button,{className:c.id?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:o},!c.id&&(0,de.__)("Set ","woolentor")+i,!!c.id&&!t&&React.createElement(me.Spinner,null),!!c.id&&t&&React.createElement("img",{src:t.source_url,alt:i}))}})),!!c.id&&t&&React.createElement(ht.MediaUploadCheck,null,React.createElement(ht.MediaUpload,{title:i,onSelect:u,allowedTypes:o,value:c.id,render:function(e){var t=e.open;return React.createElement(me.Button,{onClick:t,variant:"secondary"},(0,de.__)("Replace image","woolentor"))}})),!!c.id&&React.createElement(ht.MediaUploadCheck,null,React.createElement(me.Button,{onClick:function(){var e=Yo({},c);e.id=void 0,e.url=void 0,s(e)},isLink:!0,isDestructive:!0},(0,de.__)("Remove image","woolentor")))))};Jo.defaultProps={attribute:"",allowedTypes:["image","png"],instructions:void 0,onChange:void 0};const Xo=(0,ko.compose)((0,Ue.withSelect)((function(e,t){var o=e("core").getMedia,r=t.ImageData;return{uploadImage:r.id?o(r.id):null}})))(Jo);function $o(e){return $o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$o(e)}function er(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function tr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?er(Object(o),!0).forEach((function(t){or(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):er(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function or(e,t,o){return(t=nr(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function rr(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nr(r.key),r)}}function nr(e){var t=function(e,t){if("object"!=$o(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=$o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$o(t)?t:String(t)}function ar(e,t,o){return t=ir(t),function(e,t){if(t&&("object"===$o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lr()?Reflect.construct(t,o||[],ir(e).constructor):t.apply(e,o))}function lr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lr=function(){return!!e})()}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ir(e)}function cr(e,t){return cr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cr(e,t)}var sr=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ar(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cr(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.setAttributes,o=e.title,r=e.bgProperty,n=e.attributesKey,a=e.uploadImage,l=function(e,o){var a=tr(tr({},r),{},{type:"background"});a[o]=e,t(or({},n,a))},i=["image","png"],c=React.createElement("p",null,(0,de.__)("To edit the banner image, you need permission to upload media.","woolentor")),s=function(e){var o=tr(tr({},r),{},{type:"background"});o.imageId=e.id,o.imageUrl=e.url,t(or({},n,o))};return React.createElement(qe.Fragment,null,React.createElement("div",{className:"wp-block-selector-woolentor-background-control"},o&&React.createElement("h3",null,o),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:null==r?void 0:r.color,onChange:function(e){return l(e,"color")}})),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(ht.MediaUploadCheck,{fallback:c},React.createElement(ht.MediaUpload,{title:o,onSelect:s,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(me.Button,{className:r.imageId?"editor-post-featured-image__preview":"editor-post-featured-image__toggle",onClick:t},!r.imageId&&(0,de.__)("Set ","woolentor")+o,!!r.imageId&&!a&&React.createElement(me.Spinner,null),!!r.imageId&&a&&React.createElement("img",{src:a.source_url,alt:o}))}})),!!r.imageId&&a&&React.createElement(ht.MediaUploadCheck,null,React.createElement(ht.MediaUpload,{title:o,onSelect:s,allowedTypes:i,value:r.imageId,render:function(e){var t=e.open;return React.createElement(me.Button,{onClick:t,variant:"secondary"},(0,de.__)("Replace image","woolentor"))}})),!!r.imageId&&React.createElement(ht.MediaUploadCheck,null,React.createElement(me.Button,{onClick:function(){var e=tr(tr({},r),{},{type:"background"});e.imageId=void 0,e.imageUrl=void 0,t(or({},n,e))},isLink:!0,isDestructive:!0},(0,de.__)("Remove image","woolentor")))),!!r.imageId&&a&&React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),labelPosition:"side",value:r.position,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Center Center","woolentor"),value:"center center"},{label:(0,de.__)("Center Left","woolentor"),value:"center left"},{label:(0,de.__)("Center Right","woolentor"),value:"center right"},{label:(0,de.__)("Top Center","woolentor"),value:"top center"},{label:(0,de.__)("Top Left","woolentor"),value:"top left"},{label:(0,de.__)("Top Right","woolentor"),value:"top right"},{label:(0,de.__)("Bottom Center","woolentor"),value:"bottom center"},{label:(0,de.__)("Bottom Left","woolentor"),value:"bottom left"},{label:(0,de.__)("Bottom Right","woolentor"),value:"bottom right"}],onChange:function(e){return l(e,"position")}}),React.createElement(me.SelectControl,{label:(0,de.__)("Attachment","woolentor"),labelPosition:"side",value:r.attachment,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Scroll","woolentor"),value:"scroll"},{label:(0,de.__)("Fixed","woolentor"),value:"fixed"}],onChange:function(e){return l(e,"attachment")}}),React.createElement(me.SelectControl,{label:(0,de.__)("Repeat","woolentor"),labelPosition:"side",value:r.repeat,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("No-repeat","woolentor"),value:"no-repeat"},{label:(0,de.__)("Repeat","woolentor"),value:"repeat"},{label:(0,de.__)("Repeat-x","woolentor"),value:"repeat-x"},{label:(0,de.__)("Repeat-y","woolentor"),value:"repeat-y"}],onChange:function(e){return l(e,"repeat")}}),React.createElement(me.SelectControl,{label:(0,de.__)("Display Size","woolentor"),labelPosition:"side",value:r.size,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Auto","woolentor"),value:"auto"},{label:(0,de.__)("Cover","woolentor"),value:"cover"},{label:(0,de.__)("Contain","woolentor"),value:"contain"}],onChange:function(e){return l(e,"size")}}))))}}],r&&rr(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const ur=(0,ko.compose)((0,Ue.withSelect)((function(e,t){var o=e("core").getMedia,r=t.bgProperty;return{uploadImage:r.imageId?o(r.imageId):null}})))(sr);function dr(e){return dr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dr(e)}function mr(){return mr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},mr.apply(this,arguments)}function pr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function gr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pr(Object(o),!0).forEach((function(t){var r,n,a;r=e,n=t,a=o[t],(n=function(e){var t=function(e,t){if("object"!=dr(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dr(t)?t:String(t)}(n))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var br={align:[{value:"left",title:(0,de.__)("Align Left","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-alignleft"}))},{value:"center",title:(0,de.__)("Align Center","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-aligncenter"}))},{value:"right",title:(0,de.__)("Align Right","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-alignright"}))},{value:"justify",title:(0,de.__)("Align Justify","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-justify"}))}],"flex-horizontal":[{value:"flex-start",title:(0,de.__)("Align Left","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"align-pull-left"}))},{value:"center",title:(0,de.__)("Align Center","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"align-center"}))},{value:"flex-end",title:(0,de.__)("Align Right","woolentor"),icon:(0,de.__)(React.createElement(me.Dashicon,{icon:"align-pull-right"}))}]},yr=function(e){var t=e.options,o=e.justified,r="string"==typeof t?br[t]:t,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?fr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;return React.createElement("div",{className:"woolentor-field-section"},""!==i&&React.createElement("label",null,i),React.createElement("div",{className:"woolentor-field-wrap"},React.createElement(me.ButtonGroup,{children:r.filter((function(e){return!!o||"justify"!==e.value})).map((function(t,o){var r=gr(gr({},(0,De.omit)(t,"controls","show")),{},{onClick:function(){e.isToggleOnly&&t.value===c||s(t.value!==c?t.value:"")},variant:c!==t.value?"secondary":"primary",isSmall:e.isSmall,children:t.icon?null:t.custom||React.createElement("span",{className:"woolentor-toolbar-control__text-button"},t.title)});return React.createElement(me.Button,mr({key:o},r))})),className:"woolentor-alignment-btn-group"})),React.createElement(po,{allowReset:e.allowReset,showReset:e.showReset,value:c,default:e.default,onChange:s}))};function Rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}yr.defaultProps={isSmall:!1,isToggleOnly:!1,options:"align",default:"",allowReset:!0,showReset:!1,attribute:"",justified:!1,label:void 0,value:void 0,onChange:void 0};var _r=function(e){!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Rr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Rr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,e.valueCallback,e.changeCallback),2),o=t[0],r=t[1],n=void 0===e.value?o:e.value,a=void 0===e.onChange?r:e.onChange;return React.createElement(ht.AlignmentToolbar,{value:n,onChange:function(e){return a(e)}})};_r.defaultProps={attribute:"",value:void 0,onChange:void 0};var wr=function(){return null};function hr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}wr.InspectorControls=yr,wr.BlockControls=_r;var Er=function(e){var t=Zt(),o=e.responsive?t.toLowerCase():null,r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?hr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Co(e.attribute,o,e.valueCallback,e.changeCallback),2),n=r[0],a=r[1],l=void 0===e.label?"":e.label,i=void 0===e.value?n:e.value,c=void 0===e.onChange?a:e.onChange;return React.createElement(qe.Fragment,null,React.createElement(me.PanelRow,{className:"woolentor-panel-row-height-auto woolentor-column-control",style:{minHeight:"auto"}},React.createElement("label",{className:"woolentor-control-title"},l),e.responsive&&React.createElement(oo,{responsive:"all"})),React.createElement(me.RangeControl,{value:i,onChange:function(e){return c(e)},min:e.min,step:1,max:e.max,allowReset:e.allowReset}))};Er.defaultProps={allowReset:!1,min:0,max:6,attribute:"",label:void 0,value:void 0,onChange:void 0};const vr=Er,Or=JSON.parse('{"dashicon":[{"name":"Menu","icon":"menu"},{"name":"Admin Site","icon":"admin-site"},{"name":"Dashboard","icon":"dashboard"},{"name":"Admin media","icon":"admin-media"},{"name":"Admin page","icon":"admin-page"},{"name":"Admin comments","icon":"admin-comments"},{"name":"Admin appearance","icon":"admin-appearance"},{"name":"Admin plugins","icon":"admin-plugins"},{"name":"Admin users","icon":"admin-users"},{"name":"Admin tools","icon":"admin-tools"},{"name":"Admin settings","icon":"admin-settings"},{"name":"Admin network","icon":"admin-network"},{"name":"Admin generic","icon":"admin-generic"},{"name":"Admin home","icon":"admin-home"},{"name":"Admin collapse","icon":"admin-collapse"},{"name":"Filter","icon":"filter"},{"name":"Admin customizer","icon":"admin-customizer"},{"name":"Admin multisite","icon":"admin-multisite"},{"name":"Admin links","icon":"admin-links"},{"name":"Admin post","icon":"admin-post"},{"name":"Format image","icon":"format-image"},{"name":"Format gallery","icon":"format-gallery"},{"name":"Format audio","icon":"format-audio"},{"name":"Format video","icon":"format-video"},{"name":"Format chat","icon":"format-chat"},{"name":"Format status","icon":"format-status"},{"name":"Format aside","icon":"format-aside"},{"name":"Format quote","icon":"format-quote"},{"name":"Welcome write blog","icon":"welcome-write-blog"},{"name":"Welcome add page","icon":"welcome-add-page"},{"name":"Welcome view site","icon":"welcome-view-site"},{"name":"Welcome widgets menus","icon":"welcome-widgets-menus"},{"name":"Welcome comments","icon":"welcome-comments"},{"name":"Welcome learn more","icon":"welcome-learn-more"},{"name":"Image crop","icon":"image-crop"},{"name":"Image rotate","icon":"image-rotate"},{"name":"Image rotate left","icon":"image-rotate-left"},{"name":"Image rotate right","icon":"image-rotate-right"},{"name":"Image flip vertical","icon":"image-flip-vertical"},{"name":"Image flip horizontal","icon":"image-flip-horizontal"},{"name":"Image filter","icon":"image-filter"},{"name":"Undo","icon":"undo"},{"name":"Redo","icon":"redo"},{"name":"Editor bold","icon":"editor-bold"},{"name":"Editor italic","icon":"editor-italic"},{"name":"Editor ul","icon":"editor-ul"},{"name":"Editor ol","icon":"editor-ol"},{"name":"Editor quote","icon":"editor-quote"},{"name":"Editor align left","icon":"editor-alignleft"},{"name":"Editor align center","icon":"editor-aligncenter"},{"name":"Editor align right","icon":"editor-alignright"},{"name":"Editor insert more","icon":"editor-insertmore"},{"name":"Editor spell check","icon":"editor-spellcheck"},{"name":"Editor expand","icon":"editor-expand"},{"name":"Editor contract","icon":"editor-contract"},{"name":"Editor kitchensink","icon":"editor-kitchensink"},{"name":"Editor underline","icon":"editor-underline"},{"name":"Editor justify","icon":"editor-justify"},{"name":"Editor text color","icon":"editor-textcolor"},{"name":"Editor paste word","icon":"editor-paste-word"},{"name":"Editor paste text","icon":"editor-paste-text"},{"name":"Editor remove formatting","icon":"editor-removeformatting"},{"name":"Editor video","icon":"editor-video"},{"name":"Editor customchar","icon":"editor-customchar"},{"name":"Editor outdent","icon":"editor-outdent"},{"name":"Editor indent","icon":"editor-indent"},{"name":"Editor help","icon":"editor-help"},{"name":"Editor strike through","icon":"editor-strikethrough"},{"name":"Editor unlink","icon":"editor-unlink"},{"name":"Editor Rtl","icon":"editor-rtl"},{"name":"Editor break","icon":"editor-break"},{"name":"Editor code","icon":"editor-code"},{"name":"Editor code duplicate","icon":"editor-code-duplicate"},{"name":"Editor paragraph","icon":"editor-paragraph"},{"name":"Editor table","icon":"editor-table"},{"name":"Align left","icon":"align-left"},{"name":"Align right","icon":"align-right"},{"name":"Align center","icon":"align-center"},{"name":"Align none","icon":"align-none"},{"name":"Lock","icon":"lock"},{"name":"Lock duplicate","icon":"lock-duplicate"},{"name":"Unlock","icon":"unlock"},{"name":"Calendar","icon":"calendar"},{"name":"Calendar alt","icon":"calendar-alt"},{"name":"Visibility","icon":"visibility"},{"name":"Hidden","icon":"hidden"},{"name":"Post status","icon":"post-status"},{"name":"Edit","icon":"edit"},{"name":"Edit large","icon":"edit-large"},{"name":"Sticky","icon":"sticky"},{"name":"External","icon":"external"},{"name":"Arrow up","icon":"arrow-up"},{"name":"Arrow up duplicate","icon":"arrow-up-duplicate"},{"name":"Arrow down","icon":"arrow-down"},{"name":"Arrow left","icon":"arrow-left"},{"name":"Arrow right","icon":"arrow-right"},{"name":"Arrow up alt","icon":"arrow-up-alt"},{"name":"Arrow down alt","icon":"arrow-down-alt"},{"name":"Arrow left alt","icon":"arrow-left-alt"},{"name":"Arrow right alt","icon":"arrow-right-alt"},{"name":"Arrow up alt2","icon":"arrow-up-alt2"},{"name":"Arrow down alt2","icon":"arrow-down-alt2"},{"name":"Arrow left alt2","icon":"arrow-left-alt2"},{"name":"Arrow right alt2","icon":"arrow-right-alt2"},{"name":"Left right","icon":"leftright"},{"name":"Sort","icon":"sort"},{"name":"List view","icon":"list-view"},{"name":"Excerpt view","icon":"excerpt-view"},{"name":"Grid view","icon":"grid-view"},{"name":"Move","icon":"move"},{"name":"Hammer","icon":"hammer"},{"name":"Art","icon":"art"},{"name":"Migrate","icon":"migrate"},{"name":"Performance","icon":"performance"},{"name":"Universal access","icon":"universal-access"},{"name":"universal access alt","icon":"universal-access-alt"},{"name":"Tickets","icon":"tickets"},{"name":"Name tag","icon":"nametag"},{"name":"Clip board","icon":"clipboard"},{"name":"heart","icon":"heart"},{"name":"Mega phone","icon":"megaphone"},{"name":"Schedule","icon":"schedule"},{"name":"WordPress","icon":"wordpress"},{"name":"WordPress alt","icon":"wordpress-alt"},{"name":"Pressthis","icon":"pressthis"},{"name":"Update","icon":"update"},{"name":"Screen options","icon":"screenoptions"},{"name":"cart","icon":"cart"},{"name":"Feedback","icon":"feedback"},{"name":"Translation","icon":"translation"},{"name":"Tag","icon":"tag"},{"name":"Category","icon":"category"},{"name":"Archive","icon":"archive"},{"name":"Tag cloud","icon":"tagcloud"},{"name":"Text","icon":"text"},{"name":"Media archive","icon":"media-archive"},{"name":"Media audio","icon":"media-audio"},{"name":"Media code","icon":"media-code"},{"name":"Media Default","icon":"media-default"},{"name":"Media document","icon":"media-document"},{"name":"Media interactive","icon":"media-interactive"},{"name":"Media Spreadsheet","icon":"media-spreadsheet"},{"name":"Media text","icon":"media-text"},{"name":"Media video","icon":"media-video"},{"name":"Playlist audio","icon":"playlist-audio"},{"name":"Playlist video","icon":"playlist-video"},{"name":"Controls play","icon":"controls-play"},{"name":"Controls pause","icon":"controls-pause"},{"name":"Controls forward","icon":"controls-forward"},{"name":"Controls skip forward","icon":"controls-skipforward"},{"name":"Controls back","icon":"controls-back"},{"name":"controls skip back","icon":"controls-skipback"},{"name":"Controls repeat","icon":"controls-repeat"},{"name":"controls volume on","icon":"controls-volumeon"},{"name":"controls volume off","icon":"controls-volumeoff"},{"name":"Yes","icon":"yes"},{"name":"No","icon":"no"},{"name":"No alt","icon":"no-alt"},{"name":"Plus","icon":"plus"},{"name":"Plus alt","icon":"plus-alt"},{"name":"Plus alt2","icon":"plus-alt2"},{"name":"Minus","icon":"minus"},{"name":"Dismiss","icon":"dismiss"},{"name":"Marker","icon":"marker"},{"name":"Star filled","icon":"star-filled"},{"name":"Star half","icon":"star-half"},{"name":"Star empty","icon":"star-empty"},{"name":"Flag","icon":"flag"},{"name":"Info","icon":"info"},{"name":"Warning","icon":"warning"},{"name":"Share","icon":"share"},{"name":"Share1","icon":"share1"},{"name":"Share alt","icon":"share-alt"},{"name":"Share alt2","icon":"share-alt2"},{"name":"Twitter","icon":"twitter"},{"name":"Rss","icon":"rss"},{"name":"Email","icon":"email"},{"name":"Email alt","icon":"email-alt"},{"name":"Facebook","icon":"facebook"},{"name":"Facebook alt","icon":"facebook-alt"},{"name":"Networking","icon":"networking"},{"name":"google plus","icon":"googleplus"},{"name":"Location","icon":"location"},{"name":"Location alt","icon":"location-alt"},{"name":"Camera","icon":"camera"},{"name":"Images alt","icon":"images-alt"},{"name":"Images alt2","icon":"images-alt2"},{"name":"Video alt","icon":"video-alt"},{"name":"Video alt2","icon":"video-alt2"},{"name":"Video alt3","icon":"video-alt3"},{"name":"Vault","icon":"vault"},{"name":"Shield","icon":"shield"},{"name":"Shield alt","icon":"shield-alt"},{"name":"Sos","icon":"sos"},{"name":"Search","icon":"search"},{"name":"Slides","icon":"slides"},{"name":"Analytics","icon":"analytics"},{"name":"Chart pie","icon":"chart-pie"},{"name":"Chart bar","icon":"chart-bar"},{"name":"Chart line","icon":"chart-line"},{"name":"Chart area","icon":"chart-area"},{"name":"Groups","icon":"groups"},{"name":"Businessman","icon":"businessman"},{"name":"Id","icon":"id"},{"name":"Id alt","icon":"id-alt"},{"name":"Products","icon":"products"},{"name":"Awards","icon":"awards"},{"name":"Forms","icon":"forms"},{"name":"Testimonial","icon":"testimonial"},{"name":"Portfolio","icon":"portfolio"},{"name":"Book","icon":"book"},{"name":"Book alt","icon":"book-alt"},{"name":"Download","icon":"download"},{"name":"Upload","icon":"upload"},{"name":"Backup","icon":"backup"},{"name":"Clock","icon":"clock"},{"name":"Light bulb","icon":"lightbulb"},{"name":"Microphone","icon":"microphone"},{"name":"Desktop","icon":"desktop"},{"name":"Laptop","icon":"laptop"},{"name":"Tablet","icon":"tablet"},{"name":"Smartphone","icon":"smartphone"},{"name":"Phone","icon":"phone"},{"name":"Smiley","icon":"smiley"},{"name":"Index card","icon":"index-card"},{"name":"Carrot","icon":"carrot"},{"name":"Building","icon":"building"},{"name":"Store","icon":"store"},{"name":"Album","icon":"album"},{"name":"Palmtree","icon":"palmtree"},{"name":"Tickets alt","icon":"tickets-alt"},{"name":"Money","icon":"money"},{"name":"Thumbs up","icon":"thumbs-up"},{"name":"Thumbs down","icon":"thumbs-down"},{"name":"Layout","icon":"layout"},{"name":"Paper clip","icon":"paperclip"},{"name":"Email alt2","icon":"email-alt2"},{"name":"Menu alt","icon":"menu-alt"},{"name":"Trash","icon":"trash"},{"name":"Heading","icon":"heading"},{"name":"Insert","icon":"insert"},{"name":"Align full width","icon":"align-full-width"},{"name":"Button","icon":"button"},{"name":"Align wide","icon":"align-wide"},{"name":"Ellipsis","icon":"ellipsis"},{"name":"Buddicons activity","icon":"buddicons-activity"},{"name":"Buddicons buddy press logo","icon":"buddicons-buddypress-logo"},{"name":"Buddicons community","icon":"buddicons-community"},{"name":"Buddicons forums","icon":"buddicons-forums"},{"name":"Buddicons friends","icon":"buddicons-friends"},{"name":"Buddicons groups","icon":"buddicons-groups"},{"name":"Buddicons pm","icon":"buddicons-pm"},{"name":"Buddicons replies","icon":"buddicons-replies"},{"name":"Buddicons topics","icon":"buddicons-topics"},{"name":"Buddicons tracking","icon":"buddicons-tracking"},{"name":"Admin site alt","icon":"admin-site-alt"},{"name":"Admin site alt2","icon":"admin-site-alt2"},{"name":"Admin site alt3","icon":"admin-site-alt3"},{"name":"Rest api","icon":"rest-api"},{"name":"Yes alt","icon":"yes-alt"},{"name":"Buddicons bbpress logo","icon":"buddicons-bbpress-logo"},{"name":"Tide","icon":"tide"},{"name":"Editor ol rtl","icon":"editor-ol-rtl"},{"name":"Instagram","icon":"instagram"},{"name":"Business person","icon":"businessperson"},{"name":"Business woman","icon":"businesswoman"},{"name":"Color picker","icon":"color-picker"},{"name":"Camera alt","icon":"camera-alt"},{"name":"Editor ltr","icon":"editor-ltr"},{"name":"Cloud","icon":"cloud"},{"name":"Twitter alt","icon":"twitter-alt"},{"name":"Menu alt2","icon":"menu-alt2"},{"name":"Menu alt3","icon":"menu-alt3"},{"name":"Plugins checked","icon":"plugins-checked"},{"name":"Text page","icon":"text-page"},{"name":"Update alt","icon":"update-alt"},{"name":"Code standards","icon":"code-standards"},{"name":"Align pull left","icon":"align-pull-left"},{"name":"Align pull right","icon":"align-pull-right"},{"name":"Block default","icon":"block-default"},{"name":"Cloud saved","icon":"cloud-saved"},{"name":"Cloud upload","icon":"cloud-upload"},{"name":"Columns","icon":"columns"},{"name":"Cover image","icon":"cover-image"},{"name":"Embed audio","icon":"embed-audio"},{"name":"Embed generic","icon":"embed-generic"},{"name":"Embed photo","icon":"embed-photo"},{"name":"Embed post","icon":"embed-post"},{"name":"Embed video","icon":"embed-video"},{"name":"Exit","icon":"exit"},{"name":"HTML","icon":"html"},{"name":"Info outline","icon":"info-outline"},{"name":"Insert after","icon":"insert-after"},{"name":"Insert before","icon":"insert-before"},{"name":"Remove","icon":"remove"},{"name":"Shortcode","icon":"shortcode"},{"name":"Table col after","icon":"table-col-after"},{"name":"Table col before","icon":"table-col-before"},{"name":"Table col delete","icon":"table-col-delete"},{"name":"Table row after","icon":"table-row-after"},{"name":"Table row before","icon":"table-row-before"},{"name":"Table row delete","icon":"table-row-delete"},{"name":"Saved","icon":"saved"},{"name":"Airplane","icon":"airplane"},{"name":"Amazon","icon":"amazon"},{"name":"Bank","icon":"bank"},{"name":"Beer","icon":"beer"},{"name":"Bell","icon":"bell"},{"name":"Calculator","icon":"calculator"},{"name":"Coffee","icon":"coffee"},{"name":"Database add","icon":"database-add"},{"name":"Database export","icon":"database-export"},{"name":"Database import","icon":"database-import"},{"name":"Database remove","icon":"database-remove"},{"name":"Database view","icon":"database-view"},{"name":"Database","icon":"database"},{"name":"Drumstick","icon":"drumstick"},{"name":"Edit page","icon":"edit-page"},{"name":"Food","icon":"food"},{"name":"Full screen alt","icon":"fullscreen-alt"},{"name":"Full screen exit alt","icon":"fullscreen-exit-alt"},{"name":"Games","icon":"games"},{"name":"Google","icon":"google"},{"name":"Hourglass","icon":"hourglass"},{"name":"Linkedin","icon":"linkedin"},{"name":"Money alt","icon":"money-alt"},{"name":"Open folder","icon":"open-folder"},{"name":"PDF","icon":"pdf"},{"name":"Pets","icon":"pets"},{"name":"Pinterest","icon":"pinterest"},{"name":"Printer","icon":"printer"},{"name":"Privacy","icon":"privacy"},{"name":"Reddit","icon":"reddit"},{"name":"Spotify","icon":"spotify"},{"name":"Super hero alt","icon":"superhero-alt"},{"name":"Super hero","icon":"superhero"},{"name":"Twitch","icon":"twitch"},{"name":"Whatsapp","icon":"whatsapp"},{"name":"YouTube","icon":"youtube"},{"name":"Car","icon":"car"},{"name":"Podio","icon":"podio"},{"name":"Xing","icon":"xing"}],"fontawesome":[{"name":"Glass","icon":"glass","unicode":"f000","created":1,"categories":["Web Application Icons"]},{"name":"Music","icon":"music","unicode":"f001","created":1,"categories":["Web Application Icons"]},{"name":"Search","icon":"search","unicode":"f002","created":1,"categories":["Web Application Icons"]},{"name":"Envelope Outlined","icon":"envelope-o","unicode":"f003","created":1,"categories":["Web Application Icons"]},{"name":"Heart","icon":"heart","unicode":"f004","created":1,"categories":["Web Application Icons"]},{"name":"Star","icon":"star","unicode":"f005","created":1,"categories":["Web Application Icons"]},{"name":"Star Outlined","icon":"star-o","unicode":"f006","created":1,"categories":["Web Application Icons"]},{"name":"User","icon":"user","unicode":"f007","created":1,"categories":["Web Application Icons"]},{"name":"Film","icon":"film","unicode":"f008","created":1,"categories":["Web Application Icons"]},{"name":"th-large","icon":"th-large","unicode":"f009","created":1,"categories":["Text Editor Icons"]},{"name":"th","icon":"th","unicode":"f00a","created":1,"categories":["Text Editor Icons"]},{"name":"th-list","icon":"th-list","unicode":"f00b","created":1,"categories":["Text Editor Icons"]},{"name":"Check","icon":"check","unicode":"f00c","created":1,"categories":["Web Application Icons"]},{"name":"Times","icon":"times","unicode":"f00d","created":1,"categories":["Web Application Icons"]},{"name":"Search Plus","icon":"search-plus","unicode":"f00e","created":1,"categories":["Web Application Icons"]},{"name":"Search Minus","icon":"search-minus","unicode":"f010","created":1,"categories":["Web Application Icons"]},{"name":"Power Off","icon":"power-off","unicode":"f011","created":1,"categories":["Web Application Icons"]},{"name":"signal","icon":"signal","unicode":"f012","created":1,"categories":["Web Application Icons"]},{"name":"cog","icon":"cog","unicode":"f013","created":1,"aliases":["gear"],"categories":["Web Application Icons","Spinner Icons"]},{"name":"Trash Outlined","icon":"trash-o","unicode":"f014","created":1,"categories":["Web Application Icons"]},{"name":"home","icon":"home","unicode":"f015","created":1,"categories":["Web Application Icons"]},{"name":"File Outlined","icon":"file-o","unicode":"f016","created":1,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Clock Outlined","icon":"clock-o","unicode":"f017","created":1,"categories":["Web Application Icons"]},{"name":"road","icon":"road","unicode":"f018","created":1,"categories":["Web Application Icons"]},{"name":"Download","icon":"download","unicode":"f019","created":1,"categories":["Web Application Icons"]},{"name":"Arrow Circle Outlined Down","icon":"arrow-circle-o-down","unicode":"f01a","created":1,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Up","icon":"arrow-circle-o-up","unicode":"f01b","created":1,"categories":["Directional Icons"]},{"name":"inbox","icon":"inbox","unicode":"f01c","created":1,"categories":["Web Application Icons"]},{"name":"Play Circle Outlined","icon":"play-circle-o","unicode":"f01d","created":1,"categories":["Video Player Icons"]},{"name":"Repeat","icon":"repeat","unicode":"f01e","created":1,"aliases":["rotate-right"],"categories":["Text Editor Icons"]},{"name":"refresh","icon":"refresh","unicode":"f021","created":1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"list-alt","icon":"list-alt","unicode":"f022","created":1,"categories":["Text Editor Icons"]},{"name":"lock","icon":"lock","unicode":"f023","created":1,"categories":["Web Application Icons"]},{"name":"flag","icon":"flag","unicode":"f024","created":1,"categories":["Web Application Icons"]},{"name":"headphones","icon":"headphones","unicode":"f025","created":1,"categories":["Web Application Icons"]},{"name":"volume-off","icon":"volume-off","unicode":"f026","created":1,"categories":["Web Application Icons"]},{"name":"volume-down","icon":"volume-down","unicode":"f027","created":1,"categories":["Web Application Icons"]},{"name":"volume-up","icon":"volume-up","unicode":"f028","created":1,"categories":["Web Application Icons"]},{"name":"qrcode","icon":"qrcode","unicode":"f029","created":1,"categories":["Web Application Icons"]},{"name":"barcode","icon":"barcode","unicode":"f02a","created":1,"categories":["Web Application Icons"]},{"name":"tag","icon":"tag","unicode":"f02b","created":1,"categories":["Web Application Icons"]},{"name":"tags","icon":"tags","unicode":"f02c","created":1,"categories":["Web Application Icons"]},{"name":"book","icon":"book","unicode":"f02d","created":1,"categories":["Web Application Icons"]},{"name":"bookmark","icon":"bookmark","unicode":"f02e","created":1,"categories":["Web Application Icons"]},{"name":"print","icon":"print","unicode":"f02f","created":1,"categories":["Web Application Icons"]},{"name":"camera","icon":"camera","unicode":"f030","created":1,"categories":["Web Application Icons"]},{"name":"font","icon":"font","unicode":"f031","created":1,"categories":["Text Editor Icons"]},{"name":"bold","icon":"bold","unicode":"f032","created":1,"categories":["Text Editor Icons"]},{"name":"italic","icon":"italic","unicode":"f033","created":1,"categories":["Text Editor Icons"]},{"name":"text-height","icon":"text-height","unicode":"f034","created":1,"categories":["Text Editor Icons"]},{"name":"text-width","icon":"text-width","unicode":"f035","created":1,"categories":["Text Editor Icons"]},{"name":"align-left","icon":"align-left","unicode":"f036","created":1,"categories":["Text Editor Icons"]},{"name":"align-center","icon":"align-center","unicode":"f037","created":1,"categories":["Text Editor Icons"]},{"name":"align-right","icon":"align-right","unicode":"f038","created":1,"categories":["Text Editor Icons"]},{"name":"align-justify","icon":"align-justify","unicode":"f039","created":1,"categories":["Text Editor Icons"]},{"name":"list","icon":"list","unicode":"f03a","created":1,"categories":["Text Editor Icons"]},{"name":"Outdent","icon":"outdent","unicode":"f03b","created":1,"aliases":["dedent"],"categories":["Text Editor Icons"]},{"name":"Indent","icon":"indent","unicode":"f03c","created":1,"categories":["Text Editor Icons"]},{"name":"Video Camera","icon":"video-camera","unicode":"f03d","created":1,"categories":["Web Application Icons"]},{"name":"Picture Outlined","icon":"picture-o","unicode":"f03e","created":1,"aliases":["photo","image"],"categories":["Web Application Icons"]},{"name":"pencil","icon":"pencil","unicode":"f040","created":1,"categories":["Web Application Icons"]},{"name":"map-marker","icon":"map-marker","unicode":"f041","created":1,"categories":["Web Application Icons"]},{"name":"adjust","icon":"adjust","unicode":"f042","created":1,"categories":["Web Application Icons"]},{"name":"tint","icon":"tint","unicode":"f043","created":1,"categories":["Web Application Icons"]},{"name":"Pencil Square Outlined","icon":"pencil-square-o","unicode":"f044","created":1,"aliases":["edit"],"categories":["Web Application Icons"]},{"name":"Share Square Outlined","icon":"share-square-o","unicode":"f045","created":1,"categories":["Web Application Icons"]},{"name":"Check Square Outlined","icon":"check-square-o","unicode":"f046","created":1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Arrows","icon":"arrows","unicode":"f047","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"step-backward","icon":"step-backward","unicode":"f048","created":1,"categories":["Video Player Icons"]},{"name":"fast-backward","icon":"fast-backward","unicode":"f049","created":1,"categories":["Video Player Icons"]},{"name":"backward","icon":"backward","unicode":"f04a","created":1,"categories":["Video Player Icons"]},{"name":"play","icon":"play","unicode":"f04b","created":1,"categories":["Video Player Icons"]},{"name":"pause","icon":"pause","unicode":"f04c","created":1,"categories":["Video Player Icons"]},{"name":"stop","icon":"stop","unicode":"f04d","created":1,"categories":["Video Player Icons"]},{"name":"forward","icon":"forward","unicode":"f04e","created":1,"categories":["Video Player Icons"]},{"name":"fast-forward","icon":"fast-forward","unicode":"f050","created":1,"categories":["Video Player Icons"]},{"name":"step-forward","icon":"step-forward","unicode":"f051","created":1,"categories":["Video Player Icons"]},{"name":"eject","icon":"eject","unicode":"f052","created":1,"categories":["Video Player Icons"]},{"name":"chevron-left","icon":"chevron-left","unicode":"f053","created":1,"categories":["Directional Icons"]},{"name":"chevron-right","icon":"chevron-right","unicode":"f054","created":1,"categories":["Directional Icons"]},{"name":"Plus Circle","icon":"plus-circle","unicode":"f055","created":1,"categories":["Web Application Icons"]},{"name":"Minus Circle","icon":"minus-circle","unicode":"f056","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle","icon":"times-circle","unicode":"f057","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle","icon":"check-circle","unicode":"f058","created":1,"categories":["Web Application Icons"]},{"name":"Question Circle","icon":"question-circle","unicode":"f059","created":1,"categories":["Web Application Icons"]},{"name":"Info Circle","icon":"info-circle","unicode":"f05a","created":1,"categories":["Web Application Icons"]},{"name":"Crosshairs","icon":"crosshairs","unicode":"f05b","created":1,"categories":["Web Application Icons"]},{"name":"Times Circle Outlined","icon":"times-circle-o","unicode":"f05c","created":1,"categories":["Web Application Icons"]},{"name":"Check Circle Outlined","icon":"check-circle-o","unicode":"f05d","created":1,"categories":["Web Application Icons"]},{"name":"ban","icon":"ban","unicode":"f05e","created":1,"categories":["Web Application Icons"]},{"name":"arrow-left","icon":"arrow-left","unicode":"f060","created":1,"categories":["Directional Icons"]},{"name":"arrow-right","icon":"arrow-right","unicode":"f061","created":1,"categories":["Directional Icons"]},{"name":"arrow-up","icon":"arrow-up","unicode":"f062","created":1,"categories":["Directional Icons"]},{"name":"arrow-down","icon":"arrow-down","unicode":"f063","created":1,"categories":["Directional Icons"]},{"name":"Share","icon":"share","unicode":"f064","created":1,"aliases":["mail-forward"],"categories":["Web Application Icons"]},{"name":"Expand","icon":"expand","unicode":"f065","created":1,"categories":["Video Player Icons"]},{"name":"Compress","icon":"compress","unicode":"f066","created":1,"categories":["Video Player Icons"]},{"name":"plus","icon":"plus","unicode":"f067","created":1,"categories":["Web Application Icons"]},{"name":"minus","icon":"minus","unicode":"f068","created":1,"categories":["Web Application Icons"]},{"name":"asterisk","icon":"asterisk","unicode":"f069","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Circle","icon":"exclamation-circle","unicode":"f06a","created":1,"categories":["Web Application Icons"]},{"name":"gift","icon":"gift","unicode":"f06b","created":1,"categories":["Web Application Icons"]},{"name":"leaf","icon":"leaf","unicode":"f06c","created":1,"categories":["Web Application Icons"]},{"name":"fire","icon":"fire","unicode":"f06d","created":1,"categories":["Web Application Icons"]},{"name":"Eye","icon":"eye","unicode":"f06e","created":1,"categories":["Web Application Icons"]},{"name":"Eye Slash","icon":"eye-slash","unicode":"f070","created":1,"categories":["Web Application Icons"]},{"name":"Exclamation Triangle","icon":"exclamation-triangle","unicode":"f071","created":1,"aliases":["warning"],"categories":["Web Application Icons"]},{"name":"plane","icon":"plane","unicode":"f072","created":1,"categories":["Web Application Icons"]},{"name":"calendar","icon":"calendar","unicode":"f073","created":1,"categories":["Web Application Icons"]},{"name":"random","icon":"random","unicode":"f074","created":1,"categories":["Web Application Icons"]},{"name":"comment","icon":"comment","unicode":"f075","created":1,"categories":["Web Application Icons"]},{"name":"magnet","icon":"magnet","unicode":"f076","created":1,"categories":["Web Application Icons"]},{"name":"chevron-up","icon":"chevron-up","unicode":"f077","created":1,"categories":["Directional Icons"]},{"name":"chevron-down","icon":"chevron-down","unicode":"f078","created":1,"categories":["Directional Icons"]},{"name":"retweet","icon":"retweet","unicode":"f079","created":1,"categories":["Web Application Icons"]},{"name":"shopping-cart","icon":"shopping-cart","unicode":"f07a","created":1,"categories":["Web Application Icons"]},{"name":"Folder","icon":"folder","unicode":"f07b","created":1,"categories":["Web Application Icons"]},{"name":"Folder Open","icon":"folder-open","unicode":"f07c","created":1,"categories":["Web Application Icons"]},{"name":"Arrows Vertical","icon":"arrows-v","unicode":"f07d","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Arrows Horizontal","icon":"arrows-h","unicode":"f07e","created":1,"categories":["Web Application Icons","Directional Icons"]},{"name":"Bar Chart Outlined","icon":"bar-chart-o","unicode":"f080","created":1,"categories":["Web Application Icons"]},{"name":"Twitter Square","icon":"twitter-square","unicode":"f081","created":1,"categories":["Brand Icons"]},{"name":"Facebook Square","icon":"facebook-square","unicode":"f082","created":1,"categories":["Brand Icons"]},{"name":"camera-retro","icon":"camera-retro","unicode":"f083","created":1,"categories":["Web Application Icons"]},{"name":"key","icon":"key","unicode":"f084","created":1,"categories":["Web Application Icons"]},{"name":"cogs","icon":"cogs","unicode":"f085","created":1,"aliases":["gears"],"categories":["Web Application Icons"]},{"name":"comments","icon":"comments","unicode":"f086","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Up Outlined","icon":"thumbs-o-up","unicode":"f087","created":1,"categories":["Web Application Icons"]},{"name":"Thumbs Down Outlined","icon":"thumbs-o-down","unicode":"f088","created":1,"categories":["Web Application Icons"]},{"name":"star-half","icon":"star-half","unicode":"f089","created":1,"categories":["Web Application Icons"]},{"name":"Heart Outlined","icon":"heart-o","unicode":"f08a","created":1,"categories":["Web Application Icons"]},{"name":"Sign Out","icon":"sign-out","unicode":"f08b","created":1,"categories":["Web Application Icons"]},{"name":"LinkedIn Square","icon":"linkedin-square","unicode":"f08c","created":1,"categories":["Brand Icons"]},{"name":"Thumb Tack","icon":"thumb-tack","unicode":"f08d","created":1,"categories":["Web Application Icons"]},{"name":"External Link","icon":"external-link","unicode":"f08e","created":1,"categories":["Web Application Icons"]},{"name":"Sign In","icon":"sign-in","unicode":"f090","created":1,"categories":["Web Application Icons"]},{"name":"trophy","icon":"trophy","unicode":"f091","created":1,"categories":["Web Application Icons"]},{"name":"GitHub Square","icon":"github-square","unicode":"f092","created":1,"categories":["Brand Icons"]},{"name":"Upload","icon":"upload","unicode":"f093","created":1,"categories":["Web Application Icons"]},{"name":"Lemon Outlined","icon":"lemon-o","unicode":"f094","created":1,"categories":["Web Application Icons"]},{"name":"Phone","icon":"phone","unicode":"f095","created":2,"categories":["Web Application Icons"]},{"name":"Square Outlined","icon":"square-o","unicode":"f096","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bookmark Outlined","icon":"bookmark-o","unicode":"f097","created":2,"categories":["Web Application Icons"]},{"name":"Phone Square","icon":"phone-square","unicode":"f098","created":2,"categories":["Web Application Icons"]},{"name":"Twitter","icon":"twitter","unicode":"f099","created":2,"categories":["Brand Icons"]},{"name":"Facebook","icon":"facebook","unicode":"f09a","created":2,"categories":["Brand Icons"]},{"name":"GitHub","icon":"github","unicode":"f09b","created":2,"categories":["Brand Icons"]},{"name":"unlock","icon":"unlock","unicode":"f09c","created":2,"categories":["Web Application Icons"]},{"name":"credit-card","icon":"credit-card","unicode":"f09d","created":2,"categories":["Web Application Icons"]},{"name":"rss","icon":"rss","unicode":"f09e","created":2,"categories":["Web Application Icons"]},{"name":"HDD","icon":"hdd-o","unicode":"f0a0","created":2,"categories":["Web Application Icons"]},{"name":"bullhorn","icon":"bullhorn","unicode":"f0a1","created":2,"categories":["Web Application Icons"]},{"name":"bell","icon":"bell","unicode":"f0f3","created":2,"categories":["Web Application Icons"]},{"name":"certificate","icon":"certificate","unicode":"f0a3","created":2,"categories":["Web Application Icons"]},{"name":"Hand Outlined Right","icon":"hand-o-right","unicode":"f0a4","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Left","icon":"hand-o-left","unicode":"f0a5","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Up","icon":"hand-o-up","unicode":"f0a6","created":2,"categories":["Directional Icons"]},{"name":"Hand Outlined Down","icon":"hand-o-down","unicode":"f0a7","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Left","icon":"arrow-circle-left","unicode":"f0a8","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Right","icon":"arrow-circle-right","unicode":"f0a9","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Up","icon":"arrow-circle-up","unicode":"f0aa","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Down","icon":"arrow-circle-down","unicode":"f0ab","created":2,"categories":["Directional Icons"]},{"name":"Globe","icon":"globe","unicode":"f0ac","created":2,"categories":["Web Application Icons"]},{"name":"Wrench","icon":"wrench","unicode":"f0ad","created":2,"categories":["Web Application Icons"]},{"name":"Tasks","icon":"tasks","unicode":"f0ae","created":2,"categories":["Web Application Icons"]},{"name":"Filter","icon":"filter","unicode":"f0b0","created":2,"categories":["Web Application Icons"]},{"name":"Briefcase","icon":"briefcase","unicode":"f0b1","created":2,"categories":["Web Application Icons"]},{"name":"Arrows Alt","icon":"arrows-alt","unicode":"f0b2","created":2,"categories":["Video Player Icons","Directional Icons"]},{"name":"Users","icon":"users","unicode":"f0c0","created":2,"aliases":["group"],"categories":["Web Application Icons"]},{"name":"Link","icon":"link","unicode":"f0c1","created":2,"aliases":["chain"],"categories":["Text Editor Icons"]},{"name":"Cloud","icon":"cloud","unicode":"f0c2","created":2,"categories":["Web Application Icons"]},{"name":"Flask","icon":"flask","unicode":"f0c3","created":2,"categories":["Web Application Icons"]},{"name":"Scissors","icon":"scissors","unicode":"f0c4","created":2,"aliases":["cut"],"categories":["Text Editor Icons"]},{"name":"Files Outlined","icon":"files-o","unicode":"f0c5","created":2,"aliases":["copy"],"categories":["Text Editor Icons"]},{"name":"Paperclip","icon":"paperclip","unicode":"f0c6","created":2,"categories":["Text Editor Icons"]},{"name":"Floppy Outlined","icon":"floppy-o","unicode":"f0c7","created":2,"aliases":["save"],"categories":["Text Editor Icons"]},{"name":"Square","icon":"square","unicode":"f0c8","created":2,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bars","icon":"bars","unicode":"f0c9","created":2,"aliases":["navicon","reorder"],"categories":["Web Application Icons"]},{"name":"list-ul","icon":"list-ul","unicode":"f0ca","created":2,"categories":["Text Editor Icons"]},{"name":"list-ol","icon":"list-ol","unicode":"f0cb","created":2,"categories":["Text Editor Icons"]},{"name":"Strikethrough","icon":"strikethrough","unicode":"f0cc","created":2,"categories":["Text Editor Icons"]},{"name":"Underline","icon":"underline","unicode":"f0cd","created":2,"categories":["Text Editor Icons"]},{"name":"table","icon":"table","unicode":"f0ce","created":2,"categories":["Text Editor Icons"]},{"name":"magic","icon":"magic","unicode":"f0d0","created":2,"categories":["Web Application Icons"]},{"name":"truck","icon":"truck","unicode":"f0d1","created":2,"categories":["Web Application Icons"]},{"name":"Pinterest","icon":"pinterest","unicode":"f0d2","created":2,"categories":["Brand Icons"]},{"name":"Pinterest Square","icon":"pinterest-square","unicode":"f0d3","created":2,"categories":["Brand Icons"]},{"name":"Google Plus Square","icon":"google-plus-square","unicode":"f0d4","created":2,"categories":["Brand Icons"]},{"name":"Google Plus","icon":"google-plus","unicode":"f0d5","created":2,"categories":["Brand Icons"]},{"name":"Money","icon":"money","unicode":"f0d6","created":2,"categories":["Web Application Icons","Currency Icons"]},{"name":"Caret Down","icon":"caret-down","unicode":"f0d7","created":2,"categories":["Directional Icons"]},{"name":"Caret Up","icon":"caret-up","unicode":"f0d8","created":2,"categories":["Directional Icons"]},{"name":"Caret Left","icon":"caret-left","unicode":"f0d9","created":2,"categories":["Directional Icons"]},{"name":"Caret Right","icon":"caret-right","unicode":"f0da","created":2,"categories":["Directional Icons"]},{"name":"Columns","icon":"columns","unicode":"f0db","created":2,"categories":["Text Editor Icons"]},{"name":"Sort","icon":"sort","unicode":"f0dc","created":2,"aliases":["unsorted"],"categories":["Web Application Icons"]},{"name":"Sort Descending","icon":"sort-desc","unicode":"f0dd","created":2,"aliases":["sort-down"],"categories":["Web Application Icons"]},{"name":"Sort Ascending","icon":"sort-asc","unicode":"f0de","created":2,"aliases":["sort-up"],"categories":["Web Application Icons"]},{"name":"Envelope","icon":"envelope","unicode":"f0e0","created":2,"categories":["Web Application Icons"]},{"name":"LinkedIn","icon":"linkedin","unicode":"f0e1","created":2,"categories":["Brand Icons"]},{"name":"Undo","icon":"undo","unicode":"f0e2","created":2,"aliases":["rotate-left"],"categories":["Text Editor Icons"]},{"name":"Gavel","icon":"gavel","unicode":"f0e3","created":2,"aliases":["legal"],"categories":["Web Application Icons"]},{"name":"Tachometer","icon":"tachometer","unicode":"f0e4","created":2,"aliases":["dashboard"],"categories":["Web Application Icons"]},{"name":"comment-o","icon":"comment-o","unicode":"f0e5","created":2,"categories":["Web Application Icons"]},{"name":"comments-o","icon":"comments-o","unicode":"f0e6","created":2,"categories":["Web Application Icons"]},{"name":"Lightning Bolt","icon":"bolt","unicode":"f0e7","created":2,"aliases":["flash"],"categories":["Web Application Icons"]},{"name":"Sitemap","icon":"sitemap","unicode":"f0e8","created":2,"categories":["Web Application Icons"]},{"name":"Umbrella","icon":"umbrella","unicode":"f0e9","created":2,"categories":["Web Application Icons"]},{"name":"Clipboard","icon":"clipboard","unicode":"f0ea","created":2,"aliases":["paste"],"categories":["Text Editor Icons"]},{"name":"Lightbulb Outlined","icon":"lightbulb-o","unicode":"f0eb","created":3,"categories":["Web Application Icons"]},{"name":"Exchange","icon":"exchange","unicode":"f0ec","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Download","icon":"cloud-download","unicode":"f0ed","created":3,"categories":["Web Application Icons"]},{"name":"Cloud Upload","icon":"cloud-upload","unicode":"f0ee","created":3,"categories":["Web Application Icons"]},{"name":"user-md","icon":"user-md","unicode":"f0f0","created":2,"categories":["Medical Icons"]},{"name":"Stethoscope","icon":"stethoscope","unicode":"f0f1","created":3,"categories":["Medical Icons"]},{"name":"Suitcase","icon":"suitcase","unicode":"f0f2","created":3,"categories":["Web Application Icons"]},{"name":"Bell Outlined","icon":"bell-o","unicode":"f0a2","created":3,"categories":["Web Application Icons"]},{"name":"Coffee","icon":"coffee","unicode":"f0f4","created":3,"categories":["Web Application Icons"]},{"name":"Cutlery","icon":"cutlery","unicode":"f0f5","created":3,"categories":["Web Application Icons"]},{"name":"File Text Outlined","icon":"file-text-o","unicode":"f0f6","created":3,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Building Outlined","icon":"building-o","unicode":"f0f7","created":3,"categories":["Web Application Icons"]},{"name":"hospital Outlined","icon":"hospital-o","unicode":"f0f8","created":3,"categories":["Medical Icons"]},{"name":"ambulance","icon":"ambulance","unicode":"f0f9","created":3,"categories":["Medical Icons"]},{"name":"medkit","icon":"medkit","unicode":"f0fa","created":3,"categories":["Medical Icons"]},{"name":"fighter-jet","icon":"fighter-jet","unicode":"f0fb","created":3,"categories":["Web Application Icons"]},{"name":"beer","icon":"beer","unicode":"f0fc","created":3,"categories":["Web Application Icons"]},{"name":"H Square","icon":"h-square","unicode":"f0fd","created":3,"categories":["Medical Icons"]},{"name":"Plus Square","icon":"plus-square","unicode":"f0fe","created":3,"categories":["Medical Icons","Web Application Icons","Form Control Icons"]},{"name":"Angle Double Left","icon":"angle-double-left","unicode":"f100","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Right","icon":"angle-double-right","unicode":"f101","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Up","icon":"angle-double-up","unicode":"f102","created":3,"categories":["Directional Icons"]},{"name":"Angle Double Down","icon":"angle-double-down","unicode":"f103","created":3,"categories":["Directional Icons"]},{"name":"angle-left","icon":"angle-left","unicode":"f104","created":3,"categories":["Directional Icons"]},{"name":"angle-right","icon":"angle-right","unicode":"f105","created":3,"categories":["Directional Icons"]},{"name":"angle-up","icon":"angle-up","unicode":"f106","created":3,"categories":["Directional Icons"]},{"name":"angle-down","icon":"angle-down","unicode":"f107","created":3,"categories":["Directional Icons"]},{"name":"Desktop","icon":"desktop","unicode":"f108","created":3,"categories":["Web Application Icons"]},{"name":"Laptop","icon":"laptop","unicode":"f109","created":3,"categories":["Web Application Icons"]},{"name":"tablet","icon":"tablet","unicode":"f10a","created":3,"categories":["Web Application Icons"]},{"name":"Mobile Phone","icon":"mobile","unicode":"f10b","created":3,"aliases":["mobile-phone"],"categories":["Web Application Icons"]},{"name":"Circle Outlined","icon":"circle-o","unicode":"f10c","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"quote-left","icon":"quote-left","unicode":"f10d","created":3,"categories":["Web Application Icons"]},{"name":"quote-right","icon":"quote-right","unicode":"f10e","created":3,"categories":["Web Application Icons"]},{"name":"Spinner","icon":"spinner","unicode":"f110","created":3,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Circle","icon":"circle","unicode":"f111","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Reply","icon":"reply","unicode":"f112","created":3,"aliases":["mail-reply"],"categories":["Web Application Icons"]},{"name":"GitHub Alt","icon":"github-alt","unicode":"f113","created":3,"categories":["Brand Icons"]},{"name":"Folder Outlined","icon":"folder-o","unicode":"f114","created":3,"categories":["Web Application Icons"]},{"name":"Folder Open Outlined","icon":"folder-open-o","unicode":"f115","created":3,"categories":["Web Application Icons"]},{"name":"Smile Outlined","icon":"smile-o","unicode":"f118","created":3.1,"categories":["Web Application Icons"]},{"name":"Frown Outlined","icon":"frown-o","unicode":"f119","created":3.1,"categories":["Web Application Icons"]},{"name":"Meh Outlined","icon":"meh-o","unicode":"f11a","created":3.1,"categories":["Web Application Icons"]},{"name":"Gamepad","icon":"gamepad","unicode":"f11b","created":3.1,"categories":["Web Application Icons"]},{"name":"Keyboard Outlined","icon":"keyboard-o","unicode":"f11c","created":3.1,"categories":["Web Application Icons"]},{"name":"Flag Outlined","icon":"flag-o","unicode":"f11d","created":3.1,"categories":["Web Application Icons"]},{"name":"flag-checkered","icon":"flag-checkered","unicode":"f11e","created":3.1,"categories":["Web Application Icons"]},{"name":"Terminal","icon":"terminal","unicode":"f120","created":3.1,"categories":["Web Application Icons"]},{"name":"Code","icon":"code","unicode":"f121","created":3.1,"categories":["Web Application Icons"]},{"name":"reply-all","icon":"reply-all","unicode":"f122","created":3.1,"aliases":["mail-reply-all"],"categories":["Web Application Icons"]},{"name":"Star Half Outlined","icon":"star-half-o","unicode":"f123","created":3.1,"aliases":["star-half-empty","star-half-full"],"categories":["Web Application Icons"]},{"name":"location-arrow","icon":"location-arrow","unicode":"f124","created":3.1,"categories":["Web Application Icons"]},{"name":"crop","icon":"crop","unicode":"f125","created":3.1,"categories":["Web Application Icons"]},{"name":"code-fork","icon":"code-fork","unicode":"f126","created":3.1,"categories":["Web Application Icons"]},{"name":"Chain Broken","icon":"chain-broken","unicode":"f127","created":3.1,"aliases":["unlink"],"categories":["Text Editor Icons"]},{"name":"Question","icon":"question","unicode":"f128","created":3.1,"categories":["Web Application Icons"]},{"name":"Info","icon":"info","unicode":"f129","created":3.1,"categories":["Web Application Icons"]},{"name":"exclamation","icon":"exclamation","unicode":"f12a","created":3.1,"categories":["Web Application Icons"]},{"name":"superscript","icon":"superscript","unicode":"f12b","created":3.1,"categories":["Text Editor Icons"]},{"name":"subscript","icon":"subscript","unicode":"f12c","created":3.1,"categories":["Text Editor Icons"]},{"name":"eraser","icon":"eraser","unicode":"f12d","created":3.1,"categories":["Text Editor Icons","Web Application Icons"]},{"name":"Puzzle Piece","icon":"puzzle-piece","unicode":"f12e","created":3.1,"categories":["Web Application Icons"]},{"name":"microphone","icon":"microphone","unicode":"f130","created":3.1,"categories":["Web Application Icons"]},{"name":"Microphone Slash","icon":"microphone-slash","unicode":"f131","created":3.1,"categories":["Web Application Icons"]},{"name":"shield","icon":"shield","unicode":"f132","created":3.1,"categories":["Web Application Icons"]},{"name":"calendar-o","icon":"calendar-o","unicode":"f133","created":3.1,"categories":["Web Application Icons"]},{"name":"fire-extinguisher","icon":"fire-extinguisher","unicode":"f134","created":3.1,"categories":["Web Application Icons"]},{"name":"rocket","icon":"rocket","unicode":"f135","created":3.1,"categories":["Web Application Icons"]},{"name":"MaxCDN","icon":"maxcdn","unicode":"f136","created":3.1,"categories":["Brand Icons"]},{"name":"Chevron Circle Left","icon":"chevron-circle-left","unicode":"f137","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Right","icon":"chevron-circle-right","unicode":"f138","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Up","icon":"chevron-circle-up","unicode":"f139","created":3.1,"categories":["Directional Icons"]},{"name":"Chevron Circle Down","icon":"chevron-circle-down","unicode":"f13a","created":3.1,"categories":["Directional Icons"]},{"name":"HTML 5 Logo","icon":"html5","unicode":"f13b","created":3.1,"categories":["Brand Icons"]},{"name":"CSS 3 Logo","icon":"css3","unicode":"f13c","created":3.1,"categories":["Brand Icons"]},{"name":"Anchor","icon":"anchor","unicode":"f13d","created":3.1,"categories":["Web Application Icons"]},{"name":"Unlock Alt","icon":"unlock-alt","unicode":"f13e","created":3.1,"categories":["Web Application Icons"]},{"name":"Bullseye","icon":"bullseye","unicode":"f140","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Horizontal","icon":"ellipsis-h","unicode":"f141","created":3.1,"categories":["Web Application Icons"]},{"name":"Ellipsis Vertical","icon":"ellipsis-v","unicode":"f142","created":3.1,"categories":["Web Application Icons"]},{"name":"RSS Square","icon":"rss-square","unicode":"f143","created":3.1,"categories":["Web Application Icons"]},{"name":"Play Circle","icon":"play-circle","unicode":"f144","created":3.1,"categories":["Video Player Icons"]},{"name":"Ticket","icon":"ticket","unicode":"f145","created":3.1,"categories":["Web Application Icons"]},{"name":"Minus Square","icon":"minus-square","unicode":"f146","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Minus Square Outlined","icon":"minus-square-o","unicode":"f147","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Level Up","icon":"level-up","unicode":"f148","created":3.1,"categories":["Web Application Icons"]},{"name":"Level Down","icon":"level-down","unicode":"f149","created":3.1,"categories":["Web Application Icons"]},{"name":"Check Square","icon":"check-square","unicode":"f14a","created":3.1,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Pencil Square","icon":"pencil-square","unicode":"f14b","created":3.1,"categories":["Web Application Icons"]},{"name":"External Link Square","icon":"external-link-square","unicode":"f14c","created":3.1,"categories":["Web Application Icons"]},{"name":"Share Square","icon":"share-square","unicode":"f14d","created":3.1,"categories":["Web Application Icons"]},{"name":"Compass","icon":"compass","unicode":"f14e","created":3.2,"categories":["Web Application Icons"]},{"name":"Caret Square Outlined Down","icon":"caret-square-o-down","unicode":"f150","created":3.2,"aliases":["toggle-down"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Up","icon":"caret-square-o-up","unicode":"f151","created":3.2,"aliases":["toggle-up"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Right","icon":"caret-square-o-right","unicode":"f152","created":3.2,"aliases":["toggle-right"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Euro (EUR)","icon":"eur","unicode":"f153","created":3.2,"aliases":["euro"],"categories":["Currency Icons"]},{"name":"GBP","icon":"gbp","unicode":"f154","created":3.2,"categories":["Currency Icons"]},{"name":"US Dollar","icon":"usd","unicode":"f155","created":3.2,"aliases":["dollar"],"categories":["Currency Icons"]},{"name":"Indian Rupee (INR)","icon":"inr","unicode":"f156","created":3.2,"aliases":["rupee"],"categories":["Currency Icons"]},{"name":"Japanese Yen (JPY)","icon":"jpy","unicode":"f157","created":3.2,"aliases":["cny","rmb","yen"],"categories":["Currency Icons"]},{"name":"Russian Ruble (RUB)","icon":"rub","unicode":"f158","created":4,"aliases":["ruble","rouble"],"categories":["Currency Icons"]},{"name":"Korean Won (KRW)","icon":"krw","unicode":"f159","created":3.2,"aliases":["won"],"categories":["Currency Icons"]},{"name":"Bitcoin (BTC)","icon":"btc","unicode":"f15a","created":3.2,"aliases":["bitcoin"],"categories":["Currency Icons","Brand Icons"]},{"name":"File","icon":"file","unicode":"f15b","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"File Text","icon":"file-text","unicode":"f15c","created":3.2,"categories":["Text Editor Icons","File Type Icons"]},{"name":"Sort Alpha Ascending","icon":"sort-alpha-asc","unicode":"f15d","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Alpha Descending","icon":"sort-alpha-desc","unicode":"f15e","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Ascending","icon":"sort-amount-asc","unicode":"f160","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Descending","icon":"sort-amount-desc","unicode":"f161","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Ascending","icon":"sort-numeric-asc","unicode":"f162","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Descending","icon":"sort-numeric-desc","unicode":"f163","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-up","icon":"thumbs-up","unicode":"f164","created":3.2,"categories":["Web Application Icons"]},{"name":"thumbs-down","icon":"thumbs-down","unicode":"f165","created":3.2,"categories":["Web Application Icons"]},{"name":"YouTube Square","icon":"youtube-square","unicode":"f166","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube","icon":"youtube","unicode":"f167","created":3.2,"categories":["Brand Icons"]},{"name":"Xing","icon":"xing","unicode":"f168","created":3.2,"categories":["Brand Icons"]},{"name":"Xing Square","icon":"xing-square","unicode":"f169","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube Play","icon":"youtube-play","unicode":"f16a","created":3.2,"categories":["Brand Icons","Video Player Icons"]},{"name":"Dropbox","icon":"dropbox","unicode":"f16b","created":3.2,"categories":["Brand Icons"]},{"name":"Stack Overflow","icon":"stack-overflow","unicode":"f16c","created":3.2,"categories":["Brand Icons"]},{"name":"Instagram","icon":"instagram","unicode":"f16d","created":3.2,"categories":["Brand Icons"]},{"name":"Flickr","icon":"flickr","unicode":"f16e","created":3.2,"categories":["Brand Icons"]},{"name":"App.net","icon":"adn","unicode":"f170","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket","icon":"bitbucket","unicode":"f171","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket Square","icon":"bitbucket-square","unicode":"f172","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr","icon":"tumblr","unicode":"f173","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr Square","icon":"tumblr-square","unicode":"f174","created":3.2,"categories":["Brand Icons"]},{"name":"Long Arrow Down","icon":"long-arrow-down","unicode":"f175","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Up","icon":"long-arrow-up","unicode":"f176","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Left","icon":"long-arrow-left","unicode":"f177","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Right","icon":"long-arrow-right","unicode":"f178","created":3.2,"categories":["Directional Icons"]},{"name":"Apple","icon":"apple","unicode":"f179","created":3.2,"categories":["Brand Icons"]},{"name":"Windows","icon":"windows","unicode":"f17a","created":3.2,"categories":["Brand Icons"]},{"name":"Android","icon":"android","unicode":"f17b","created":3.2,"categories":["Brand Icons"]},{"name":"Linux","icon":"linux","unicode":"f17c","created":3.2,"categories":["Brand Icons"]},{"name":"Dribbble","icon":"dribbble","unicode":"f17d","created":3.2,"categories":["Brand Icons"]},{"name":"Skype","icon":"skype","unicode":"f17e","created":3.2,"categories":["Brand Icons"]},{"name":"Foursquare","icon":"foursquare","unicode":"f180","created":3.2,"categories":["Brand Icons"]},{"name":"Trello","icon":"trello","unicode":"f181","created":3.2,"categories":["Brand Icons"]},{"name":"Female","icon":"female","unicode":"f182","created":3.2,"categories":["Web Application Icons"]},{"name":"Male","icon":"male","unicode":"f183","created":3.2,"categories":["Web Application Icons"]},{"name":"Gittip","icon":"gittip","unicode":"f184","created":3.2,"categories":["Brand Icons"]},{"name":"Sun Outlined","icon":"sun-o","unicode":"f185","created":3.2,"categories":["Web Application Icons"]},{"name":"Moon Outlined","icon":"moon-o","unicode":"f186","created":3.2,"categories":["Web Application Icons"]},{"name":"Archive","icon":"archive","unicode":"f187","created":3.2,"categories":["Web Application Icons"]},{"name":"Bug","icon":"bug","unicode":"f188","created":3.2,"categories":["Web Application Icons"]},{"name":"VK","icon":"vk","unicode":"f189","created":3.2,"categories":["Brand Icons"]},{"name":"Weibo","icon":"weibo","unicode":"f18a","created":3.2,"categories":["Brand Icons"]},{"name":"Renren","icon":"renren","unicode":"f18b","created":3.2,"categories":["Brand Icons"]},{"name":"Pagelines","icon":"pagelines","unicode":"f18c","created":4,"categories":["Brand Icons"]},{"name":"Stack Exchange","icon":"stack-exchange","unicode":"f18d","created":4,"categories":["Brand Icons"]},{"name":"Arrow Circle Outlined Right","icon":"arrow-circle-o-right","unicode":"f18e","created":4,"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Left","icon":"arrow-circle-o-left","unicode":"f190","created":4,"categories":["Directional Icons"]},{"name":"Caret Square Outlined Left","icon":"caret-square-o-left","unicode":"f191","created":4,"aliases":["toggle-left"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Dot Circle O","icon":"dot-circle-o","unicode":"f192","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Wheelchair","icon":"wheelchair","unicode":"f193","created":4,"categories":["Web Application Icons","Medical Icons"]},{"name":"Vimeo Square","icon":"vimeo-square","unicode":"f194","created":4,"categories":["Brand Icons"]},{"name":"Turkish Lira (TRY)","icon":"try","unicode":"f195","created":4,"aliases":["turkish-lira"],"categories":["Currency Icons"]},{"name":"Plus Square Outlined","icon":"plus-square-o","unicode":"f196","created":4,"categories":["Web Application Icons","Form Control Icons"]},{"name":"Space Shuttle","icon":"space-shuttle","unicode":"f197","created":4.1,"categories":["Web Application Icons"]},{"name":"Slack Logo","icon":"slack","unicode":"f198","created":4.1,"categories":["Brand Icons"]},{"name":"Envelope Square","icon":"envelope-square","unicode":"f199","created":4.1,"categories":["Web Application Icons"]},{"name":"Wordpress Logo","icon":"wordpress","unicode":"f19a","created":4.1,"categories":["Brand Icons"]},{"name":"OpenID","icon":"openid","unicode":"f19b","created":4.1,"categories":["Brand Icons"]},{"name":"University","icon":"university","unicode":"f19c","created":4.1,"aliases":["institution","bank"],"categories":["Web Application Icons"]},{"name":"Graduation Cap","icon":"graduation-cap","unicode":"f19d","created":4.1,"aliases":["mortar-board"],"categories":["Web Application Icons"]},{"name":"Yahoo Logo","icon":"yahoo","unicode":"f19e","created":4.1,"categories":["Brand Icons"]},{"name":"Google Logo","icon":"google","unicode":"f1a0","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Logo","icon":"reddit","unicode":"f1a1","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Square","icon":"reddit-square","unicode":"f1a2","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Circle","icon":"stumbleupon-circle","unicode":"f1a3","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Logo","icon":"stumbleupon","unicode":"f1a4","created":4.1,"categories":["Brand Icons"]},{"name":"Delicious Logo","icon":"delicious","unicode":"f1a5","created":4.1,"categories":["Brand Icons"]},{"name":"Digg Logo","icon":"digg","unicode":"f1a6","created":4.1,"categories":["Brand Icons"]},{"name":"Pied Piper Logo","icon":"pied-piper","unicode":"f1a7","created":4.1,"categories":["Brand Icons"],"aliases":["pied-piper-square"]},{"name":"Pied Piper Alternate Logo","icon":"pied-piper-alt","unicode":"f1a8","created":4.1,"categories":["Brand Icons"]},{"name":"Drupal Logo","icon":"drupal","unicode":"f1a9","created":4.1,"categories":["Brand Icons"]},{"name":"Joomla Logo","icon":"joomla","unicode":"f1aa","created":4.1,"categories":["Brand Icons"]},{"name":"Language","icon":"language","unicode":"f1ab","created":4.1,"categories":["Web Application Icons"]},{"name":"Fax","icon":"fax","unicode":"f1ac","created":4.1,"categories":["Web Application Icons"]},{"name":"Building","icon":"building","unicode":"f1ad","created":4.1,"categories":["Web Application Icons"]},{"name":"Child","icon":"child","unicode":"f1ae","created":4.1,"categories":["Web Application Icons"]},{"name":"Paw","icon":"paw","unicode":"f1b0","created":4.1,"categories":["Web Application Icons"]},{"name":"spoon","icon":"spoon","unicode":"f1b1","created":4.1,"categories":["Web Application Icons"]},{"name":"Cube","icon":"cube","unicode":"f1b2","created":4.1,"categories":["Web Application Icons"]},{"name":"Cubes","icon":"cubes","unicode":"f1b3","created":4.1,"categories":["Web Application Icons"]},{"name":"Behance","icon":"behance","unicode":"f1b4","created":4.1,"categories":["Brand Icons"]},{"name":"Behance Square","icon":"behance-square","unicode":"f1b5","created":4.1,"categories":["Brand Icons"]},{"name":"Steam","icon":"steam","unicode":"f1b6","created":4.1,"categories":["Brand Icons"]},{"name":"Steam Square","icon":"steam-square","unicode":"f1b7","created":4.1,"categories":["Brand Icons"]},{"name":"Recycle","icon":"recycle","unicode":"f1b8","created":4.1,"categories":["Web Application Icons"]},{"name":"Car","icon":"car","unicode":"f1b9","created":4.1,"categories":["Web Application Icons"],"aliases":["automobile"]},{"name":"Taxi","icon":"taxi","unicode":"f1ba","created":4.1,"categories":["Web Application Icons"],"aliases":["cab"]},{"name":"Tree","icon":"tree","unicode":"f1bb","created":4.1,"categories":["Web Application Icons"]},{"name":"Spotify","icon":"spotify","unicode":"f1bc","created":4.1,"categories":["Brand Icons"]},{"name":"deviantART","icon":"deviantart","unicode":"f1bd","created":4.1,"categories":["Brand Icons"]},{"name":"SoundCloud","icon":"soundcloud","unicode":"f1be","created":4.1,"categories":["Brand Icons"]},{"name":"Database","icon":"database","unicode":"f1c0","created":4.1,"categories":["Web Application Icons"]},{"name":"PDF File Outlined","icon":"file-pdf-o","unicode":"f1c1","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Word File Outlined","icon":"file-word-o","unicode":"f1c2","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Excel File Outlined","icon":"file-excel-o","unicode":"f1c3","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Powerpoint File Outlined","icon":"file-powerpoint-o","unicode":"f1c4","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Image File Outlined","icon":"file-image-o","unicode":"f1c5","created":4.1,"aliases":["file-photo-o","file-picture-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Archive File Outlined","icon":"file-archive-o","unicode":"f1c6","created":4.1,"aliases":["file-zip-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Audio File Outlined","icon":"file-audio-o","unicode":"f1c7","created":4.1,"aliases":["file-sound-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Video File Outlined","icon":"file-video-o","unicode":"f1c8","created":4.1,"aliases":["file-movie-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Code File Outlined","icon":"file-code-o","unicode":"f1c9","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Vine","icon":"vine","unicode":"f1ca","created":4.1,"categories":["Brand Icons"]},{"name":"Codepen","icon":"codepen","unicode":"f1cb","created":4.1,"categories":["Brand Icons"]},{"name":"jsFiddle","icon":"jsfiddle","unicode":"f1cc","created":4.1,"categories":["Brand Icons"]},{"name":"Life Ring","icon":"life-ring","unicode":"f1cd","created":4.1,"aliases":["life-bouy","life-saver","support"],"categories":["Web Application Icons"]},{"name":"Circle Outlined Notched","icon":"circle-o-notch","unicode":"f1ce","created":4.1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Rebel Alliance","icon":"rebel","unicode":"f1d0","created":4.1,"aliases":["ra"],"categories":["Brand Icons"]},{"name":"Galactic Empire","icon":"empire","unicode":"f1d1","created":4.1,"aliases":["ge"],"categories":["Brand Icons"]},{"name":"Git Square","icon":"git-square","unicode":"f1d2","created":4.1,"categories":["Brand Icons"]},{"name":"Git","icon":"git","unicode":"f1d3","created":4.1,"categories":["Brand Icons"]},{"name":"Hacker News","icon":"hacker-news","unicode":"f1d4","created":4.1,"categories":["Brand Icons"]},{"name":"Tencent Weibo","icon":"tencent-weibo","unicode":"f1d5","created":4.1,"categories":["Brand Icons"]},{"name":"QQ","icon":"qq","unicode":"f1d6","created":4.1,"categories":["Brand Icons"]},{"name":"Weixin (WeChat)","icon":"weixin","unicode":"f1d7","created":4.1,"aliases":["wechat"],"categories":["Brand Icons"]},{"name":"Paper Plane","icon":"paper-plane","unicode":"f1d8","created":4.1,"aliases":["send"],"categories":["Web Application Icons"]},{"name":"Paper Plane Outlined","icon":"paper-plane-o","unicode":"f1d9","created":4.1,"aliases":["send-o"],"categories":["Web Application Icons"]},{"name":"History","icon":"history","unicode":"f1da","created":4.1,"categories":["Web Application Icons"]},{"name":"Circle Outlined Thin","icon":"circle-thin","unicode":"f1db","created":4.1,"categories":["Web Application Icons"]},{"name":"header","icon":"header","unicode":"f1dc","created":4.1,"categories":["Text Editor Icons"]},{"name":"paragraph","icon":"paragraph","unicode":"f1dd","created":4.1,"categories":["Text Editor Icons"]},{"name":"Sliders","icon":"sliders","unicode":"f1de","created":4.1,"categories":["Web Application Icons"]},{"name":"Share Alt","icon":"share-alt","unicode":"f1e0","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Share Alt Square","icon":"share-alt-square","unicode":"f1e1","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Bomb","icon":"bomb","unicode":"f1e2","created":4.1,"categories":["Web Application Icons"]}]}');function Pr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Cr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Cr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var Br=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 17.5c2.33 0 4.3-1.46 5.11-3.5H6.89c.8 2.04 2.78 3.5 5.11 3.5M8.5 11A1.5 1.5 0 0 0 10 9.5A1.5 1.5 0 0 0 8.5 8A1.5 1.5 0 0 0 7 9.5A1.5 1.5 0 0 0 8.5 11m7 0A1.5 1.5 0 0 0 17 9.5A1.5 1.5 0 0 0 15.5 8A1.5 1.5 0 0 0 14 9.5a1.5 1.5 0 0 0 1.5 1.5M12 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8a8 8 0 0 1 8 8a8 8 0 0 1-8 8m0-18C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"})),Ar=null,Sr=function e(t){var o=Pr((0,qe.useState)(!1),2),r=o[0],n=o[1],a=Pr((0,qe.useState)(!1),2),l=a[0],i=a[1],c=Pr((0,qe.useState)("fontawesome"),2),s=c[0],u=c[1],d=Pr((0,qe.useState)([]),2),m=d[0],p=d[1],g=Pr((0,qe.useState)(!1),2),f=g[0],b=g[1],y=Pr((0,qe.useState)(""),2),R=y[0],_=y[1],w=Pr((0,qe.useState)(null==m?void 0:m.length),2),h=w[0],E=w[1],v=Pr((0,qe.useState)(1),2),O=v[0],P=v[1],C=(0,ko.useInstanceId)(e,"iconControl"),B=null!==t.showReset?t.showReset:void 0!==t.value&&t.value!==t.defaultValue&&t.value!==t.placeholder,A=function(e,t,o){return e.slice((o-1)*t,o*t)};(0,qe.useEffect)((function(){var e,t,o,r=(e=R,t=Or[s],o=e.toLowerCase(),t.filter((function(e){return e.name.toLowerCase().indexOf(o)>=0})));E(null==r?void 0:r.length),p(A(r,25,O))}),[O,R]),(0,qe.useEffect)((function(){P(1)}),[R]),(0,qe.useEffect)((function(){return clearTimeout(Ar),b(!0),Ar=setTimeout((function(){var e;P(1),p(A(Or[s],25,O)),E(null===(e=Or[s])||void 0===e?void 0:e.length),b(!1)}),200),function(){clearTimeout(Ar)}}),[s]),(0,qe.useEffect)((function(){b(!1)}),[]);var S,W,k=function(e){P("prev"===e?O-1:O+1)},T="dashicon"===s?"dashicons":"fa";return React.createElement("div",{className:"woolentor-icon-control-area woolentor-icon-control-".concat(C)},React.createElement("div",{className:"woolentor-icon-control-wrapper"},React.createElement("div",{className:"woolentor-icon-control-button-wrapper"},React.createElement("div",{className:"woolentor-icon-label"},t.label),React.createElement("div",{className:"woolentor-icon-control-buttons"},React.createElement(me.Button,{variant:"secondary",className:"woolentor-icon-control-icon-button",onClick:function(){l?(n(!1),i(!1)):n(!0)}},t.value&&React.createElement("span",{className:t.value}),!t.value&&React.createElement(me.Icon,{icon:Br,style:{opacity:.3}})),t.allowReset&&B&&React.createElement(me.Button,{className:"woolentor-inspector-control-reset-button",variant:"tertiary","aria-label":(0,de.__)("Reset","woolentor"),onClick:function(){t.onReset?t.onReset():t.onChange(t.defaultValue)},icon:React.createElement(me.Dashicon,{icon:"image-rotate"})})),r&&React.createElement(me.Popover,{className:"woolentor-icon-popover",onFocusOutside:function(e){e.target&&e.target.closest(".woolentor-icon-control-".concat(C))?i(!0):(n(!1),i(!1))},onClose:function(){return n(!1)},position:t.position},React.createElement(me.PanelBody,null,React.createElement("div",{className:"woolentor-icon-filter-area"},React.createElement(me.SelectControl,{value:s,options:[{label:(0,de.__)("FontAwesome","woolentor"),value:"fontawesome"},{label:(0,de.__)("Dashicon","woolentor"),value:"dashicon"}],onChange:function(e){return u(e)}}),React.createElement(me.TextControl,{className:"woolentor-icon-popover-input",value:R,onChange:_,placeholder:(0,de.__)("Search for an icon","woolentor")})),React.createElement("div",{className:"woolentor-icon-popover-iconlist"},f&&React.createElement(me.Spinner,null),!f&&m.length>0&&m.map((function(e,o){var r=e.name,a=e.icon,l="".concat(T," ").concat(T,"-").concat(a);return React.createElement(me.Button,{key:o,onClick:function(){t.onChange(l!==t.value?l:t.value),n(!1)},label:r},React.createElement("span",{className:l}))})),!f&&!m.length&&React.createElement("p",{className:"components-base-control__help"},(0,de.__)("No Icons found !","woolentor"))),React.createElement("div",{className:"woolentor-icon-control-footer"},(S=h,W=Math.ceil(S/25),React.createElement(React.Fragment,null,React.createElement("span",{className:"woolentor-selector-pages"},"".concat(O," / ").concat(W," (").concat(S,")")),React.createElement("span",{className:"woolentor-next-prev-arrows"},1!==O&&React.createElement("span",{className:"woolentor-arrow-prev dashicons dashicons-arrow-left",onClick:function(){return k("prev")}}),W>O&&React.createElement("span",{className:"woolentor-arrow-next dashicons dashicons-arrow-right",onClick:function(){return k("next")}}))))))))))};Sr.defaultProps={label:(0,de.__)("Icon","woolentor"),value:"",defaultValue:"",onChange:function(){},allowReset:!0,showReset:null,position:"center"};const Wr=(0,qe.memo)(Sr);function kr(e){return kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kr(e)}function Tr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function xr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(o),!0).forEach((function(t){Lr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Lr(e,t,o){return r=function(e,t){if("object"!=kr(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==kr(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}function Nr(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var zr=function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Nr(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Nr(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(e.value),2),o=t[0],r=t[1],n=o.type,a=o.color,l=o.width,i=function(e,t){var n=xr({},o);n.hasOwnProperty(t)?n[t]=e:n=xr(xr({},n),{},Lr({},t,e)),r(n)};return(0,qe.useEffect)((function(){e.onChange(o)}),[o]),React.createElement($r,{label:e.label,popoverLabel:e.popoverLabel},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:n,options:[{label:(0,de.__)("None","woolentor"),value:""},{label:(0,de.__)("Solid","woolentor"),value:"solid"},{label:(0,de.__)("Double","woolentor"),value:"double"},{label:(0,de.__)("Dotted","woolentor"),value:"dotted"},{label:(0,de.__)("Dashed","woolentor"),value:"dashed"},{label:(0,de.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return i(e,"type")}}),void 0!==n&&""!=n&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:l,attributesKey:"width",setAttributes:function(e){r(xr(xr({},o),e))},responsive:e.responsive}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:a,onChange:function(e){return i(e,"color")}}))))};zr.defaultProps={label:(0,de.__)("Border","woolentor"),popoverLabel:(0,de.__)("Border","woolentor"),value:[],onChange:function(){},responsive:!0};const jr=(0,qe.memo)(zr),Ir=window.wp.hooks;function Mr(e){return Mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mr(e)}function Fr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Hr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(o),!0).forEach((function(t){Dr(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Dr(e,t,o){return(t=Gr(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function qr(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gr(r.key),r)}}function Gr(e){var t=function(e,t){if("object"!=Mr(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Mr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mr(t)?t:String(t)}function Kr(e,t,o){return t=Qr(t),function(e,t){if(t&&("object"===Mr(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Vr(e)}(e,Ur()?Reflect.construct(t,o||[],Qr(e).constructor):t.apply(e,o))}function Ur(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ur=function(){return!!e})()}function Qr(e){return Qr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qr(e)}function Vr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yr(e,t){return Yr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yr(e,t)}var Zr=1,Jr={},Xr=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Kr(this,t,arguments)).state={open:Jr[e.props.label]||!1,isMouseOutside:!1,showResetPopover:!1},e.handleOpen=e.handleOpen.bind(Vr(e)),e.handleClose=e.handleClose.bind(Vr(e)),e.handleMouseLeave=e.handleMouseLeave.bind(Vr(e)),e.handleMouseEnter=e.handleMouseEnter.bind(Vr(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Vr(e)),e.handleReset=e.handleReset.bind(Vr(e)),e.buttonRef=(0,qe.createRef)(),e.instanceId=Zr++,e}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yr(e,t)}(t,e),o=t,r=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var o=!1;return this.props.toggleOnSetAttributes.some((function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(o=!0,0))})),o?Hr(Hr({},e),{},Dr({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){(0,Ir.addFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9),document.addEventListener("mousedown",this.handleOnClickOutside)}},{key:"componentWillUnmount",value:function(){var e=this;Jr[this.props.label]=this.state.open,setTimeout((function(){delete Jr[e.props.label]}),500),(0,Ir.removeFilter)("woolentor.setAttributes","woolentor/button-icon-popover-control-".concat(this.instanceId)),document.removeEventListener("mousedown",this.handleOnClickOutside)}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleMouseLeave",value:function(){this.setState({isMouseOutside:!0})}},{key:"handleMouseEnter",value:function(){this.setState({isMouseOutside:!1})}},{key:"handleReset",value:function(){this.props.resetPopoverTitle||this.props.resetPopoverDescription?this.setState({showResetPopover:!0}):this.props.onReset()}},{key:"handleOnClickOutside",value:function(e){var t;null!==(t=window.wp)&&void 0!==t&&null!==(t=t.media)&&void 0!==t&&null!==(t=t.frame)&&void 0!==t&&null!==(t=t.el)&&void 0!==t&&t.clientHeight||this.state.open&&(e.target.closest(".woolentor-button-icon-control__popover")||e.target.closest(".woolentor-button-icon-control__edit")||e.target.closest(".components-color-picker")||this.handleClose())}},{key:"render",value:function(){var e=this;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(this.props);var t=this.props.allowReset||!!this.props.onToggle&&this.props.checked;return React.createElement(me.BaseControl,{help:this.props.help,label:!this.props.onToggle&&React.createElement("label",{htmlFor:"woolentor-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"woolentor-button-icon-control",className:Kt()("woolentor-button-icon-control",this.props.className)},this.props.onToggle&&React.createElement(me.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),React.createElement("div",{className:"woolentor-button-icon-control__wrapper"},React.createElement(me.Button,{onClick:this.handleOpen,className:"woolentor-button-icon-control__edit",label:(0,de.__)("Edit","woolentor"),variant:"secondary",icon:"edit",id:"woolentor-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&React.createElement(me.Popover,{className:"woolentor-button-icon-control__popover",focusOnMount:"container",onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter},React.createElement("div",{className:"woolentor-popover-heading"},(void 0!==this.props.popoverLabel?this.props.popoverLabel:this.props.label)&&React.createElement("span",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.allowReset&&t&&React.createElement(me.Button,{className:"woolentor-inspector-control__reset-button",isSmall:!0,isTertiary:!0,"aria-label":(0,de.__)("Reset","woolentor"),onClick:function(){e.props.onReset?e.props.onReset():e.props.onChange(e.props.defaultValue)},icon:React.createElement(me.Dashicon,{icon:"image-rotate"})})),React.createElement(me.PanelBody,null,this.props.children))))}}],r&&qr(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);Xr.defaultProps={help:"",label:"",popoverLabel:void 0,className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:"",renderCustomPreview:null};const $r=Xr,en=window.wp.url;function tn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return on(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?on(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function on(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}var rn=function(e){var t=tn((0,qe.useState)([]),2),o=t[0],r=t[1],n=tn(Co(e.attribute,e.valueCallback,e.changeCallback),2),a=n[0],l=n[1],i=void 0===e.label?"":e.label,c=void 0===e.value?a:e.value,s=void 0===e.onChange?l:e.onChange;(0,qe.useEffect)((function(){var e;e=(0,en.addQueryArgs)("/woolentor/v1/imagesizes",{wpnonce:woolentorData.security}),Ke()({path:e}).then((function(e){return r(e)}))}),[]);var u=function(){var e=[];return Object.keys(o).forEach((function(t){e.push({label:o[t],value:t})})),e};return u().length>0&&(0,qe.createElement)(me.SelectControl,{label:i,value:c,options:u(),onChange:s})};rn.defaultProps={attribute:"",label:void 0,value:void 0,onChange:void 0};const nn=(0,qe.memo)(rn);var an=[{label:(0,de.__)("H1","woolentor"),value:"h1"},{label:(0,de.__)("H2","woolentor"),value:"h2"},{label:(0,de.__)("H3","woolentor"),value:"h3"},{label:(0,de.__)("H4","woolentor"),value:"h4"},{label:(0,de.__)("H5","woolentor"),value:"h5"},{label:(0,de.__)("H6","woolentor"),value:"h6"},{label:(0,de.__)("P","woolentor"),value:"p"},{label:(0,de.__)("div","woolentor"),value:"div"},{label:(0,de.__)("span","woolentor"),value:"span"}],ln=[{label:(0,de.__)("None","woolentor"),value:""},{label:(0,de.__)("Solid","woolentor"),value:"solid"},{label:(0,de.__)("Double","woolentor"),value:"double"},{label:(0,de.__)("Dotted","woolentor"),value:"dotted"},{label:(0,de.__)("Dashed","woolentor"),value:"dashed"},{label:(0,de.__)("Groove","woolentor"),value:"groove"},{label:(0,de.__)("Inset","woolentor"),value:"inset"},{label:(0,de.__)("Outset","woolentor"),value:"outset"},{label:(0,de.__)("Ridge","woolentor"),value:"ridge"}];(0,de.__)("Recent Products","woolentor"),(0,de.__)("Featured Products","woolentor"),(0,de.__)("Best Selling Products","woolentor"),(0,de.__)("Sale Products","woolentor"),(0,de.__)("Top Rated Products","woolentor"),(0,de.__)("Mixed order Products","woolentor"),(0,de.__)("Descending","woolentor"),(0,de.__)("Ascending","woolentor"),(0,de.__)("None","woolentor"),(0,de.__)("ID","woolentor"),(0,de.__)("Date","woolentor"),(0,de.__)("Name","woolentor"),(0,de.__)("Title","woolentor"),(0,de.__)("Comment count","woolentor"),(0,de.__)("Random","woolentor"),(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-alignleft"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-aligncenter"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-alignright"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"editor-justify"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"desktop"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"laptop"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"tablet"})),(0,de.__)(React.createElement(me.Dashicon,{icon:"smartphone"}));const cn=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Title Tag","woolentor"),value:r,options:an,onChange:function(e){return o({titleTag:e})}}),React.createElement("hr",null),React.createElement(co,{label:(0,de.__)("Show Title","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})}})),React.createElement(co,{label:(0,de.__)("Show Description","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.showDescription,onChange:function(){return o({showDescription:!t.showDescription})}})),React.createElement(co,{label:(0,de.__)("Show Image","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.showImage,onChange:function(){return o({showImage:!t.showImage})}})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(fo,{label:(0,de.__)("Title","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(fo,{label:(0,de.__)("Description","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.descColor,onChange:function(e){return o({descColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descSize,fallbackFontSize:t.descSize,onChange:function(e){return o({descSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.descMargin,attributesKey:"descMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};var sn=function(){return sn=Object.assign||function(e){for(var t,o=1,r=arguments.length;o<r;o++)for(var n in t=arguments[o])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},sn.apply(this,arguments)};function un(e,t,o){if(o||2===arguments.length)for(var r,n=0,a=t.length;n<a;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create;var dn=o(609),mn=o.n(dn),pn=o(833),gn=o.n(pn),fn="-ms-",bn="-moz-",yn="-webkit-",Rn="comm",wn="rule",hn="decl",En="@import",vn="@keyframes",On="@layer",Pn=Math.abs,Cn=String.fromCharCode,Bn=Object.assign;function An(e){return e.trim()}function Sn(e,t){return(e=t.exec(e))?e[0]:e}function Wn(e,t,o){return e.replace(t,o)}function kn(e,t,o){return e.indexOf(t,o)}function Tn(e,t){return 0|e.charCodeAt(t)}function xn(e,t,o){return e.slice(t,o)}function Ln(e){return e.length}function Nn(e){return e.length}function zn(e,t){return t.push(e),e}function jn(e,t){return e.filter((function(e){return!Sn(e,t)}))}var In=1,Mn=1,Fn=0,Hn=0,Dn=0,qn="";function Gn(e,t,o,r,n,a,l,i){return{value:e,root:t,parent:o,type:r,props:n,children:a,line:In,column:Mn,length:l,return:"",siblings:i}}function Kn(e,t){return Bn(Gn("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Un(e){for(;e.root;)e=Kn(e.root,{children:[e]});zn(e,e.siblings)}function Qn(){return Dn=Hn>0?Tn(qn,--Hn):0,Mn--,10===Dn&&(Mn=1,In--),Dn}function Vn(){return Dn=Hn<Fn?Tn(qn,Hn++):0,Mn++,10===Dn&&(Mn=1,In++),Dn}function Yn(){return Tn(qn,Hn)}function Zn(){return Hn}function Jn(e,t){return xn(qn,e,t)}function Xn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function $n(e){return An(Jn(Hn-1,oa(91===e?e+2:40===e?e+1:e)))}function ea(e){for(;(Dn=Yn())&&Dn<33;)Vn();return Xn(e)>2||Xn(Dn)>3?"":" "}function ta(e,t){for(;--t&&Vn()&&!(Dn<48||Dn>102||Dn>57&&Dn<65||Dn>70&&Dn<97););return Jn(e,Zn()+(t<6&&32==Yn()&&32==Vn()))}function oa(e){for(;Vn();)switch(Dn){case e:return Hn;case 34:case 39:34!==e&&39!==e&&oa(Dn);break;case 40:41===e&&oa(e);break;case 92:Vn()}return Hn}function ra(e,t){for(;Vn()&&e+Dn!==57&&(e+Dn!==84||47!==Yn()););return"/*"+Jn(t,Hn-1)+"*"+Cn(47===e?e:Vn())}function na(e){for(;!Xn(Yn());)Vn();return Jn(e,Hn)}function aa(e,t){for(var o="",r=0;r<e.length;r++)o+=t(e[r],r,e,t)||"";return o}function la(e,t,o,r){switch(e.type){case On:if(e.children.length)break;case En:case hn:return e.return=e.return||e.value;case Rn:return"";case vn:return e.return=e.value+"{"+aa(e.children,r)+"}";case wn:if(!Ln(e.value=e.props.join(",")))return""}return Ln(o=aa(e.children,r))?e.return=e.value+"{"+o+"}":""}function ia(e,t,o){switch(function(e,t){return 45^Tn(e,0)?(((t<<2^Tn(e,0))<<2^Tn(e,1))<<2^Tn(e,2))<<2^Tn(e,3):0}(e,t)){case 5103:return yn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return yn+e+e;case 4789:return bn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return yn+e+bn+e+fn+e+e;case 5936:switch(Tn(e,t+11)){case 114:return yn+e+fn+Wn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return yn+e+fn+Wn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return yn+e+fn+Wn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return yn+e+fn+e+e;case 6165:return yn+e+fn+"flex-"+e+e;case 5187:return yn+e+Wn(e,/(\w+).+(:[^]+)/,yn+"box-$1$2"+fn+"flex-$1$2")+e;case 5443:return yn+e+fn+"flex-item-"+Wn(e,/flex-|-self/g,"")+(Sn(e,/flex-|baseline/)?"":fn+"grid-row-"+Wn(e,/flex-|-self/g,""))+e;case 4675:return yn+e+fn+"flex-line-pack"+Wn(e,/align-content|flex-|-self/g,"")+e;case 5548:return yn+e+fn+Wn(e,"shrink","negative")+e;case 5292:return yn+e+fn+Wn(e,"basis","preferred-size")+e;case 6060:return yn+"box-"+Wn(e,"-grow","")+yn+e+fn+Wn(e,"grow","positive")+e;case 4554:return yn+Wn(e,/([^-])(transform)/g,"$1"+yn+"$2")+e;case 6187:return Wn(Wn(Wn(e,/(zoom-|grab)/,yn+"$1"),/(image-set)/,yn+"$1"),e,"")+e;case 5495:case 3959:return Wn(e,/(image-set\([^]*)/,yn+"$1$`$1");case 4968:return Wn(Wn(e,/(.+:)(flex-)?(.*)/,yn+"box-pack:$3"+fn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+yn+e+e;case 4200:if(!Sn(e,/flex-|baseline/))return fn+"grid-column-align"+xn(e,t)+e;break;case 2592:case 3360:return fn+Wn(e,"template-","")+e;case 4384:case 3616:return o&&o.some((function(e,o){return t=o,Sn(e.props,/grid-\w+-end/)}))?~kn(e+(o=o[t].value),"span",0)?e:fn+Wn(e,"-start","")+e+fn+"grid-row-span:"+(~kn(o,"span",0)?Sn(o,/\d+/):+Sn(o,/\d+/)-+Sn(e,/\d+/))+";":fn+Wn(e,"-start","")+e;case 4896:case 4128:return o&&o.some((function(e){return Sn(e.props,/grid-\w+-start/)}))?e:fn+Wn(Wn(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Wn(e,/(.+)-inline(.+)/,yn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ln(e)-1-t>6)switch(Tn(e,t+1)){case 109:if(45!==Tn(e,t+4))break;case 102:return Wn(e,/(.+:)(.+)-([^]+)/,"$1"+yn+"$2-$3$1"+bn+(108==Tn(e,t+3)?"$3":"$2-$3"))+e;case 115:return~kn(e,"stretch",0)?ia(Wn(e,"stretch","fill-available"),t,o)+e:e}break;case 5152:case 5920:return Wn(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,o,r,n,a,l,i){return fn+o+":"+r+i+(n?fn+o+"-span:"+(a?l:+l-+r)+i:"")+e}));case 4949:if(121===Tn(e,t+6))return Wn(e,":",":"+yn)+e;break;case 6444:switch(Tn(e,45===Tn(e,14)?18:11)){case 120:return Wn(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+yn+(45===Tn(e,14)?"inline-":"")+"box$3$1"+yn+"$2$3$1"+fn+"$2box$3")+e;case 100:return Wn(e,":",":"+fn)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Wn(e,"scroll-","scroll-snap-")+e}return e}function ca(e,t,o,r){if(e.length>-1&&!e.return)switch(e.type){case hn:return void(e.return=ia(e.value,e.length,o));case vn:return aa([Kn(e,{value:Wn(e.value,"@","@"+yn)})],r);case wn:if(e.length)return function(e,t){return e.map(t).join("")}(o=e.props,(function(t){switch(Sn(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Un(Kn(e,{props:[Wn(t,/:(read-\w+)/,":"+bn+"$1")]})),Un(Kn(e,{props:[t]})),Bn(e,{props:jn(o,r)});break;case"::placeholder":Un(Kn(e,{props:[Wn(t,/:(plac\w+)/,":"+yn+"input-$1")]})),Un(Kn(e,{props:[Wn(t,/:(plac\w+)/,":"+bn+"$1")]})),Un(Kn(e,{props:[Wn(t,/:(plac\w+)/,fn+"input-$1")]})),Un(Kn(e,{props:[t]})),Bn(e,{props:jn(o,r)})}return""}))}}function sa(e){return function(e){return qn="",e}(ua("",null,null,null,[""],e=function(e){return In=Mn=1,Fn=Ln(qn=e),Hn=0,[]}(e),0,[0],e))}function ua(e,t,o,r,n,a,l,i,c){for(var s=0,u=0,d=l,m=0,p=0,g=0,f=1,b=1,y=1,R=0,_="",w=n,h=a,E=r,v=_;b;)switch(g=R,R=Vn()){case 40:if(108!=g&&58==Tn(v,d-1)){-1!=kn(v+=Wn($n(R),"&","&\f"),"&\f",Pn(s?i[s-1]:0))&&(y=-1);break}case 34:case 39:case 91:v+=$n(R);break;case 9:case 10:case 13:case 32:v+=ea(g);break;case 92:v+=ta(Zn()-1,7);continue;case 47:switch(Yn()){case 42:case 47:zn(ma(ra(Vn(),Zn()),t,o,c),c);break;default:v+="/"}break;case 123*f:i[s++]=Ln(v)*y;case 125*f:case 59:case 0:switch(R){case 0:case 125:b=0;case 59+u:-1==y&&(v=Wn(v,/\f/g,"")),p>0&&Ln(v)-d&&zn(p>32?pa(v+";",r,o,d-1,c):pa(Wn(v," ","")+";",r,o,d-2,c),c);break;case 59:v+=";";default:if(zn(E=da(v,t,o,s,u,n,i,_,w=[],h=[],d,a),a),123===R)if(0===u)ua(v,t,E,E,w,a,d,i,h);else switch(99===m&&110===Tn(v,3)?100:m){case 100:case 108:case 109:case 115:ua(e,E,E,r&&zn(da(e,E,E,0,0,n,i,_,n,w=[],d,h),h),n,h,d,i,r?w:h);break;default:ua(v,E,E,E,[""],h,0,i,h)}}s=u=p=0,f=y=1,_=v="",d=l;break;case 58:d=1+Ln(v),p=g;default:if(f<1)if(123==R)--f;else if(125==R&&0==f++&&125==Qn())continue;switch(v+=Cn(R),R*f){case 38:y=u>0?1:(v+="\f",-1);break;case 44:i[s++]=(Ln(v)-1)*y,y=1;break;case 64:45===Yn()&&(v+=$n(Vn())),m=Yn(),u=d=Ln(_=v+=na(Zn())),R++;break;case 45:45===g&&2==Ln(v)&&(f=0)}}return a}function da(e,t,o,r,n,a,l,i,c,s,u,d){for(var m=n-1,p=0===n?a:[""],g=Nn(p),f=0,b=0,y=0;f<r;++f)for(var R=0,_=xn(e,m+1,m=Pn(b=l[f])),w=e;R<g;++R)(w=An(b>0?p[R]+" "+_:Wn(_,/&\f/g,p[R])))&&(c[y++]=w);return Gn(e,t,o,0===n?wn:i,c,s,u,d)}function ma(e,t,o,r){return Gn(e,t,o,Rn,Cn(Dn),xn(e,2,-2),0,r)}function pa(e,t,o,r,n){return Gn(e,t,o,hn,xn(e,0,r),xn(e,r+1,-1),r,n)}const ga={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var fa="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",ba="active",ya="data-styled-version",Ra="6.1.8",_a="/*!sc*/\n",wa="undefined"!=typeof window&&"HTMLElement"in window,ha=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY&&"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY),Ea=(new Set,Object.freeze([])),va=Object.freeze({});var Oa=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Pa=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,Ca=/(^-|-$)/g;function Ba(e){return e.replace(Pa,"-").replace(Ca,"")}var Aa=/(a)(d)/gi,Sa=52,Wa=function(e){return String.fromCharCode(e+(e>25?39:97))};function ka(e){var t,o="";for(t=Math.abs(e);t>Sa;t=t/Sa|0)o=Wa(t%Sa)+o;return(Wa(t%Sa)+o).replace(Aa,"$1-$2")}var Ta,xa=5381,La=function(e,t){for(var o=t.length;o;)e=33*e^t.charCodeAt(--o);return e},Na=function(e){return La(xa,e)};function za(e){return"string"==typeof e&&!0}var ja="function"==typeof Symbol&&Symbol.for,Ia=ja?Symbol.for("react.memo"):60115,Ma=ja?Symbol.for("react.forward_ref"):60112,Fa={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ha={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Da={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},qa=((Ta={})[Ma]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ta[Ia]=Da,Ta);function Ga(e){return("type"in(t=e)&&t.type.$$typeof)===Ia?Da:"$$typeof"in e?qa[e.$$typeof]:Fa;var t}var Ka=Object.defineProperty,Ua=Object.getOwnPropertyNames,Qa=Object.getOwnPropertySymbols,Va=Object.getOwnPropertyDescriptor,Ya=Object.getPrototypeOf,Za=Object.prototype;function Ja(e,t,o){if("string"!=typeof t){if(Za){var r=Ya(t);r&&r!==Za&&Ja(e,r,o)}var n=Ua(t);Qa&&(n=n.concat(Qa(t)));for(var a=Ga(e),l=Ga(t),i=0;i<n.length;++i){var c=n[i];if(!(c in Ha||o&&o[c]||l&&c in l||a&&c in a)){var s=Va(t,c);try{Ka(e,c,s)}catch(e){}}}}return e}function Xa(e){return"function"==typeof e}function $a(e){return"object"==typeof e&&"styledComponentId"in e}function el(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tl(e,t){if(0===e.length)return"";for(var o=e[0],r=1;r<e.length;r++)o+=t?t+e[r]:e[r];return o}function ol(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function rl(e,t,o){if(void 0===o&&(o=!1),!o&&!ol(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=rl(e[r],t[r]);else if(ol(t))for(var r in t)e[r]=rl(e[r],t[r]);return e}function nl(e,t){Object.defineProperty(e,"toString",{value:t})}function al(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var ll=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,o=0;o<e;o++)t+=this.groupSizes[o];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var o=this.groupSizes,r=o.length,n=r;e>=n;)if((n<<=1)<0)throw al(16,"".concat(e));this.groupSizes=new Uint32Array(n),this.groupSizes.set(o),this.length=n;for(var a=r;a<n;a++)this.groupSizes[a]=0}for(var l=this.indexOfGroup(e+1),i=(a=0,t.length);a<i;a++)this.tag.insertRule(l,t[a])&&(this.groupSizes[e]++,l++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],o=this.indexOfGroup(e),r=o+t;this.groupSizes[e]=0;for(var n=o;n<r;n++)this.tag.deleteRule(o)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var o=this.groupSizes[e],r=this.indexOfGroup(e),n=r+o,a=r;a<n;a++)t+="".concat(this.tag.getRule(a)).concat(_a);return t},e}(),il=new Map,cl=new Map,sl=1,ul=function(e){if(il.has(e))return il.get(e);for(;cl.has(sl);)sl++;var t=sl++;return il.set(e,t),cl.set(t,e),t},dl=function(e,t){sl=t+1,il.set(e,t),cl.set(t,e)},ml="style[".concat(fa,"][").concat(ya,'="').concat(Ra,'"]'),pl=new RegExp("^".concat(fa,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),gl=function(e,t,o){for(var r,n=o.split(","),a=0,l=n.length;a<l;a++)(r=n[a])&&e.registerName(t,r)},fl=function(e,t){for(var o,r=(null!==(o=t.textContent)&&void 0!==o?o:"").split(_a),n=[],a=0,l=r.length;a<l;a++){var i=r[a].trim();if(i){var c=i.match(pl);if(c){var s=0|parseInt(c[1],10),u=c[2];0!==s&&(dl(u,s),gl(e,u,c[3]),e.getTag().insertRules(s,n)),n.length=0}else n.push(i)}}};function bl(){return o.nc}var yl=function(e){var t=document.head,o=e||t,r=document.createElement("style"),n=function(e){var t=Array.from(e.querySelectorAll("style[".concat(fa,"]")));return t[t.length-1]}(o),a=void 0!==n?n.nextSibling:null;r.setAttribute(fa,ba),r.setAttribute(ya,Ra);var l=bl();return l&&r.setAttribute("nonce",l),o.insertBefore(r,a),r},Rl=function(){function e(e){this.element=yl(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,o=0,r=t.length;o<r;o++){var n=t[o];if(n.ownerNode===e)return n}throw al(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),_l=function(){function e(e){this.element=yl(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var o=document.createTextNode(t);return this.element.insertBefore(o,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),wl=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),hl=wa,El={isServer:!wa,useCSSOMInjection:!ha},vl=function(){function e(e,t,o){void 0===e&&(e=va),void 0===t&&(t={});var r=this;this.options=sn(sn({},El),e),this.gs=t,this.names=new Map(o),this.server=!!e.isServer,!this.server&&wa&&hl&&(hl=!1,function(e){for(var t=document.querySelectorAll(ml),o=0,r=t.length;o<r;o++){var n=t[o];n&&n.getAttribute(fa)!==ba&&(fl(e,n),n.parentNode&&n.parentNode.removeChild(n))}}(this)),nl(this,(function(){return function(e){for(var t=e.getTag(),o=t.length,r="",n=function(o){var n=function(e){return cl.get(e)}(o);if(void 0===n)return"continue";var a=e.names.get(n),l=t.getGroup(o);if(void 0===a||0===l.length)return"continue";var i="".concat(fa,".g").concat(o,'[id="').concat(n,'"]'),c="";void 0!==a&&a.forEach((function(e){e.length>0&&(c+="".concat(e,","))})),r+="".concat(l).concat(i,'{content:"').concat(c,'"}').concat(_a)},a=0;a<o;a++)n(a);return r}(r)}))}return e.registerId=function(e){return ul(e)},e.prototype.reconstructWithOptions=function(t,o){return void 0===o&&(o=!0),new e(sn(sn({},this.options),t),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,o=e.target;return e.isServer?new wl(o):t?new Rl(o):new _l(o)}(this.options),new ll(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ul(e),this.names.has(e))this.names.get(e).add(t);else{var o=new Set;o.add(t),this.names.set(e,o)}},e.prototype.insertRules=function(e,t,o){this.registerName(e,t),this.getTag().insertRules(ul(e),o)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ul(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ol=/&/g,Pl=/^\s*\/\/.*$/gm;function Cl(e,t){return e.map((function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map((function(e){return"".concat(t," ").concat(e)}))),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Cl(e.children,t)),e}))}function Bl(e){var t,o,r,n=void 0===e?va:e,a=n.options,l=void 0===a?va:a,i=n.plugins,c=void 0===i?Ea:i,s=function(e,r,n){return n.startsWith(o)&&n.endsWith(o)&&n.replaceAll(o,"").length>0?".".concat(t):e},u=c.slice();u.push((function(e){e.type===wn&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ol,o).replace(r,s))})),l.prefix&&u.push(ca),u.push(la);var d=function(e,n,a,i){void 0===n&&(n=""),void 0===a&&(a=""),void 0===i&&(i="&"),t=i,o=n,r=new RegExp("\\".concat(o,"\\b"),"g");var c=e.replace(Pl,""),s=sa(a||n?"".concat(a," ").concat(n," { ").concat(c," }"):c);l.namespace&&(s=Cl(s,l.namespace));var d,m,p,g=[];return aa(s,(d=u.concat((p=function(e){return g.push(e)},function(e){e.root||(e=e.return)&&p(e)})),m=Nn(d),function(e,t,o,r){for(var n="",a=0;a<m;a++)n+=d[a](e,t,o,r)||"";return n})),g};return d.hash=c.length?c.reduce((function(e,t){return t.name||al(15),La(e,t.name)}),xa).toString():"",d}var Al=new vl,Sl=Bl(),Wl=mn().createContext({shouldForwardProp:void 0,styleSheet:Al,stylis:Sl}),kl=(Wl.Consumer,mn().createContext(void 0));function Tl(){return(0,dn.useContext)(Wl)}function xl(e){var t=(0,dn.useState)(e.stylisPlugins),o=t[0],r=t[1],n=Tl().styleSheet,a=(0,dn.useMemo)((function(){var t=n;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target,n]),l=(0,dn.useMemo)((function(){return Bl({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:o})}),[e.enableVendorPrefixes,e.namespace,o]);(0,dn.useEffect)((function(){gn()(o,e.stylisPlugins)||r(e.stylisPlugins)}),[e.stylisPlugins]);var i=(0,dn.useMemo)((function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:a,stylis:l}}),[e.shouldForwardProp,a,l]);return mn().createElement(Wl.Provider,{value:i},mn().createElement(kl.Provider,{value:l},e.children))}var Ll=function(){function e(e,t){var o=this;this.inject=function(e,t){void 0===t&&(t=Sl);var r=o.name+t.hash;e.hasNameForId(o.id,r)||e.insertRules(o.id,r,t(o.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,nl(this,(function(){throw al(12,String(o.name))}))}return e.prototype.getName=function(e){return void 0===e&&(e=Sl),this.name+e.hash},e}(),Nl=function(e){return e>="A"&&e<="Z"};function zl(e){for(var t="",o=0;o<e.length;o++){var r=e[o];if(1===o&&"-"===r&&"-"===e[0])return e;Nl(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var jl=function(e){return null==e||!1===e||""===e},Il=function(e){var t,o,r=[];for(var n in e){var a=e[n];e.hasOwnProperty(n)&&!jl(a)&&(Array.isArray(a)&&a.isCss||Xa(a)?r.push("".concat(zl(n),":"),a,";"):ol(a)?r.push.apply(r,un(un(["".concat(n," {")],Il(a),!1),["}"],!1)):r.push("".concat(zl(n),": ").concat((t=n,null==(o=a)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||t in ga||t.startsWith("--")?String(o).trim():"".concat(o,"px")),";")))}return r};function Ml(e,t,o,r){return jl(e)?[]:$a(e)?[".".concat(e.styledComponentId)]:Xa(e)?!Xa(n=e)||n.prototype&&n.prototype.isReactComponent||!t?[e]:Ml(e(t),t,o,r):e instanceof Ll?o?(e.inject(o,r),[e.getName(r)]):[e]:ol(e)?Il(e):Array.isArray(e)?Array.prototype.concat.apply(Ea,e.map((function(e){return Ml(e,t,o,r)}))):[e.toString()];var n}function Fl(e){for(var t=0;t<e.length;t+=1){var o=e[t];if(Xa(o)&&!$a(o))return!1}return!0}var Hl=Na(Ra),Dl=function(){function e(e,t,o){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===o||o.isStatic)&&Fl(e),this.componentId=t,this.baseHash=La(Hl,t),this.baseStyle=o,vl.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,o){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,o):"";if(this.isStatic&&!o.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=el(r,this.staticRulesId);else{var n=tl(Ml(this.rules,e,t,o)),a=ka(La(this.baseHash,n)>>>0);if(!t.hasNameForId(this.componentId,a)){var l=o(n,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,l)}r=el(r,a),this.staticRulesId=a}else{for(var i=La(this.baseHash,o.hash),c="",s=0;s<this.rules.length;s++){var u=this.rules[s];if("string"==typeof u)c+=u;else if(u){var d=tl(Ml(u,e,t,o));i=La(i,d+s),c+=d}}if(c){var m=ka(i>>>0);t.hasNameForId(this.componentId,m)||t.insertRules(this.componentId,m,o(c,".".concat(m),void 0,this.componentId)),r=el(r,m)}}return r},e}(),ql=mn().createContext(void 0);ql.Consumer;var Gl={};function Kl(e,t,o){var r=$a(e),n=e,a=!za(e),l=t.attrs,i=void 0===l?Ea:l,c=t.componentId,s=void 0===c?function(e,t){var o="string"!=typeof e?"sc":Ba(e);Gl[o]=(Gl[o]||0)+1;var r="".concat(o,"-").concat(function(e){return ka(Na(e)>>>0)}(Ra+o+Gl[o]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):c,u=t.displayName,d=void 0===u?function(e){return za(e)?"styled.".concat(e):"Styled(".concat(function(e){return e.displayName||e.name||"Component"}(e),")")}(e):u,m=t.displayName&&t.componentId?"".concat(Ba(t.displayName),"-").concat(t.componentId):t.componentId||s,p=r&&n.attrs?n.attrs.concat(i).filter(Boolean):i,g=t.shouldForwardProp;if(r&&n.shouldForwardProp){var f=n.shouldForwardProp;if(t.shouldForwardProp){var b=t.shouldForwardProp;g=function(e,t){return f(e,t)&&b(e,t)}}else g=f}var y=new Dl(o,m,r?n.componentStyle:void 0);function R(e,t){return function(e,t,o){var r=e.attrs,n=e.componentStyle,a=e.defaultProps,l=e.foldedComponentIds,i=e.styledComponentId,c=e.target,s=mn().useContext(ql),u=Tl(),d=e.shouldForwardProp||u.shouldForwardProp,m=function(e,t,o){return void 0===o&&(o=va),e.theme!==o.theme&&e.theme||t||o.theme}(t,s,a)||va,p=function(e,t,o){for(var r,n=sn(sn({},t),{className:void 0,theme:o}),a=0;a<e.length;a+=1){var l=Xa(r=e[a])?r(n):r;for(var i in l)n[i]="className"===i?el(n[i],l[i]):"style"===i?sn(sn({},n[i]),l[i]):l[i]}return t.className&&(n.className=el(n.className,t.className)),n}(r,t,m),g=p.as||c,f={};for(var b in p)void 0===p[b]||"$"===b[0]||"as"===b||"theme"===b&&p.theme===m||("forwardedAs"===b?f.as=p.forwardedAs:d&&!d(b,g)||(f[b]=p[b]));var y=function(e,t){var o=Tl();return e.generateAndInjectStyles(t,o.styleSheet,o.stylis)}(n,p),R=el(l,i);return y&&(R+=" "+y),p.className&&(R+=" "+p.className),f[za(g)&&!Oa.has(g)?"class":"className"]=R,f.ref=o,(0,dn.createElement)(g,f)}(_,e,t)}R.displayName=d;var _=mn().forwardRef(R);return _.attrs=p,_.componentStyle=y,_.displayName=d,_.shouldForwardProp=g,_.foldedComponentIds=r?el(n.foldedComponentIds,n.styledComponentId):"",_.styledComponentId=m,_.target=r?n.target:e,Object.defineProperty(_,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?function(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];for(var r=0,n=t;r<n.length;r++)rl(e,n[r],!0);return e}({},n.defaultProps,e):e}}),nl(_,(function(){return".".concat(_.styledComponentId)})),a&&Ja(_,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),_}function Ul(e,t){for(var o=[e[0]],r=0,n=t.length;r<n;r+=1)o.push(t[r],e[r+1]);return o}new Set;var Ql=function(e){return Object.assign(e,{isCss:!0})};function Vl(e){for(var t=[],o=1;o<arguments.length;o++)t[o-1]=arguments[o];if(Xa(e)||ol(e))return Ql(Ml(Ul(Ea,un([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Ml(r):Ql(Ml(Ul(r,t)))}function Yl(e,t,o){if(void 0===o&&(o=va),!t)throw al(1,t);var r=function(r){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];return e(t,o,Vl.apply(void 0,un([r],n,!1)))};return r.attrs=function(r){return Yl(e,t,sn(sn({},o),{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},r.withConfig=function(r){return Yl(e,t,sn(sn({},o),r))},r}var Zl,Jl,Xl,$l,ei=function(e){return Yl(Kl,e)},ti=ei;function oi(e){return oi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},oi(e)}function ri(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function ni(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ai(r.key),r)}}function ai(e){var t=function(e,t){if("object"!=oi(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=oi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oi(t)?t:String(t)}function li(e,t,o){return t=ci(t),function(e,t){if(t&&("object"===oi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ii()?Reflect.construct(t,o||[],ci(e).constructor):t.apply(e,o))}function ii(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ii=function(){return!!e})()}function ci(e){return ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ci(e)}function si(e,t){return si=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},si(e,t)}Oa.forEach((function(e){ti[e]=ei(e)})),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Fl(e),vl.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,o,r){var n=r(tl(Ml(this.rules,t,o,r)),""),a=this.componentId+e;o.insertRules(a,a,n)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,o,r){e>2&&vl.registerId(this.componentId+e),this.removeStyles(e,o),this.createStyles(e,t,o,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString(),o=bl(),r=tl([o&&'nonce="'.concat(o,'"'),"".concat(fa,'="true"'),"".concat(ya,'="').concat(Ra,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw al(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw al(2);var o=((t={})[fa]="",t[ya]=Ra,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=bl();return r&&(o.nonce=r),[mn().createElement("style",sn({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new vl({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw al(2);return mn().createElement(xl,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw al(3)}}(),"__sc-".concat(fa,"__");var ui=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),li(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&si(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u,d=Kt()((c={},u=o,(s=ai(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-archive-data-area"),m=ti.div(Zl||(Zl=ri(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),t.areaPadding&&Me(t.areaPadding,"padding"),Fe(i),Ie(t.contentAlignment,"text-align")),p=ti.div(Jl||(Jl=ri(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),Ie(t.titleColor,"color","!important"),Ie(t.titleSize,"font-size","!important"),t.titleMargin&&Me(t.titleMargin,"margin","!important")),g=ti.div(Xl||(Xl=ri(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"])),Ie(t.descColor,"color"),Ie(t.descSize,"font-size"),t.descMargin&&Me(t.descMargin,"margin")),f=ti.div($l||($l=ri(["\n\t\t\t\n\t\t"]))),b={title:(0,de.__)("Archive Title","woolentor"),desc:(0,de.__)("Lorem Ipsum is simply dummy text of the printing and typesetting industry.","woolentor"),image_url:woolentorData.url+"/src/assets/images/overlay_image.jpeg"};return React.createElement(qe.Fragment,null,r&&React.createElement(cn,this.props),React.createElement(m,{className:d},t.showImage&&React.createElement(f,{className:"woolentor-archive-image"},React.createElement("img",{src:b.image_url,alt:b.title})),t.showTitle&&React.createElement(p,{className:"woolentor-archive-title",as:t.titleTag},b.title),t.showDescription&&React.createElement(g,{className:"woolentor-archive-desc"},b.desc)))}}],r&&ni(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const di=ui,mi=JSON.parse('{"name":"woolentor/archive-title","category":"woolentor-blocks","title":"WL : Archive Title","description":"Display archive title.","keywords":["woolentor","archive","title","category title"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"showTitle":{"type":"boolean","default":true},"showDescription":{"type":"boolean","default":true},"showImage":{"type":"boolean","default":false},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align:{{contentAlignment}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ color:{{titleColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ font-size:{{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-title{ margin:{{titleMargin}}!important; }"}},"descColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ color:{{descColor}}!important; }"}},"descSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ font-size:{{descSize}}!important; }"}},"descMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-archive-desc{ margin:{{descMargin}}!important; }"}}}}'),pi=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var gi=mi.name,fi=mi.category,bi=mi.title,yi=mi.description,Ri=mi.keywords,_i=mi.attributes,wi={title:(0,de.__)(bi,"woolentor"),description:(0,de.__)(yi,"woolentor"),icon:React.createElement(me.Icon,{icon:pi}),keywords:Ri,example:{attributes:{title_tag:"h2"}},attributes:_i,edit:di,save:function(){return null}};function hi(e){return hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hi(e)}function Ei(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function vi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(o),!0).forEach((function(t){Oi(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ei(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Oi(e,t,o){return r=function(e,t){if("object"!=hi(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hi(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==hi(r)?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e;var r}function Pi(e){return function(e){if(Array.isArray(e))return Bi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ci(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ci(e,t){if(e){if("string"==typeof e)return Bi(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Bi(e,t):void 0}}function Bi(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Ai=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||Ci(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=(o.columns,o.noGutter),c=function(e,t,n){var a=o.brandLogoList.map((function(o,r){return r===n?vi(vi({},o),{},Oi({},t,"image"===t?vi(vi({},o.image),e):e)):o}));r({brandLogoList:a})};return o.brandLogoList.length>0&&(t=o.brandLogoList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.brandLogoList[t].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,de.__)("Delete Brand","woolentor"),onClick:function(){return function(e){var t=Pi(o.brandLogoList);t.splice(e,1),r({brandLogoList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Brand Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Brand Title","woolentor"),value:o.brandLogoList[t].title,onChange:function(e){return c(e,"title",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Xo,{title:(0,de.__)("Choose Image","woolentor"),ImageData:o.brandLogoList[t].image,onChange:function(e){return c(e,"image",t)}})),React.createElement(me.TextControl,{label:(0,de.__)("Brand Link","woolentor"),value:o.brandLogoList[t].link,placeholder:(0,de.__)("https://your-site.com","woolentor"),onChange:function(e){return c(e,"link",t)}}))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Brand Logo","woolentor"),initialOpen:!0},t,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Pi(o.brandLogoList);e.push({title:(0,de.__)("Brand Item #"+(o.brandLogoList.length+1),"woolentor"),image:{id:"",url:""},link:""}),r({brandLogoList:e}),l(o.brandLogoList.length)}.bind(void 0)},(0,de.__)("Add Brand","woolentor"))),React.createElement(Yt,{title:(0,de.__)("Brand Option","woolentor")},!0!==o.slider&&React.createElement(React.Fragment,null,React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:i,help:i?(0,de.__)("Enable No Gutters.","woolentor"):(0,de.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return r({noGutter:!i})}}),!i&&React.createElement(me.RangeControl,{label:(0,de.__)("Gutter Spacing","woolentor"),value:o.itemSpace,onChange:function(e){return r({itemSpace:e})},min:0,step:1,max:200})),React.createElement(co,{label:(0,de.__)("Slider","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.slider,onChange:function(){return r({slider:!o.slider})}}))),!0===o.slider&&React.createElement(Yt,{title:(0,de.__)("Slider Option","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:o.sliderItems,onChange:function(e){return r({sliderItems:e})},min:1,step:1,max:100}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.arrows,onChange:function(){return r({arrows:!o.arrows})}})),React.createElement(co,{label:(0,de.__)("Slider dots","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.dots,onChange:function(){return r({dots:!o.dots})}})),React.createElement(co,{label:(0,de.__)("Pause on Hover?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.pauseOnHover,onChange:function(){return r({pauseOnHover:!o.pauseOnHover})}})),React.createElement(co,{label:(0,de.__)("Slider auto play","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:o.autoplay,onChange:function(){return r({autoplay:!o.autoplay})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:o.autoplaySpeed,onChange:function(e){return r({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:o.animationSpeed,onChange:function(e){return r({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:o.scrollColumns,onChange:function(e){return r({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(fo,{label:(0,de.__)("Tablet Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:o.tabletDisplayColumns,onChange:function(e){return r({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:o.tabletScrollColumns,onChange:function(e){return r({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:o.tabletWidth,onChange:function(e){return r({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(fo,{label:(0,de.__)("Mobile Phone Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:o.mobileDisplayColumns,onChange:function(e){return r({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:o.mobileScrollColumns,onChange:function(e){return r({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:o.mobileWidth,onChange:function(e){return r({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Brand Item","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:o.singleItemAreaBorderType,options:ln,onChange:function(e){return r({singleItemAreaBorderType:e})}}),o.singleItemAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:o.singleItemAreaBorderWidth,attributesKey:"singleItemAreaBorderWidth",setAttributes:r}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:o.singleItemAreaBorderColor,onChange:function(e){return r({singleItemAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.singleItemAreaBorderRadius,attributesKey:"singleItemAreaBorderRadius",setAttributes:r}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.singleItemAreaMargin,attributesKey:"singleItemAreaMargin",setAttributes:r}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.singleItemAreaPadding,attributesKey:"singleItemAreaPadding",setAttributes:r}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"brandAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Brand Image","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:o.brandImageBorderType,options:ln,onChange:function(e){return r({brandImageBorderType:e})}}),o.brandImageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:o.brandImageBorderWidth,attributesKey:"brandImageBorderWidth",setAttributes:r}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:o.brandImageBorderColor,onChange:function(e){return r({brandImageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.brandImageBorderRadius,attributesKey:"brandImageBorderRadius",setAttributes:r})),!0===o.slider&&React.createElement(Yt,{title:(0,de.__)("Slider Control","woolentor")},React.createElement(fo,{label:(0,de.__)("Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.navigationColor,onChange:function(e){return r({navigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:o.navigationBGColor,onChange:function(e){return r({navigationBGColor:e})}})),React.createElement(jr,{value:o.navigationBorder,onChange:function(e){return r({navigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.navigationHoverColor,onChange:function(e){return r({navigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:o.navigationHoverBGColor,onChange:function(e){return r({navigationHoverBGColor:e})}})),React.createElement(jr,{value:o.navigationHoverBorder,onChange:function(e){return r({navigationHoverBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Pagination","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Position","woolentor"),value:o.paginationPosition,onChange:function(e){return r({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(qt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.paginationColor,onChange:function(e){return r({paginationColor:e})}})),React.createElement(jr,{value:o.paginationBorder,onChange:function(e){return r({paginationBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.paginationActiveColor,onChange:function(e){return r({paginationActiveColor:e})}})),React.createElement(jr,{value:o.paginationActiveBorder,onChange:function(e){return r({paginationActiveBorder:e})}}))))))};var Si,Wi,ki=o(589);function Ti(e){return Ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ti(e)}function xi(){return xi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},xi.apply(this,arguments)}function Li(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Ni(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function zi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ni(Object(o),!0).forEach((function(t){ji(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ni(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ji(e,t,o){return(t=Mi(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ii(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Mi(r.key),r)}}function Mi(e){var t=function(e,t){if("object"!=Ti(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ti(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ti(t)?t:String(t)}function Fi(e,t,o){return t=Di(t),function(e,t){if(t&&("object"===Ti(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Hi()?Reflect.construct(t,o||[],Di(e).constructor):t.apply(e,o))}function Hi(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Hi=function(){return!!e})()}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Di(e)}function qi(e,t){return qi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qi(e,t)}var Gi=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",width:"130",height:"130",viewBox:"0 0 130 130"},React.createElement("image",{id:"woolentor-logo",href:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADHFJREFUeNrsXU2IHMcV7m7NSnEU8IAvvgQmEHTV+JCDNwaN4oB1UNAIx7nO7sWQ5CBtcvAlYS0CAZ9GOoSActjZUyDESGZ9kA7OjEDWHrW6GoHHOAcfEphAHMjuaif12tWT3pn++arrVf/Wg2Z3pZme7npffe97r17XuE7N7Ot3e23xoysP+v2S/K+OPFCbyJ9TcXwhjgP6/fzdyUGdxsutgcPJ0T3p6K6ik7PaRALiEf0uQDGzAMh3hvfFcU06vl2CyyIwfCSO+1VjCLeCTu+X/HIpZNwXx24VwOCW3PE0wwfi2KgowxIA7khmmFkA4I4nh9+QMb0ONmv9+J3R2Xd+ccd13akFQLLjt3MScrnat37zJ8f77vfp15E4bpUFCK51vHkjxxMAloyAsCWAUGhoaJUgxm9LNV9ba73+VtQ/E+j78/mcwsL7jWIAqeqHFRZ3SvbS7//suK+8mpY5bAogTHJnpwKcT2nc501x/pkL3TTnk3VOvnw+FmMzlJOjfgCgGxPHjvj1nlOO4k0+AFh/C3rd8f5D+nFTHE9laKwPAGS59mlTZv0pAFx8A3rdi4PHCzYQB7HB+7UAgFT4T+uq8BOd333Dcb/9ndTXnXx24Mz/+dXyP2+LsRubDgmeYecT5e84DbUz3R9i9P/kYdx/9WRI6FYKADLej5tI+Yv0Ssz81utXMPp/9jhRIMqQ0K8EACRljeue23PG/vl//p32MhrTezKclhcAIbHXdRpuMP3vP1Q57Q43CDxm54+bKPai6J8EYJrRzA+p/0JA4DE7v+1Yc87wxP5cQOAxOL8tlb51vrSY2n9E/P9U52NYQOAxOH9sY36I/l95NVj2TaZ/kfdnoH92EOgywD3r/GXxp1z507WhTp3A05j9w6anelG29ubbJtR/WoqYuWLoZXQ+0c5N6+6lwRTUD6z8+fR/8uVzzo8OQrF5AEi6GVp3Zxd/jLM/bF3JyuYAYBU/T/w/fvLA1CXcVC0ZqzLAthV9Mc7HGj986o9Y+eO0HRU9AAPgcG/Us3E/AQDrhdL/sh7YYQXAfD5vr10d7CAIbywALuae/iVZHw0FKAPQzO+gKU4TYz/S+OGv/Jmlf+VQ4AGzvyNjP1zjtuo/DgCf5nlZ7cBvugywiCfoKleTTGVMNBZ/dLKCTmYAiNlPwq+XBe029kfQf3rjh5FQoMMA25HxzorB0HgYafzgtF5Sm3lLZfYv3rR+xTnaG1n6FxOBs/GDzkdCO1hNPBGC8Whvl0M40kSeqDLAtq7oaYL654r9dC56gLT15k8d70LXP6iplB4ra+mL71gW8FRnvwryrfrH1D8JybOD92JTybMb73GE3RsqDHCDK/bVmf65Gj8ovU6rIzDUYPpRGcEKAOSL+unovwIVP2o7+9fBvj8g9iNMgoAtCwtEMcAGWq4sqjBEg0GLL0yDYpT+09Q/3UOO97GBZAEDillIjCdaOv7kr7k6/tzPf3cqHhLFHo4+cF58dpDrdXA1fqBAYmogoSe2Ns7fnYwiGUAqxc7x/gOoaOGLwQvd/Jz/q+HKwNPf5349zO06VJx29MmHbJkEci7QriWFgMEidu1jTQvoMqiuJankhVLOSZNwNX6iTMLcQ9APLxItA6Cvirg8xCB9RlqcpIGkHDoP53M5rZV/A+mKn70Q/QebK/8/foFxFa2HZ0q3BLjWfvZL6LVrVwfGBRVn6bfAHoJrUQwwWLmJJxjyWgb7BGhWqzAMhQqjAECdlhJCNTeP0LVeFAB6qyjGxKCpVMavjV8dKItFU6FAqfEjZdwYNo/QzQZ6CwCE9thfvRlwDdsEC5wFqT8qFJhYseQs/cJMYq6HoBdmgF4sAkExSDfEKQYprcu63uDX1jOCJ9FpTIs/6FgZ7iG4FAZAN0nNIkUIFVRDs1jTgeQszgUr9N6QsInSv+EWslMMcCnxptCUkCkMIGkfR+3AhPqH6B/sITjef2ASAH7ml8oAAaWhYlA39qqkfdC5FEVknBjlavwoQewPW9eTArCdemPgBekuW6qmfcj5dMvEnI0fKEvm1EHc8RzwUa8XYDqis0KokvapiCNdRoHVf8oYwT0E2fYOymIXCQAd6ObAgoTK/ng6ad/hH38LVypp0Nd+spEZlHDjR8r1wExiOPaH6wEwAMjg9YEMC0QqaR/NDhrs/44+wGfxj97OpE/WYMp+zHauHDuIewSAl9FXo8j0wCdlT83+DbyEe/iXPyxm3dHHu7AgPLehXiaGH/kGGj8K2jwi+bochce9VVITtGVqIfxAwJDDw6GI2tPRWnnQaQsPTgGNHznF/lMAUDJUDKI3rJKq+QCM6EA6VAgFJAjRLKPijR+GAICKQTB39uv2oEOOBPVHqX+6JrQ1TaXOAG/4mJb7l2fziEgAdFTfhIqUtBmk0sRBg5MUfvzQAKaGFAbSagPwci3gtBJtHsEEAHCPm7TuGRVRdiSFX1J4ONzFQ0FaC1lNGj/4Q8Ai5wUvNk4MnpGPP6mkfcjr0NpAGvvUpPHDDAA4wkCWtA8xqg2goSCuhQztc6xA44c5AKDbnUS1juukfQg7obUBH4gRgpBz5a9lfudwbQBMTbNAWARxpH2p1yXegxZT/NpAKBQo7fX/jGnlr7jNIzQBAIrBMKVypH1Q2FAQhOFrUlmurUjjh5kQENAt3DpOIGBM+6D3K9QGgm5idB2jSo0fxgCgIl5oIYQz7ePWD+SsYHMGiP6BR77LHPvDANB6qlLlOUI07aNzcjzs6dcGFICELkdDjR/l3DouEgD/0j0J5/o1OY32xeEyv4bAXGBJ65HM+VtDihOBC6plXMA4/tuH7AUREoRcKhtZ+SvgW0Oy2oQFAFxr2HQeE/sN+Kzy8S4boyB6hzONLrUGQGkRYpK9XWP5sF8bYNAVVW38iLFH3vm7k5n4ZaY9M57pFTPIOabToUPNzAJ5SKbgbw1RtWmQBmpPDZXW8bjZb9rIeTqhAFr5K/5bQ1TsIADAoyLDAFfahwFtlFlkVrnxI8oE+x+wMQBKkabTPigUKLSQqTitzI0fURlAIAIXfxTBAibSvtSZnEFvIPdV5saPKAG4AIAUgiwsoKIDTKV9UChQXGhKXfkr57eGwAzAxgIqixsm0z4o9IBZAWfjR9GlX2kzMel9f4c3ivzIYfpWMGodT2uEyCPtQ8Qnrf6lrVFwNn7Qw6Gt9WJ3W58fH0+cuz9wTgGAEPH1uz0KBdpfCkkxlhycNLB5C784oxYy2qY9jr6RZWmVjTGK3N52abI7yyGA7D7bwNLDmxEZgb9Cl/PWrmk6JG6tgK4faSyp4M7pCz+74X+V3zV3j/OTSBwFqA/W0UsiglZoPLxt+/wfX0Ehil7/0nCvUs53Xfd6JAAkCD53Mjwr0FSj4g/tVVwh2xQAGMWFALJd69ba2izs/DgAjOw44Xby9+dVutwV364AQGQDU04xWHfL2rpekN1JBUDcC63FGy0zF13TAMXfdEXExr1aiMGxk7CDqLVoQUgpYUly/dMz/UL3sgDARAUA5PyxdWstbCJC++VIYMS9Q9aKJ3bsamG3Ypkh6xutVWr2TzIBwLJALWwrURsAJ9i0Y1hZu01tX1oAkHUBGwqqZzPEb+jDobcdhgdIrOVL/bLTK9Fc9Gw2LaxH2peVAQJBeNuObSWoH9ZtqvsDUEw5sGNcatuUuo0fADKmbDoMj5JZM2Ij4SOlhTzlHUJkWrFlx7p0lskvbtZPE6Jwx4n4PnprhcX911SoXxsAEgR2xbAc9lpawYctBCzZdSsKSyH6MvvA1f10+a1j1Ejatr4oxPkjnRNobxMnM4PLNjPI3W7pOp+FAUJMQI8BjS0T5JbusSzSeVxXJOOQZQLztsXlfFYGCDFBx/nm6aKu9VX5Yr5xAISE4diCgDXP3+J2vjEAhIBgi0U8zr+sk+rlogFidAHFKls2zm7k9O+Zcr5xBljKEEgXdKxPYaN2LuOTx83rbqQuoJDQt75NpfzrSZ28lQRACAh9CQRbL1i1+1Lp55ZKu0XcpWSDoRWIC5tKx0/y/mC3yLuWfYbDBqeLNNPvyHhfSAHNLcMoCCAQE2w3TCRSTn8ryxp+7QDQMCCUwvGlBECNgTCTAq80ji81AJY0wqDCYnEqY/yoqBhfaQAsZQ2UPt6ogGCcSZrfNVnBaxQAlsBAYYGY4ZpTnqISOXpSFadXGgAxYYKOi/JnO0eHP3O+eQxrWtXxqzwAYhgiYImXQyGjl8HJMxnHv5B/T6s2w9PsfwIMAOhUCXLerUHIAAAAAElFTkSuQmCC"})),Ki=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Fi(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qi(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=o.blockUniqId;""==l&&n({blockUniqId:a});var i=function(e){var t=e.className,o=e.style,r=e.onClick;return React.createElement(me.Button,{className:t,style:zi(zi({},o),{},{display:"block"}),onClick:r},React.createElement("i",{className:"fa fa-angle-right"}))},c=function(e){var t=e.className,o=e.style,r=e.onClick;return React.createElement(me.Button,{className:t,style:zi(zi({},o),{},{display:"block"}),onClick:r},React.createElement("i",{className:"fa fa-angle-left"}))},s={dots:o.dots,infinite:!0,fade:!1,speed:o.animationSpeed,slidesToShow:o.sliderItems,slidesToScroll:o.scrollColumns,autoplay:o.autoplay,autoplaySpeed:o.autoplaySpeed,pauseOnHover:o.pauseOnHover,arrows:o.arrows,nextArrow:React.createElement(i,null),prevArrow:React.createElement(c,null),rtl:o.slIsrtl,responsive:[{breakpoint:o.tabletWidth,settings:{slidesToShow:o.tabletDisplayColumns,slidesToScroll:o.tabletScrollColumns}},{breakpoint:o.mobileWidth,settings:{slidesToShow:o.mobileDisplayColumns,slidesToScroll:o.mobileScrollColumns}}]},u=Kt()(t,"woolentorblock-brand-logo-"+l,ji({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),ji({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),ji({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),ji({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),d=Kt()(ji({},"woolentor-grid",1!=o.slider),ji({},"woolentor-no-gutters",!0===o.noGutter),ji({},"woolentor-grid-slider",!0===o.slider)),m=ti.div(Si||(Si=Li(["\n\t\t\t& .woolentor-grid:not(.woolentor-no-gutters){\n\t\t\t\t","\n\t\t\t}\n\t\t"])),!o.noGutter&&"column-gap: "+o.itemSpace+"px;"),p=".woolentorblock-brand-logo-"+l,g=ti.div(Wi||(Wi=Li(["\n\t\t\t& .wl-single-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t\t& img,.woolentor-default-brand{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t}\n\t\t"])),Ie(o.singleItemAreaBorderType,"border-style"),Me(o.singleItemAreaBorderWidth,"border-width"),Ie(o.singleItemAreaBorderColor,"border-color"),Me(o.singleItemAreaBorderRadius,"border-radius"),Me(o.singleItemAreaMargin,"margin"),Me(o.singleItemAreaPadding,"padding"),Ie(o.brandAlignment,"text-align"),Ie(o.brandImageBorderType,"border-style"),Me(o.brandImageBorderWidth,"border-width"),Ie(o.brandImageBorderColor,"border-color"),Me(o.brandImageBorderRadius,"border-radius")),f="\n\t\t\t".concat(p," .product-slider .slick-arrow {\n\t\t\t\t").concat(Ie(o.navigationColor,"color"),"\n\t\t\t\t").concat(Ie(o.navigationBGColor,"background-color"),"\n\t\t\t\t").concat(He(o.navigationBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-arrow:hover {\n\t\t\t\t").concat(Ie(o.navigationHoverColor,"color"),"\n\t\t\t\t").concat(Ie(o.navigationHoverBGColor,"background-color"),"\n\t\t\t\t").concat(He(o.navigationHoverBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots{\n\t\t\t\t").concat(Ie(o.paginationPosition,"bottom","px"),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots li button {\n\t\t\t\t").concat(Ie(o.paginationColor,"background-color"),"\n\t\t\t\t").concat(He(o.paginationBorder),"\n\t\t\t}\n\t\t\t").concat(p," .product-slider .slick-dots li.slick-active button {\n\t\t\t\t").concat(Ie(o.paginationActiveColor,"background-color"),"\n\t\t\t\t").concat(He(o.paginationActiveBorder),"\n\t\t\t}\n\t\t"),b=o.brandLogoList.map((function(e,t){return React.createElement(g,{className:"woolentor-grid-column",key:t},React.createElement("div",{className:"wl-single-brand"},e.image.url?React.createElement("img",{src:e.image.url,alt:e.title}):React.createElement("div",{className:"woolentor-default-brand"},Gi)))}));return React.createElement(qe.Fragment,null,r&&React.createElement(Ai,this.props),React.createElement(m,{className:u},React.createElement("div",{className:d},!0===o.slider?React.createElement(ki.A,xi({},s,{className:"product-slider"}),b):b),React.createElement("style",{type:"text/css"},f)))}}],r&&Ii(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Ui=Ki,Qi=JSON.parse('{"name":"woolentor/brand-logo","category":"woolentor-blocks","title":"WL : Brand Logo","description":"Display brand logo.","keywords":["woolentor","logo","brand","brand logo"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"brandLogoList":{"type":"array","default":[{"title":"Brand Title One","image":{"id":"","url":""}},{"title":"Brand Title Two","image":{"id":"","url":""}},{"title":"Brand Title Three","image":{"id":"","url":""}}]},"columns":{"type":"object","default":{"desktop":6}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"slider":{"type":"boolean","default":false},"sliderItems":{"type":"number","default":5},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":3},"tabletDisplayColumns":{"type":"number","default":2},"tabletScrollColumns":{"type":"number","default":2},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"singleItemAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-style: {{singleItemAreaBorderType}}; }"}},"singleItemAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-width: {{singleItemAreaBorderWidth}}; }"}},"singleItemAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"singleItemAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-color: {{singleItemAreaBorderColor}}; }"}},"singleItemAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { border-radius: {{singleItemAreaBorderRadius}}; }"}},"singleItemAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { margin: {{singleItemAreaMargin}}; }"}},"singleItemAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { padding: {{singleItemAreaPadding}}; }"}},"brandAlignment":{"type":"string","default":"center","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand { text-align: {{brandAlignment}}; }"}},"brandImageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-style: {{brandImageBorderType}}; }"}},"brandImageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-width: {{brandImageBorderWidth}}; }"}},"brandImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"brandImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-color: {{brandImageBorderColor}}; }"}},"brandImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-single-brand img{ border-radius: {{brandImageBorderRadius}}; }"}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}}}}'),Vi=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512"},React.createElement("path",{d:"M166,0H75C33.645,0,0,33.645,0,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75V75 C241,33.645,207.355,0,166,0z M211,166c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45V75c0-24.813,20.187-45,45-45h91 c24.813,0,45,20.187,45,45V166z"}),React.createElement("path",{d:"M437,271h-91c-41.355,0-75,33.645-75,75v91c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91 C512,304.645,478.355,271,437,271z M482,437c0,24.813-20.187,45-45,45h-91c-24.813,0-45-20.187-45-45v-91 c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45V437z"}),React.createElement("path",{d:"M437,0h-91c-41.355,0-75,33.645-75,75v91c0,57.897-47.103,105-105,105H75c-41.355,0-75,33.645-75,75v91 c0,41.355,33.645,75,75,75h91c41.355,0,75-33.645,75-75v-91c0-57.897,47.103-105,105-105h91c41.355,0,75-33.645,75-75V75 C512,33.645,478.355,0,437,0z M211,346v91c0,24.813-20.187,45-45,45H75c-24.813,0-45-20.187-45-45v-91c0-24.813,20.187-45,45-45 h91c20.827,0,40.568-4.741,58.2-13.2C215.741,305.432,211,325.173,211,346z M482,166c0,24.813-20.187,45-45,45h-91 c-20.827,0-40.568,4.741-58.2,13.2c8.459-17.632,13.2-37.373,13.2-58.2V75c0-24.813,20.187-45,45-45h91c24.813,0,45,20.187,45,45 V166z"}));var Yi=Qi.name,Zi=Qi.category,Ji=Qi.title,Xi=Qi.description,$i=Qi.keywords,ec=Qi.supports,tc=Qi.attributes,oc={title:(0,de.__)(Ji,"woolentor"),description:(0,de.__)(Xi,"woolentor"),icon:React.createElement(me.Icon,{icon:Vi}),keywords:$i,supports:ec,attributes:tc,edit:Ui,save:function(){return null}};const rc=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Separator","woolentor"),placeholder:(0,de.__)("/","woolentor"),value:t.separator,onChange:function(e){return o({separator:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Text Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Space","woolentor"),value:t.space,onChange:function(e){return o({space:e})},min:0,step:1,max:500}),React.createElement(fo,{label:(0,de.__)("Separator","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.separateColor,onChange:function(e){return o({separateColor:e})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Size","woolentor"),value:t.separateSize,onChange:function(e){return o({separateSize:e})},min:0,step:1,max:500}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function nc(e){return nc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nc(e)}function ac(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lc(r.key),r)}}function lc(e){var t=function(e,t){if("object"!=nc(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nc(t)?t:String(t)}function ic(e,t,o){return t=sc(t),function(e,t){if(t&&("object"===nc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cc()?Reflect.construct(t,o||[],sc(e).constructor):t.apply(e,o))}function cc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cc=function(){return!!e})()}function sc(e){return sc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sc(e)}function uc(e,t){return uc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uc(e,t)}var dc=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ic(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uc(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=lc(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-breadcrumb","woolentorblock-".concat(i)),m=""!=o.separator?React.createElement("span",{className:"breadcrumb-separator"},o.separator):React.createElement("span",{className:"breadcrumb-separator"}," / "),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(rc,this.props),React.createElement("div",{className:d},React.createElement("nav",{className:"woocommerce-breadcrumb"},React.createElement("a",{href:"#"},(0,de.__)("Home","woolentor")),m,React.createElement("a",{href:"#"},(0,de.__)("Shop","woolentor")),m,(0,de.__)("Sample Product","woolentor"))),p)}}],r&&ac(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const mc=dc,pc=JSON.parse('{"name":"woolentor/breadcrumbs","category":"woolentor-blocks","title":"WL : Breadcrumbs","description":"Display breadcrumbs.","keywords":["woolentor","breadcrumbs","navigation","breadcrumb","breadcrumbs menu"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"separator":{"type":"string","default":"/"},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {text-align:{{contentAlignment}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb{color:{{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a{color:{{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-breadcrumb a:hover{color:{{linkHoverColor}}; }"}},"space":{"type":"number","default":10,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{margin: 0 {{space}}px; }"}},"separateColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{color:{{separateColor}}; }"}},"separateSize":{"type":"number","default":14,"style":{"selector":"{{WOOLENTOR_WRAPPER}} span.breadcrumb-separator{font-size:{{separateSize}}px; }"}}}}'),gc=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{fill:"currentColor",d:"m56 48l80 80l-80 80V48z",opacity:".2"}),React.createElement("path",{fill:"currentColor",d:"m141.7 122.3l-80-80a8.4 8.4 0 0 0-8.8-1.7A8 8 0 0 0 48 48v160a8 8 0 0 0 4.9 7.4a8.5 8.5 0 0 0 3.1.6a8.3 8.3 0 0 0 5.7-2.3l80-80a8.1 8.1 0 0 0 0-11.4ZM64 188.7V67.3l60.7 60.7Z"}),React.createElement("path",{fill:"currentColor",d:"m221.7 122.3l-80-80a8.1 8.1 0 0 0-11.4 11.4l74.4 74.3l-74.4 74.3a8.1 8.1 0 0 0 0 11.4a8.2 8.2 0 0 0 11.4 0l80-80a8.1 8.1 0 0 0 0-11.4Z"}));var fc=pc.name,bc=pc.category,yc=pc.title,Rc=pc.description,_c=pc.keywords,wc=pc.attributes,hc={title:(0,de.__)(yc,"woolentor"),description:(0,de.__)(Rc,"woolentor"),icon:React.createElement(me.Icon,{icon:gc}),keywords:_c,example:{attributes:{separator:"/"}},attributes:wc,edit:mc,save:function(){return null}};function Ec(e){return Ec="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ec(e)}function vc(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Oc(r.key),r)}}function Oc(e){var t=function(e,t){if("object"!=Ec(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ec(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ec(t)?t:String(t)}function Pc(e,t,o){return t=Bc(t),function(e,t){if(t&&("object"===Ec(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Cc()?Reflect.construct(t,o||[],Bc(e).constructor):t.apply(e,o))}function Cc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Cc=function(){return!!e})()}function Bc(e){return Bc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bc(e)}function Ac(e,t){return Ac=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ac(e,t)}var Sc=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Pc(this,t,[e])}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ac(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.displayType,a=t.productCategory,l=t.productCategories,i=t.order,c=t.displayLimit,s=t.showCount,u=t.sliderOn,d=(t.columns,t.noGutter),m=t.itemSpace;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:r,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"},{label:(0,de.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({style:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Category Display Type","woolentor"),value:n,options:[{label:(0,de.__)("Single Category","woolentor"),value:"singleCat"},{label:(0,de.__)("Multiple Categories","woolentor"),value:"multipleCat"},{label:(0,de.__)("All Categories","woolentor"),value:"allCat"}],onChange:function(e){return o({displayType:e})}}),"singleCat"==n&&React.createElement(Uo,{title:(0,de.__)("Select category","woolentor"),attributesKey:"productCategory",setAttributes:o,selectedTaxonomies:a,type:"single"}),"multipleCat"==n&&React.createElement(Uo,{title:(0,de.__)("Select categories","woolentor"),attributesKey:"productCategories",setAttributes:o,selectedTaxonomies:l,type:"multiple"}),"singleCat"!=n&&React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:i,options:[{label:(0,de.__)("Ascending","woolentor"),value:"asc"},{label:(0,de.__)("Descending","woolentor"),value:"desc"}],onChange:function(e){return o({order:e})}}),"allCat"==n&&React.createElement(me.RangeControl,{label:(0,de.__)("Limit","woolentor"),value:c,onChange:function(e){return o({displayLimit:e})},min:1,step:1,max:20}),("1"==r||"4"==r)&&React.createElement(me.ToggleControl,{label:(0,de.__)("Show Count","woolentor"),checked:s,help:s?(0,de.__)("Enable show Count.","woolentor"):(0,de.__)("Toggle to show the count.","woolentor"),onChange:function(){return o({showCount:!s})}}),React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"}),React.createElement(me.ToggleControl,{label:(0,de.__)("Slider On","woolentor"),checked:u,help:u?(0,de.__)("Enable slider.","woolentor"):(0,de.__)("Toggle to show the slider.","woolentor"),onChange:function(){return o({sliderOn:!u})}})),1==u&&React.createElement(Yt,{title:(0,de.__)("Slider Options","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.slitems,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(me.ToggleControl,{label:(0,de.__)("Slider Arrow","woolentor"),checked:t.slarrows,help:t.slarrows?(0,de.__)("Enable slider arrow.","woolentor"):(0,de.__)("Toggle to show the slider arrow.","woolentor"),onChange:function(){return o({slarrows:!t.slarrows})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Slider dots","woolentor"),checked:t.sldots,help:t.sldots?(0,de.__)("Enable slider pagination.","woolentor"):(0,de.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({sldots:!t.sldots})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Pause on Hover?","woolentor"),checked:t.slpauseOnHover,help:t.slpauseOnHover?(0,de.__)("Enable slider pagination.","woolentor"):(0,de.__)("Toggle to show the slider pagination.","woolentor"),onChange:function(){return o({slpauseOnHover:!t.slpauseOnHover})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Is RTL","woolentor"),checked:t.slIsrtl,help:t.slIsrtl?(0,de.__)("Enable RTL.","woolentor"):(0,de.__)("Toggle to show the RTL direction.","woolentor"),onChange:function(){return o({slIsrtl:!t.slIsrtl})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Slider auto play","woolentor"),checked:t.slautolay,help:t.slautolay?(0,de.__)("Enable slider auto play.","woolentor"):(0,de.__)("Toggle to show the slider auto play.","woolentor"),onChange:function(){return o({slautolay:!t.slautolay})}}),1==t.slautolay&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:t.slautoplaySpeed,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:t.slanimationSpeed,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5})),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.slscrollItem,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,de.__)("Tablet Screen options","woolentor")),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.sltabletDisplayColumns,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.sltabletScrollColumns,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:t.sltabletWidth,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h2",{className:"woolentor-blocks-section-title"},(0,de.__)("Mobile Phone Screen options","woolentor")),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.slMobileDisplayColumns,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.slMobileScrollColumns,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:t.slMobileWidth,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500})),0==u&&React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0,max:10}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:d,help:d?(0,de.__)("Enable No Gutters.","woolentor"):(0,de.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!d})}}),!d&&React.createElement(me.RangeControl,{label:(0,de.__)("Gutter Spacing","woolentor"),value:m,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor"),initialOpen:!0},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(co,{label:(0,de.__)("Box Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBoxColor,onChange:function(e){return o({imageBoxColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Count","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.countColor,onChange:function(e){return o({countColor:e})}})),React.createElement(co,{label:(0,de.__)("Before Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.countBeforeColor,onChange:function(e){return o({countBeforeColor:e})}})))))}}],r&&vc(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Wc=Sc;function kc(e){return kc="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kc(e)}function Tc(){return Tc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Tc.apply(this,arguments)}function xc(e,t,o){return(t=Nc(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Lc(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Nc(r.key),r)}}function Nc(e){var t=function(e,t){if("object"!=kc(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kc(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kc(t)?t:String(t)}function zc(e,t,o){return t=Ic(t),function(e,t){if(t&&("object"===kc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,jc()?Reflect.construct(t,o||[],Ic(e).constructor):t.apply(e,o))}function jc(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(jc=function(){return!!e})()}function Ic(e){return Ic=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ic(e)}function Mc(e,t){return Mc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Mc(e,t)}var Fc=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=zc(this,t,[e])).state={categoryData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mc(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t,o=this.props.attributes,r=o.displayLimit,n=o.order;t="singleCat"==o.displayType?o.productCategory:"multipleCat"==o.displayType?o.productCategories:"";var a=e.attributes;("singleCat"==a.displayType?a.productCategory:"multipleCat"==a.displayType?a.productCategories:"")==t&&e.attributes.displayLimit==r&&e.attributes.order==n||this.fetchCategoryData()}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:this.props.attributes.displayLimit,queryOrder:this.props.attributes.order,queryType:"regular",wpnonce:woolentorData.security};"singleCat"==this.props.attributes.displayType?t.querySlug=this.props.attributes.productCategory:"multipleCat"==this.props.attributes.displayType?(t.querySlug=this.props.attributes.productCategories,t.queryLimit=!1):t.querySlug="";var o=(0,en.addQueryArgs)("/woolentor/v1/category",t);Ke()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.style;""==i&&a({blockUniqId:l});var s=this.state.categoryData,u=0;function d(e){var t=e.className,o=e.onClick;return React.createElement(me.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function m(e){var t=e.className,o=e.onClick;return React.createElement(me.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}var p,g={arrows:o.slarrows,prevArrow:React.createElement(m,null),nextArrow:React.createElement(d,null),dots:o.sldots,infinite:!0,autoplay:o.slautolay,autoplaySpeed:o.slautoplaySpeed,speed:o.slanimationSpeed,fade:!1,pauseOnHover:o.slpauseOnHover,slidesToShow:o.slitems,slidesToScroll:o.slscrollItem,rtl:o.slIsrtl,responsive:[{breakpoint:o.sltabletWidth,settings:{slidesToShow:o.sltabletDisplayColumns,slidesToScroll:o.sltabletScrollColumns}},{breakpoint:o.slMobileWidth,settings:{slidesToShow:o.slMobileDisplayColumns,slidesToScroll:o.slMobileScrollColumns}}]},f=Kt()(r,"woolentorblock-".concat(i),xc({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),xc({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),xc({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),xc({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile),xc({},"woolentor-area-".concat(o.align),o.align)),b=Kt()(xc({},"woolentor-grid",!0!==o.sliderOn),xc({},"woolentor-grid-slider",1==o.sliderOn),xc({},"woolentor-no-gutters",1==o.noGutter),xc({},"product-slider",1==o.sliderOn)),y=Kt()("woolentor-grid-column"),R=Ae(o,t,i);return s.length>0&&(p=s.map((function(e,t){return 4===u&&(u=0),u++,React.createElement("div",{key:t},React.createElement("div",{className:y},"1"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{className:"ht-category-border",href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image[o.imageSize].html}})))),React.createElement("div",{className:"ht-category-content"},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name))),1==o.showCount&&React.createElement("span",null,e.count))),"2"===c&&React.createElement("div",{className:"ht-category-wrap-2"},React.createElement("div",{className:"ht-category-content-2"},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name)))),e.image&&React.createElement("div",{className:"ht-category-image-2"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}}))))),"3"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image?React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))):React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{className:"ht-category-border-2",href:e.link},React.createElement("img",{src:e.placeholderImg,alt:e.name})))),React.createElement("div",{className:"ht-category-content-3 ht-category-content-3-bg"+u},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name))))),"4"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-4"},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name)),1==o.showCount&&React.createElement("span",null,e.count)))),"5"===c&&React.createElement("div",{className:"ht-category-wrap"},e.image&&React.createElement("div",{className:"ht-category-image-3 ht-category-image-zoom"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},(0,qe.createElement)("span",{dangerouslySetInnerHTML:{__html:e.image.full.html}})))),React.createElement("div",{className:"ht-category-content-5"},React.createElement("h3",null,React.createElement(me.Disabled,null,React.createElement("a",{href:e.link},e.name)))))))}))),React.createElement(qe.Fragment,null,n&&React.createElement(Wc,this.props),React.createElement("div",{className:f},React.createElement("div",{className:b},0==s.length?React.createElement(me.Spinner,null):1==o.sliderOn?React.createElement(ki.A,Tc({},g,{className:"product-slider"}),p):p)),R)}}],r&&Lc(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Hc=Fc,Dc=JSON.parse('{"name":"woolentor/category-grid","category":"woolentor-blocks","title":"WL : Category Grid","description":"Display product category grid.","keywords":["woolentor","shop category","category grid","product category","woocommerce"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"displayType":{"type":"string","default":"allCat"},"productCategory":{"type":"string"},"productCategories":{"type":"array","default":[]},"order":{"type":"string","default":"asc"},"displayLimit":{"type":"number","default":6},"showCount":{"type":"boolean","default":true},"imageSize":{"type":"string","default":"full"},"sliderOn":{"type":"boolean","default":false},"slitems":{"type":"number","default":3},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slIsrtl":{"type":"boolean","default":false},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; row-gap: {{itemSpace}}px; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] { background-color: {{areaBackgroundColor}}; }"}},"imageBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap-2:hover::before,{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border-2::before { border-color: {{imageBoxColor}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image\'] { margin: {{imageMargin}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image, {{WOOLENTOR_WRAPPER}} .ht-category-wrap .ht-category-image a.ht-category-border::before,{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-image-\'] { border-radius: {{imageBorderRadius}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} [class*=\'ht-category-wrap\'] [class*=\'ht-category-content\'] h3 { margin: {{titleMargin}}; }"}},"countColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span { color: {{countColor}}; }"}},"countBeforeColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-category-wrap [class*=\'ht-category-content\'] span::before { background-color: {{countBeforeColor}}; }"}}}}'),qc=React.createElement("svg",{enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var Gc=Dc.name,Kc=Dc.category,Uc=Dc.title,Qc=Dc.description,Vc=Dc.keywords,Yc=Dc.supports,Zc=Dc.attributes,Jc={title:(0,de.__)(Uc,"woolentor"),description:(0,de.__)(Qc,"woolentor"),icon:React.createElement(me.Icon,{icon:qc}),keywords:Vc,supports:Yc,attributes:Zc,edit:Hc,save:function(){return null}};function Xc(e){return function(e){if(Array.isArray(e))return es(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||$c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $c(e,t){if(e){if("string"==typeof e)return es(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?es(e,t):void 0}}function es(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const ts=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||$c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=function(e,t,n){var a=Xc(o.customerReviewList);a[n][t]=e,r({customerReviewList:a})};return o.customerReviewList.length>0&&(t=o.customerReviewList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.customerReviewList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,de.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=Xc(o.customerReviewList);t.splice(e,1),r({customerReviewList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Customer Name","woolentor"),value:o.customerReviewList[t].name,onChange:function(e){return i(e,"name",t)}}),React.createElement(me.TextControl,{label:(0,de.__)("Designation","woolentor"),value:o.customerReviewList[t].designation,placeholder:(0,de.__)("Designation","woolentor"),onChange:function(e){return i(e,"designation",t)}}),React.createElement(me.TextControl,{label:(0,de.__)("Rating","woolentor"),value:o.customerReviewList[t].rating,placeholder:(0,de.__)("5","woolentor"),onChange:function(e){return i(e,"rating",t)}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Message","woolentor"),value:o.customerReviewList[t].message,placeholder:(0,de.__)("Review Message","woolentor"),onChange:function(e){return i(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Xo,{title:(0,de.__)("Choose Image","woolentor"),instructions:(0,de.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.customerReviewList[t].image,onChange:function(e){return i(e,"image",t)}})))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Review","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:o.reviewStyle,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({reviewStyle:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Review Type","woolentor"),value:o.reviewType,options:[{label:(0,de.__)("Custom","woolentor"),value:"custom"},{label:(0,de.__)("All Products","woolentor"),value:"allproduct"},{label:(0,de.__)("Single Product","woolentor"),value:"productwise"},{label:(0,de.__)("Dynamic","woolentor"),value:"dynamic"}],onChange:function(e){return r({reviewType:e})}}),"custom"==o.reviewType&&React.createElement(React.Fragment,null,t,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=Xc(o.customerReviewList);e.push({name:(0,de.__)("Customer Name #"+(o.customerReviewList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({customerReviewList:e}),l(o.customerReviewList.length)}.bind(void 0)},(0,de.__)("Add Review","woolentor"))),"allproduct"==o.reviewType&&React.createElement(React.Fragment,null,React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.reviewType&&React.createElement(me.TextControl,{label:(0,de.__)("Product ID","woolentor"),placeholder:(0,de.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.reviewType&&React.createElement(me.Notice,{status:"success",isDismissible:!1},(0,de.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.reviewType&&React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.reviewType&&React.createElement(me.ToggleControl,{label:(0,de.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(jr,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(jr,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Name","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Designation","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Message","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},os=function(e){return e.attributes,e.setAttributes,React.createElement(qe.Fragment,null,React.createElement(ht.BlockControls,null,React.createElement(wr.BlockControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign"})))},rs=window.wp.serverSideRender;var ns=o.n(rs);function as(e){return as="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},as(e)}function ls(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,is(r.key),r)}}function is(e){var t=function(e,t){if("object"!=as(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=as(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==as(t)?t:String(t)}function cs(e,t,o){return t=us(t),function(e,t){if(t&&("object"===as(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ss()?Reflect.construct(t,o||[],us(e).constructor):t.apply(e,o))}function ss(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ss=function(){return!!e})()}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},us(e)}function ds(e,t){return ds=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ds(e,t)}var ms=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cs(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ds(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Kt()((c={},u=o,(s=is(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Ae(t,l,i);return React.createElement(qe.Fragment,null,r&&React.createElement(ts,this.props),r&&React.createElement(os,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:l,attributes:{blockUniqId:i,reviewStyle:t.reviewStyle,reviewType:t.reviewType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,customerReviewList:t.customerReviewList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&ls(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const ps=ms,gs=JSON.parse('{"name":"woolentor/customer-review","category":"woolentor-blocks","title":"WL: Customer Review","description":"Display Product Customer Review.","keywords":["woolentor","product","review","woocommerce","customer","customer review"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"reviewStyle":{"type":"string","default":"1"},"reviewType":{"type":"string","default":"custom"},"customerReviewList":{"type":"array","default":[{"name":"Carolina Monntoya","designation":"Managing Director","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Peter Rose","designation":"Manager","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Gerald Gilbert","designation":"Developer","rating":"5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { text-align: {{contentAlign}}; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .wlb-review-style-2 .wl-customer-testimonal .clint-info h4:before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-customer-testimonal .clint-info .rating { color: {{ratingColor}}!important; }"}}}}'),fs=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var bs=gs.name,ys=gs.title,Rs=gs.description,_s=gs.category,ws=gs.attributes,hs=gs.keywords,Es=gs.supports,vs={title:(0,de.__)(ys,"woolentor"),description:(0,de.__)(Rs,"woolentor"),icon:React.createElement(me.Icon,{icon:fs}),keywords:hs,supports:Es,attributes:ws,edit:ps,save:function(){return null}};function Os(e){return Os="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Os(e)}function Ps(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Cs(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ps(Object(o),!0).forEach((function(t){Bs(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ps(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Bs(e,t,o){return(t=ks(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function As(e){return function(e){if(Array.isArray(e))return Ss(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Ss(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ss(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ss(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Ws(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ks(r.key),r)}}function ks(e){var t=function(e,t){if("object"!=Os(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Os(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Os(t)?t:String(t)}function Ts(e,t,o){return t=Ls(t),function(e,t){if(t&&("object"===Os(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xs()?Reflect.construct(t,o||[],Ls(e).constructor):t.apply(e,o))}function xs(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xs=function(){return!!e})()}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ls(e)}function Ns(e,t){return Ns=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ns(e,t)}var zs=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Ts(this,t,[e])).state={activeClass:!1},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ns(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.showFirstItem,l=function(e,t,o){var a=r.faqList.map((function(r,n){return n===o?Cs(Cs({},r),{},Bs({},t,e)):r}));n({faqList:a})};return r.faqList.length&&(e=r.faqList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.faqList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=As(r.faqList);t.splice(e,1),n({faqList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Faq Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Marker Title","woolentor"),value:r.faqList[o].title,onChange:function(e){return l(e,"title",o)}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Faq Content","woolentor"),value:r.faqList[o].content,onChange:function(e){return l(e,"content",o)}}))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("FAQ","woolentor"),initialOpen:!0},e,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=As(r.faqList);e.push({title:(0,de.__)("Faq Item #"+(r.faqList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({faqList:e}),t.setState({activeClass:r.faqList.length})}.bind(this)},(0,de.__)("Add FAQ","woolentor"))),React.createElement(Yt,{title:(0,de.__)("Settings","woolentor")},React.createElement(me.ToggleControl,{label:(0,de.__)("Show First Item","woolentor"),checked:a,help:a?(0,de.__)("Enable first item.","woolentor"):(0,de.__)("Toggle to show the first item.","woolentor"),onChange:function(){return n({showFirstItem:!a})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Icon Position","woolentor"),value:r.iconPosition,options:[{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return n({iconPosition:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:r.titleBorderType,options:[{label:(0,de.__)("None","woolentor"),value:""},{label:(0,de.__)("Solid","woolentor"),value:"solid"},{label:(0,de.__)("Double","woolentor"),value:"double"},{label:(0,de.__)("Dotted","woolentor"),value:"dotted"},{label:(0,de.__)("Dashed","woolentor"),value:"dashed"},{label:(0,de.__)("Groove","woolentor"),value:"groove"}],onChange:function(e){return n({titleBorderType:e})}}),r.titleBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:r.titleBorderWidth,attributesKey:"titleBorderWidth",setAttributes:n}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:r.titleBorderColor,onChange:function(e){return n({titleBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:r.titleBorderRadius,attributesKey:"titleBorderRadius",setAttributes:n}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:r.headBackgroundColor,onChange:function(e){return n({headBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Active Background Color","woolentor")},React.createElement(me.ColorPalette,{value:r.activeHeadBackgroundColor,onChange:function(e){return n({activeHeadBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.faqTitleColor,onChange:function(e){return n({faqTitleColor:e})}})),React.createElement(co,{label:(0,de.__)("Active Title Color","woolentor")},React.createElement(me.ColorPalette,{value:r.activeFaqTitleColor,onChange:function(e){return n({activeFaqTitleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.titleSize,fallbackFontSize:r.titleSize,onChange:function(e){return n({titleSize:e})}}),React.createElement(co,{label:(0,de.__)("Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:r.iconColor,onChange:function(e){return n({iconColor:e})}})),React.createElement(co,{label:(0,de.__)("Active Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:r.activeIconColor,onChange:function(e){return n({activeIconColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.contentColor,onChange:function(e){return n({contentColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.contentSize,fallbackFontSize:r.contentSize,onChange:function(e){return n({contentSize:e})}}))))}}],r&&Ws(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const js=zs;function Is(e){return Is="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Is(e)}function Ms(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Fs(r.key),r)}}function Fs(e){var t=function(e,t){if("object"!=Is(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Is(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Is(t)?t:String(t)}function Hs(e,t,o){return t=qs(t),function(e,t){if(t&&("object"===Is(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ds()?Reflect.construct(t,o||[],qs(e).constructor):t.apply(e,o))}function Ds(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ds=function(){return!!e})()}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qs(e)}function Gs(e,t){return Gs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Gs(e,t)}var Ks=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Hs(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Gs(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id");this.props.attributes.faqList.length>0&&jQuery("#".concat(e)).length>0&&new Accordion("#"+e,{duration:500,showItem:this.props.attributes.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"})}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.faqList;if(e.attributes.faqList!==o||t.showFirstItem!==e.attributes.showFirstItem){this.$el=jQuery(this.el);var r=this.$el.attr("id");o.length>0&&(new Accordion("#"+r,{duration:500,showItem:t.showFirstItem,elementClass:"htwoolentor-faq-card",questionClass:"htwoolentor-faq-head",answerClass:"htwoolentor-faq-body"}),jQuery(".htwoolentor-faq-card").on("click",(function(e){jQuery(this).toggleClass("is-active")})))}}},{key:"componentWillUnmount",value:function(){this.$el=jQuery(this.el);var e=this.$el.attr("id"),t=jQuery("#"+e);t.accordion&&(t.accordion("destroy"),t.accordion=!1)}},{key:"render",value:function(){var e=this,t=this.props,o=t.name,r=t.attributes,n=t.className,a=t.isSelected,l=t.setAttributes,i=t.clientId,c=r.blockUniqId;i!==c&&l({blockUniqId:i});var s,u,d,m=Kt()("htwoolentor-faq","woolentorblock-".concat(c),"woolentorblock-faq-area-"+c,(s={},u="woolentorfaq-icon-pos-".concat(r.iconPosition),d=r.iconPosition,(u=Fs(u))in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s)),p=Ae(r,o,c),g=React.createElement("span",{className:"htwoolentor-faq-head-indicator"}),f=r.faqList.map((function(e,t){var o=e.title?React.createElement("span",{className:"htwoolentor-faq-head-text"},e.title):"";return React.createElement("div",{key:t,className:"htwoolentor-faq-card"},"right"===r.iconPosition?React.createElement("div",{className:"htwoolentor-faq-head"},o,g):React.createElement("div",{className:"htwoolentor-faq-head"},g,o),React.createElement("div",{className:"htwoolentor-faq-body"},React.createElement("div",{className:"htwoolentor-faq-content"},e.content&&React.createElement("p",null,e.content))))}));return React.createElement(qe.Fragment,null,a&&React.createElement(js,this.props),React.createElement("div",{className:n},React.createElement("div",{className:m,id:"htwoolentor-faq-"+c+Math.random().toString(36).substr(2,9),ref:function(t){return e.el=t}},f.length>0?f:(0,de.__)("FAQ list does not exist.","woolentor")),p))}}],r&&Ms(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Us=Ks,Qs=JSON.parse('{"name":"woolentor/faq","category":"woolentor-blocks","title":"WL : FAQ","description":"Display faq.","keywords":["WooLentor","faq","accordion","question","answer"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"faqList":{"type":"array","default":[{"title":"Words To Live By","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"Producing Perfume From Home","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"The Basics Of Western Astrology Explained","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."},{"title":"What Curling Irons Are The Best Ones","content":"Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris niesi ut aliquip ex ea commodo consequat.sed do eiusmod tempor incididunt ut quis labore et doliore magna aliqua."}]},"showFirstItem":{"type":"boolean","default":true},"iconPosition":{"type":"string","default":"right"},"headBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ background-color: {{headBackgroundColor}}; }"}},"faqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ color: {{faqTitleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-text{ font-size: {{titleSize}}; }"}},"titleBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-style: {{titleBorderType}}; }"}},"titleBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-width: {{titleBorderWidth}}; }"}},"titleBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-color: {{titleBorderColor}}; }"}},"titleBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head{ border-radius: {{titleBorderRadius}}; }"}},"iconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-head-indicator:after{ background-color: {{iconColor}}!important; }"}},"activeHeadBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head{ background-color: {{activeHeadBackgroundColor}}; }"}},"activeFaqTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-text{ color: {{activeFaqTitleColor}}; }"}},"activeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:before,{{WOOLENTOR_WRAPPER}} .is-active .htwoolentor-faq-head-indicator:after{ background-color: {{activeIconColor}}!important; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content{ color: {{contentColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content,{{WOOLENTOR_WRAPPER}} .htwoolentor-faq-content p{ font-size: {{contentSize}}; }"}}}}'),Vs=React.createElement("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 512 512",space:"preserve"},React.createElement("g",null,React.createElement("path",{d:"M256,0C114.516,0,0,114.497,0,256c0,141.484,114.497,256,256,256c141.484,0,256-114.497,256-256 C512,114.516,397.503,0,256,0z M256,472c-119.377,0-216-96.607-216-216c0-119.377,96.607-216,216-216 c119.377,0,216,96.607,216,216C472,375.377,375.393,472,256,472z"}),React.createElement("path",{d:"M256,128.5c-44.112,0-80,35.888-80,80c0,11.046,8.954,20,20,20s20-8.954,20-20c0-22.056,17.944-40,40-40 c22.056,0,40,17.944,40,40c0,22.056-17.944,40-40,40c-11.046,0-20,8.954-20,20v50c0,11.046,8.954,20,20,20 c11.046,0,20-8.954,20-20v-32.531c34.466-8.903,60-40.26,60-77.469C336,164.388,300.112,128.5,256,128.5z"})));var Ys=Qs.name,Zs=Qs.category,Js=Qs.title,Xs=Qs.description,$s=Qs.keywords,eu=Qs.supports,tu=Qs.attributes,ou={title:(0,de.__)(Js,"woolentor"),description:(0,de.__)(Xs,"woolentor"),icon:React.createElement(me.Icon,{icon:Vs}),keywords:$s,supports:eu,attributes:tu,edit:Us,save:function(){return null}};function ru(e){return ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ru(e)}function nu(e){return function(e){if(Array.isArray(e))return au(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return au(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?au(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function au(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function lu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iu(r.key),r)}}function iu(e){var t=function(e,t){if("object"!=ru(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ru(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ru(t)?t:String(t)}function cu(e,t,o){return t=uu(t),function(e,t){if(t&&("object"===ru(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,su()?Reflect.construct(t,o||[],uu(e).constructor):t.apply(e,o))}function su(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(su=function(){return!!e})()}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uu(e)}function du(e,t){return du=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},du(e,t)}var mu=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=cu(this,t,[e])).state={activeClass:!1},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&du(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e,t=this,o=this.props,r=o.attributes,n=o.setAttributes,a=r.style,l=r.bgProperty,i=function(e,t,o){var a=nu(r.markerList);a[o][t]=e,n({markerList:a})};return r.markerList.length&&(e=r.markerList.map((function(e,o){var a=t.state.activeClass===o?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:o},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,o){o===t.state.activeClass?t.setState({activeClass:!1}):t.setState({activeClass:o})}(0,o)}},React.createElement("div",{className:"woolentor_repeater-item-title"},r.markerList[o].title),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var t=nu(r.markerList);t.splice(e,1),n({markerList:t})}(o)}}))),React.createElement("div",{className:a+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Marker Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Marker Title","woolentor"),value:r.markerList[o].title,onChange:function(e){return i(e,"title",o)}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Marker Content","woolentor"),value:r.markerList[o].content,onChange:function(e){return i(e,"content",o)}}),React.createElement(me.RangeControl,{label:(0,de.__)("Horizontal Postion","woolentor"),value:r.markerList[o].horizontal,onChange:function(e){return i(e,"horizontal",o)},min:-1e3,step:1,max:1e3}),React.createElement(me.RangeControl,{label:(0,de.__)("Vertical Postion","woolentor"),value:r.markerList[o].verticle,onChange:function(e){return i(e,"verticle",o)},min:-1e3,step:1,max:1e3}))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Image","woolentor"),initialOpen:!0},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"bgProperty",setAttributes:n,bgProperty:l})),React.createElement(Yt,{title:(0,de.__)("Marker","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:a,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"},{label:(0,de.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return n({style:e})}}),e,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=nu(r.markerList);e.push({title:(0,de.__)("Marker Item #"+(r.markerList.length+1),"woolentor"),content:"",horizontal:"",verticle:""}),n({markerList:e}),t.setState({activeClass:r.markerList.length})}.bind(this)},(0,de.__)("Add Marker","woolentor")))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Marker","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerColor,onChange:function(e){return n({markerColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerBGColor,onChange:function(e){return n({markerBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerBorderColor,onChange:function(e){return n({markerBorderColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:r.markerBorderRadius,attributesKey:"markerBorderRadius",setAttributes:n}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:r.markerPadding,attributesKey:"markerPadding",setAttributes:n})),React.createElement(Yt,{title:(0,de.__)("Content Area","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerContentBGColor,onChange:function(e){return n({markerContentBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:r.markerContentBorderRadius,attributesKey:"markerContentBorderRadius",setAttributes:n}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:r.markerContentPadding,attributesKey:"markerContentPadding",setAttributes:n})),React.createElement(Yt,{title:(0,de.__)("Marker Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerTitleColor,onChange:function(e){return n({markerTitleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerTitleSize,fallbackFontSize:r.markerTitleSize,onChange:function(e){return n({markerTitleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:r.markerTitleMargin,attributesKey:"markerTitleMargin",setAttributes:n})),React.createElement(Yt,{title:(0,de.__)("Marker Description","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:r.markerDescriptionColor,onChange:function(e){return n({markerDescriptionColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:r.markerDescriptionSize,fallbackFontSize:r.markerDescriptionSize,onChange:function(e){return n({markerDescriptionSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:r.markerDescriptionMargin,attributesKey:"markerDescriptionMargin",setAttributes:n}))))}}],r&&lu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const pu=mu;function gu(e){return gu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gu(e)}function fu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,bu(r.key),r)}}function bu(e){var t=function(e,t){if("object"!=gu(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=gu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gu(t)?t:String(t)}function yu(e,t,o){return t=_u(t),function(e,t){if(t&&("object"===gu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ru()?Reflect.construct(t,o||[],_u(e).constructor):t.apply(e,o))}function Ru(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ru=function(){return!!e})()}function _u(e){return _u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_u(e)}function wu(e,t){return wu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},wu(e,t)}var hu=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),yu(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&wu(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId,c=o.bgProperty;""==i&&a({blockUniqId:l});var s,u,d,m=Kt()((s={},u="wlb-marker-style-".concat(o.style),d=o.style,(u=bu(u))in s?Object.defineProperty(s,u,{value:d,enumerable:!0,configurable:!0,writable:!0}):s[u]=d,s),"woolentorblock-".concat(i)),p=".wlb-marker-style-".concat(o.style,"{\n\t\t\t").concat(c.imageUrl&&"background-image:url("+c.imageUrl+");","\n\t\t\t").concat(c.position&&"background-position:"+c.position+";","\n\t\t\t").concat(c.attachment&&"background-attachment:"+c.attachment+";","\n\t\t\t").concat(c.repeat&&"background-repeat:"+c.repeat+";","\n\t\t\t").concat(c.size&&"background-size:"+c.size+";","\n\t\t}"),g=Ae(o,t,i),f=o.markerList.map((function(e,t){return React.createElement("div",{key:t,className:"wlb_image_pointer",style:{left:"".concat(e.horizontal,"%"),top:"".concat(e.verticle,"%")}},React.createElement("div",{className:"wlb_pointer_box"},e.title&&React.createElement("h4",null,e.title),e.content&&React.createElement("p",null,e.content)))}));return React.createElement(qe.Fragment,null,n&&React.createElement(pu,this.props),React.createElement("div",{className:r},React.createElement("div",{className:m},f)),React.createElement("style",{type:"text/css"},p),g)}}],r&&fu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Eu=hu,vu=JSON.parse('{"name":"woolentor/image-marker","category":"woolentor-blocks","title":"WL : Image Marker","description":"Display image marker.","keywords":["woolentor","shop idicator","image indicator","marker","image marker"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"bgProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""}},"style":{"type":"string","default":"1"},"markerList":{"type":"array","default":[{"title":"Marker One","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":50,"verticle":15},{"title":"Marker Two","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":40,"verticle":20},{"title":"Marker Three","content":"Lorem ipsum pisaci volupt atem accusa saes ntisdumtiu loperm asaerks.","horizontal":60,"verticle":30}]},"markerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer::before { color: {{markerColor}}; }"}},"markerBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { background-color: {{markerBGColor}}; }"}},"markerBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-color: {{markerBorderColor}}; }"}},"markerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { border-radius: {{markerBorderRadius}}; }"}},"markerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer { padding: {{markerPadding}}; }"}},"markerContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { background-color: {{markerContentBGColor}}; }"}},"markerContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { border-radius: {{markerContentBorderRadius}}; }"}},"markerContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box { padding: {{markerContentPadding}}; }"}},"markerTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { color: {{markerTitleColor}}; }"}},"markerTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { font-size: {{markerTitleSize}}; }"}},"markerTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box h4 { margin: {{markerTitleMargin}}; }"}},"markerDescriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { color: {{markerDescriptionColor}}; }"}},"markerDescriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { font-size: {{markerDescriptionSize}}; }"}},"markerDescriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlb_image_pointer .wlb_pointer_box p { margin: {{markerDescriptionMargin}}; }"}}}}'),Ou=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 193.826 193.826",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"M191.495,55.511L137.449,1.465c-1.951-1.953-5.119-1.953-7.07,0l-0.229,0.229c-3.314,3.313-5.14,7.72-5.14,12.406 c0,3.019,0.767,5.916,2.192,8.485l-56.55,48.533c-4.328-3.868-9.852-5.985-15.703-5.985c-6.305,0-12.232,2.455-16.689,6.913 l-0.339,0.339c-1.953,1.952-1.953,5.118,0,7.07l32.378,32.378l-31.534,31.533c-0.631,0.649-15.557,16.03-25.37,28.27 c-9.345,11.653-11.193,13.788-11.289,13.898c-1.735,1.976-1.639,4.956,0.218,6.822c0.973,0.977,2.256,1.471,3.543,1.471 c1.173,0,2.349-0.41,3.295-1.237c0.083-0.072,2.169-1.885,13.898-11.289c12.238-9.813,27.619-24.74,28.318-25.421l31.483-31.483 l30.644,30.644c0.976,0.977,2.256,1.465,3.535,1.465s2.56-0.488,3.535-1.465l0.339-0.339c4.458-4.457,6.913-10.385,6.913-16.689 c0-5.851-2.118-11.375-5.985-15.703l48.533-56.55c2.569,1.425,5.466,2.192,8.485,2.192c4.687,0,9.093-1.825,12.406-5.14l0.229-0.229 C193.448,60.629,193.448,57.463,191.495,55.511z"}));var Pu=vu.name,Cu=vu.category,Bu=vu.title,Au=vu.description,Su=vu.supports,Wu=vu.keywords,ku=vu.attributes,Tu={title:(0,de.__)(Bu,"woolentor"),description:(0,de.__)(Au,"woolentor"),icon:React.createElement(me.Icon,{icon:Ou}),keywords:Wu,supports:Su,attributes:ku,edit:Eu,save:function(){return null}};function xu(e){return xu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xu(e)}function Lu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Nu(r.key),r)}}function Nu(e){var t=function(e,t){if("object"!=xu(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=xu(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xu(t)?t:String(t)}function zu(e,t,o){return t=Iu(t),function(e,t){if(t&&("object"===xu(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ju()?Reflect.construct(t,o||[],Iu(e).constructor):t.apply(e,o))}function ju(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ju=function(){return!!e})()}function Iu(e){return Iu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Iu(e)}function Mu(e,t){return Mu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Mu(e,t)}var Fu=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),zu(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mu(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.productFilterType,n=t.perPage,a=t.customOrder,l=t.orderBy,i=t.order,c=t.selectedCategories;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Layout","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:t.layout,options:[{label:(0,de.__)("Layout One","woolentor"),value:"1"},{label:(0,de.__)("Layout Two","woolentor"),value:"2"},{label:(0,de.__)("Layout Three","woolentor"),value:"3"}],onChange:function(e){return o({layout:e})}}),React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:t.noGutter,help:t.noGutter?(0,de.__)("Enable No Gutters.","woolentor"):(0,de.__)("Toggle to show the Gutters.","woolentor"),onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(me.RangeControl,{label:(0,de.__)("Gutter Spacing","woolentor"),value:t.itemSpace,onChange:function(e){return o({itemSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Margin Bottom","woolentor"),value:t.itemMarginBottom,onChange:function(e){return o({itemMarginBottom:e})},min:0,step:1,max:1e3})),React.createElement(Yt,{title:(0,de.__)("Query Options","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Filter By","woolentor"),value:r,options:[{label:(0,de.__)("Recent Products","woolentor"),value:"recent"},{label:(0,de.__)("Featured Products","woolentor"),value:"featured"},{label:(0,de.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,de.__)("Sale Products","woolentor"),value:"sale"},{label:(0,de.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,de.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Number Of Products","woolentor"),value:n,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(me.ToggleControl,{label:(0,de.__)("Custom Order","woolentor"),checked:a,help:a?(0,de.__)("Enable custom order.","woolentor"):(0,de.__)("Toggle to show the custom order.","woolentor"),onChange:function(){return o({customOrder:!a})}}),React.createElement(Uo,{title:(0,de.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:c,type:"multiple"}),a?React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:i,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:l,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(Yt,{title:(0,de.__)("Content Settings","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Content Limit","woolentor"),value:t.contentLimit,onChange:function(e){return o({contentLimit:e})},min:1,step:1,max:1e3}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Title","woolentor"),checked:t.showTitle,help:t.showTitle?(0,de.__)("Enable Title.","woolentor"):(0,de.__)("Toggle to show the title.","woolentor"),onChange:function(){return o({showTitle:!t.showTitle})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Price","woolentor"),checked:t.showPrice,help:t.showPrice?(0,de.__)("Enable Price.","woolentor"):(0,de.__)("Toggle to show the price.","woolentor"),onChange:function(){return o({showPrice:!t.showPrice})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Content","woolentor"),checked:t.showContent,help:t.showContent?(0,de.__)("Enable Content.","woolentor"):(0,de.__)("Toggle to show the content.","woolentor"),onChange:function(){return o({showContent:!t.showContent})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Rating","woolentor"),checked:t.showRating,help:t.showRating?(0,de.__)("Enable Rating.","woolentor"):(0,de.__)("Toggle to show the rating.","woolentor"),onChange:function(){return o({showRating:!t.showRating})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Item","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.itemAreaBGColor,onChange:function(e){return o({itemAreaBGColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(qt,{name:"title"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(fo,{label:(0,de.__)("Sale Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement(fo,{label:(0,de.__)("Reguler Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.regulerPriceColor,onChange:function(e){return o({regulerPriceColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cotentColor,onChange:function(e){return o({cotentColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Empty Rating Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement(co,{label:(0,de.__)("Rating Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Action Button","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnAreaBGColor,onChange:function(e){return o({actionBtnAreaBGColor:e})}})),React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBgHoverColor,onChange:function(e){return o({actionBtnBgHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Lu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Hu=Fu;function Du(e){return Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Du(e)}function qu(e,t,o){return(t=Ku(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Gu(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ku(r.key),r)}}function Ku(e){var t=function(e,t){if("object"!=Du(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Du(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Du(t)?t:String(t)}function Uu(e,t,o){return t=Vu(t),function(e,t){if(t&&("object"===Du(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Qu()?Reflect.construct(t,o||[],Vu(e).constructor):t.apply(e,o))}function Qu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Qu=function(){return!!e})()}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vu(e)}function Yu(e,t){return Yu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yu(e,t)}var Zu=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Uu(this,t,[e])).state={productData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yu(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchProductsData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData()}},{key:"componentWillUnmount",value:function(){}},{key:"fetchProductsData",value:function(){var e=this,t={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(t.orderBy=this.props.attributes.orderBy,t.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(t.categories=this.props.attributes.selectedCategories);var o=(0,en.addQueryArgs)("/woolentor/v1/products",t);Ke()({path:o}).then((function(t){return e.setState({productData:t})}))}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s=Kt()("woocommerce","woolentor-product-curvy","woolentorblock-".concat(i),qu({},"woolentor-grid-columns-".concat(o.columns.desktop),o.columns.desktop),qu({},"woolentor-grid-columns-laptop-".concat(o.columns.laptop),o.columns.laptop),qu({},"woolentor-grid-columns-tablet-".concat(o.columns.tablet),o.columns.tablet),qu({},"woolentor-grid-columns-mobile-".concat(o.columns.mobile),o.columns.mobile)),u=Kt()("wl_single-product-item",qu({},"wl_left-item",2==o.layout),qu({},"wl_dark-item",3==o.layout)),d=Ae(o,t,i),m=this.state.productData;return m.length>0&&(c=m.map((function(e,t){return React.createElement("div",{className:"woolentor-grid-column",key:t},React.createElement("div",{className:u},React.createElement(me.Disabled,null,React.createElement("a",{href:e.permalink,className:"product-thumbnail"},(0,qe.createElement)("div",{className:"images",dangerouslySetInnerHTML:{__html:e.image.full.html}}))),React.createElement("div",{className:"product-content"},React.createElement("div",{className:"product-content-top"},!0===o.showTitle&&React.createElement("h6",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),!0===o.showPrice&&(0,qe.createElement)("div",{className:"product-price",dangerouslySetInnerHTML:{__html:e.price_html}}),!0===o.showContent&&React.createElement("p",null,e.content.split(" ").slice(0,o.contentLimit).join(" ")),!0===o.showRating&&(0,qe.createElement)("div",{className:"reading",dangerouslySetInnerHTML:{__html:e.rating.html}})),React.createElement("ul",{className:"action"},React.createElement("li",{className:"wl_cart"},React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"action-item"+e.addtocart.class,"data-product_id":e.id},React.createElement("i",{className:"fa fa-shopping-cart"}))),e.wishlist.status&&(0,qe.createElement)("li",{dangerouslySetInnerHTML:{__html:e.wishlist.html}}),e.compare.status&&(0,qe.createElement)("li",{dangerouslySetInnerHTML:{__html:e.compare.html2}})))))}))),React.createElement(qe.Fragment,null,n&&React.createElement(Hu,this.props),React.createElement("div",{className:r},React.createElement("div",{className:s},0==m.length?React.createElement(me.Spinner,null):React.createElement("div",{className:!0===o.noGutter?"woolentor-grid woolentor-no-gutters":"woolentor-grid"},c))),d)}}],r&&Gu(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Ju=Zu,Xu=JSON.parse('{"name":"woolentor/product-curvy","category":"woolentor-blocks","title":"WL : Product Curvy","description":"Product Curvy.","keywords":["WooLentor","product","curvy","woocommerce","display product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layout":{"type":"string"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"itemSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{itemSpace}}px; }"}},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"contentLimit":{"type":"number","default":6},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showContent":{"type":"boolean","default":true},"showRating":{"type":"boolean","default":true},"itemAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl_single-product-item, {{WOOLENTOR_WRAPPER}} .wl_single-product-item.wl_dark-item .product-content { background-color: {{itemAreaBGColor}}; }"}},"itemMarginBottom":{"type":"number","default":15,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid{ row-gap: {{itemMarginBottom}}px; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ font-size: {{titleSize}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title a:hover{ color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .title{ margin: {{titleMargin}}; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price, {{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price{ color: {{salePriceColor}}!important; }"}},"regulerPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price del,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .product-price span.price del{ color: {{regulerPriceColor}}!important; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ font-size: {{contentSize}}; }"}},"cotentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ color: {{cotentColor}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top p{ margin: {{contentMargin}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating,{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating span{ color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .product-content-top .star-rating{ margin: {{ratingMargin}}; }"}},"actionBtnAreaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action{ background-color: {{actionBtnAreaBGColor}}!important; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare::before{ color: {{actionBtnColor}}!important; }"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ background-color: {{actionBtnBGColor}}!important; }"}},"actionBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a{ border-radius: {{actionBtnBorderRadius}}!important; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover,{{WOOLENTOR_WRAPPER}} .product-content .action li .woolentor-compare.compare:hover::before{ color: {{actionBtnHoverColor}}!important; }"}},"actionBtnBgHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-content .action li a:hover{ background-color: {{actionBtnBgHoverColor}}!important; }"}},"imageBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-thumbnail{ border-color: {{imageBorderColor}}!important; }"}}}}'),$u=React.createElement("svg",{id:"Capa_1",enableBackground:"new 0 0 512 512",height:"512",viewBox:"0 0 512 512",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m166.717 225.43c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m166.717 263.74c-4.309 0-7.802 3.493-7.802 7.803 0 4.309 3.493 7.802 7.802 7.802s7.803-3.493 7.803-7.802c-.001-4.31-3.494-7.803-7.803-7.803z"}),React.createElement("path",{d:"m166.717 302.049c-4.309 0-7.802 3.493-7.802 7.802s3.493 7.802 7.802 7.802 7.803-3.493 7.803-7.802c-.001-4.309-3.494-7.802-7.803-7.802z"}),React.createElement("path",{d:"m302.846 63.778h-90.035l-2.93-21.993c-.497-3.727-3.675-6.51-7.435-6.51h-17.57c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h11.003l2.93 21.993c.003.022.008.043.012.064.003.018.002.036.005.053l7.994 53.55c.549 3.674 3.703 6.393 7.418 6.393h80.614c3.715 0 6.869-2.719 7.418-6.393l7.994-53.55c.322-2.159-.311-4.351-1.736-6.003-1.425-1.654-3.5-2.604-5.682-2.604zm-14.458 53.55h-67.686l-5.755-38.55h79.196z"}),React.createElement("path",{d:"m248.916 165.704c0-12.407-10.094-22.5-22.5-22.5s-22.5 10.093-22.5 22.5 10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5zm-30 0c0-4.136 3.364-7.5 7.5-7.5s7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5-7.5-3.364-7.5-7.5z"}),React.createElement("path",{d:"m282.673 143.204c-12.406 0-22.5 10.093-22.5 22.5s10.094 22.5 22.5 22.5 22.5-10.093 22.5-22.5-10.094-22.5-22.5-22.5zm0 30c-4.136 0-7.5-3.364-7.5-7.5s3.364-7.5 7.5-7.5 7.5 3.364 7.5 7.5-3.364 7.5-7.5 7.5z"}),React.createElement("path",{d:"m279.948 225.733h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 264.042h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("path",{d:"m279.948 302.351h-81.378c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h81.378c4.142 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5z"}),React.createElement("g",null,React.createElement("path",{d:"m484.615 88.534h-84.393v-66.614c0-9.951-8.096-18.047-18.047-18.047h-252.349c-9.951 0-18.048 8.096-18.048 18.047v66.614h-19.645c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h19.646v259.248h-96.779v-246.862c0-6.83 5.557-12.386 12.386-12.386h34.747c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-34.747c-15.101 0-27.386 12.286-27.386 27.386v291.442c0 15.1 12.285 27.385 27.386 27.385h166.31l-8.039 58.38h-24.209c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h189.248c4.143 0 7.5-3.358 7.5-7.5s-3.357-7.5-7.5-7.5h-24.209l-8.039-58.38h55.225c4.142 0 7.5-3.358 7.5-7.5s-3.358-7.5-7.5-7.5h-346.287c-6.829 0-12.386-5.556-12.386-12.385v-29.58h482v29.58c0 6.829-5.556 12.385-12.385 12.385h-80.942c-4.143 0-7.5 3.358-7.5 7.5s3.357 7.5 7.5 7.5h80.942c15.1 0 27.385-12.285 27.385-27.385v-291.442c0-15.1-12.285-27.386-27.385-27.386zm-173.269 404.593h-110.548l8.039-58.38h94.47zm75.208-186.168c-28.917 0-52.443-23.526-52.443-52.443s23.526-52.444 52.443-52.444 52.443 23.526 52.443 52.444-23.526 52.443-52.443 52.443zm-259.776-285.039c0-1.68 1.367-3.047 3.048-3.047h252.349c1.68 0 3.047 1.367 3.047 3.047v165.186c-36.574.715-66.111 30.669-66.111 67.41s29.537 66.695 66.111 67.41v40.61h-258.444zm273.444 340.863v-42.217c30.658-6.335 53.775-33.542 53.775-66.049s-23.118-59.714-53.775-66.05v-84.932h84.393c6.829 0 12.385 5.556 12.385 12.386v246.862z"}),React.createElement("path",{d:"m394.221 246.215c-4.215-1.49-10.156-1.779-12.221-5.464-.154-.191-.159-1.161.199-2.321.211-.685.763-1.893 2.083-2.291 1.891-.57 4.118-.173 6.035.466 2.912.971 6.118-.031 8.046-2.418.044-.054.087-.107.13-.162 3.168-3.921 1.627-9.835-3.085-11.626-.542-.206-1.099-.395-1.671-.567v-2.359c0-4.142-3.357-7.5-7.5-7.5s-7.5 3.358-7.5 7.5v2.722c-5.865 2.243-10.182 7.478-11.399 13.944-1.211 6.425.935 12.69 5.601 16.349 4.315 3.385 10.376 5.783 16.283 7.872 2.59.915 3.688 2.655 3.266 5.17-.332 1.975-2.032 5.324-6.3 5.352-4.606.03-5.695-.139-9.043-2.329-3.712-2.427-8.775-1.144-10.826 2.94-1.733 3.451-.383 7.68 2.861 9.774 3.572 2.307 6.456 3.498 9.557 4.088v3.177c0 4.142 3.357 7.5 7.5 7.5s7.5-3.358 7.5-7.5v-4.032c6.961-2.626 12.247-8.778 13.543-16.485 1.631-9.702-3.617-18.462-13.059-21.8z"}))));var ed=Xu.name,td=Xu.category,od=Xu.title,rd=Xu.description,nd=Xu.keywords,ad=Xu.supports,ld=Xu.attributes,id={title:(0,de.__)(od,"woolentor"),description:(0,de.__)(rd,"woolentor"),icon:React.createElement(me.Icon,{icon:$u}),keywords:nd,supports:ad,attributes:ld,edit:Ju,save:function(){return null}};const cd=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Product Grid","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Grid Style","woolentor"),value:t.gridStyle,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"},{label:(0,de.__)("Style Five","woolentor"),value:"5"}],onChange:function(e){return o({gridStyle:e})}}),React.createElement(co,{label:(0,de.__)("Slider","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.slider,onChange:function(){return o({slider:!t.slider})}})),React.createElement(co,{label:(0,de.__)("Filterable","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.filterable,onChange:function(){return o({filterable:!t.filterable})}}))),!0!==t.slider&&React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})}}),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(Yt,{title:(0,de.__)("Query Settings","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Filter By","woolentor"),value:t.productType,options:[{label:(0,de.__)("Recent Products","woolentor"),value:"recent"},{label:(0,de.__)("Featured Products","woolentor"),value:"featured"},{label:(0,de.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,de.__)("Sale Products","woolentor"),value:"sale"},{label:(0,de.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,de.__)("Mixed order Products","woolentor"),value:"mixed_order"},{label:(0,de.__)("Add ID Manually","woolentor"),value:"show_byid_manually"}],onChange:function(e){return o({productType:e})}}),"show_byid_manually"===t.productType&&React.createElement(me.TextControl,{label:(0,de.__)("Product IDs","woolentor"),value:t.productIdsManually,onChange:function(e){return o({productIdsManually:e})},help:(0,de.__)("Add Product ids separated with comma","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(Lo,{taxonomy:t.taxonomy,onChangeTaxonomy:function(e){return o({taxonomy:e})}}),""!==t.taxonomy&&React.createElement(me.SelectControl,{label:(0,de.__)("Category Operator","woolentor"),value:t.catOperator,options:[{label:(0,de.__)("AND","woolentor"),value:"AND"},{label:(0,de.__)("IN","woolentor"),value:"IN"},{label:(0,de.__)("NOT IN","woolentor"),value:"NOT IN"}],onChange:function(e){return o({catOperator:e})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Custom Order","woolentor"),checked:t.customOrder,onChange:function(){return o({customOrder:!t.customOrder})}}),t.customOrder?React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:t.order,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),React.createElement(Yt,{title:(0,de.__)("Additional Options","woolentor")},React.createElement(me.ToggleControl,{label:(0,de.__)("Pagination","woolentor"),checked:t.paginate,onChange:function(){return o({paginate:!t.paginate})}}),t.paginate&&React.createElement(React.Fragment,null,React.createElement(me.ToggleControl,{label:(0,de.__)("Allow Order","woolentor"),checked:t.allowOrder,onChange:function(){return o({allowOrder:!t.allowOrder})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Result Count","woolentor"),checked:t.showResultCount,onChange:function(){return o({showResultCount:!t.showResultCount})}})),React.createElement(fo,{label:(0,de.__)("Cart Button Settings","woolentor")}),React.createElement(Wr,{label:(0,de.__)("Add to Cart Button Icon","woolentor"),onReset:function(){return o({addToCartIcon:""})},value:t.addToCartIcon,onChange:function(e){return o({addToCartIcon:e})}}),("1"===t.gridStyle||"2"===t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(me.TextControl,{label:(0,de.__)("Add to Cart Button Text","woolentor"),value:t.addToCartText,onChange:function(e){return o({addToCartText:e})},placeholder:(0,de.__)("Add to Cart","woolentor")}),t.addToCartIcon&&React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Add to Cart Icon Position","woolentor"),value:t.buttonIconAlign,options:[{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({buttonIconAlign:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200}))),React.createElement(fo,{label:(0,de.__)("Image Settings","woolentor")}),React.createElement(me.SelectControl,{label:(0,de.__)("Image Style","woolentor"),value:t.imageLayoutType,options:[{label:(0,de.__)("Zoom Image","woolentor"),value:"zoom"},{label:(0,de.__)("Secondary Image","woolentor"),value:"secondary_img"}],onChange:function(e){return o({imageLayoutType:e})}}),React.createElement(fo,{label:(0,de.__)("Content Settings","woolentor")}),React.createElement(me.ToggleControl,{label:(0,de.__)("Hide Category","woolentor"),checked:t.hideCategory,onChange:function(){return o({hideCategory:!t.hideCategory})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Hide Rating","woolentor"),checked:t.hideRating,onChange:function(){return o({hideRating:!t.hideRating})}})),!0===t.slider&&React.createElement(Yt,{title:(0,de.__)("Slider Option","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.sliderItems,onChange:function(e){return o({sliderItems:e})},min:1,step:1,max:100}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.arrows,onChange:function(){return o({arrows:!t.arrows})}})),React.createElement(co,{label:(0,de.__)("Slider dots","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.dots,onChange:function(){return o({dots:!t.dots})}})),React.createElement(co,{label:(0,de.__)("Pause on Hover?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.pauseOnHover,onChange:function(){return o({pauseOnHover:!t.pauseOnHover})}})),React.createElement(co,{label:(0,de.__)("Slider auto play","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.autoplay,onChange:function(){return o({autoplay:!t.autoplay})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:t.autoplaySpeed,onChange:function(e){return o({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:t.animationSpeed,onChange:function(e){return o({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.scrollColumns,onChange:function(e){return o({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(fo,{label:(0,de.__)("Tablet Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.tabletDisplayColumns,onChange:function(e){return o({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.tabletScrollColumns,onChange:function(e){return o({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:t.tabletWidth,onChange:function(e){return o({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(fo,{label:(0,de.__)("Mobile Phone Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.mobileDisplayColumns,onChange:function(e){return o({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.mobileScrollColumns,onChange:function(e){return o({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:t.mobileWidth,onChange:function(e){return o({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Item Style","woolentor"),initialOpen:!0},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(jr,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(jr,{label:(0,de.__)("Hover Border","woolentor"),value:t.itemHoverBorder,onChange:function(e){return o({itemHoverBorder:e})}}),React.createElement(ht.PanelColorSettings,{title:(0,de.__)("Background Color Settings"),showTitle:!1,colorSettings:[{value:t.itemBGColor,onChange:function(e){return o({itemBGColor:e})},label:(0,de.__)("Background Color","woolentor")},{value:t.itemBGHoverColor,onChange:function(e){return o({itemBGHoverColor:e})},label:(0,de.__)("Background Hover Color","woolentor")}]})),React.createElement(Yt,{title:(0,de.__)("Content Style","woolentor"),initialOpen:!1},React.createElement(fo,{label:(0,de.__)("Title","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0}),React.createElement(fo,{label:(0,de.__)("Category","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.categoryColor,onChange:function(e){return o({categoryColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.categoryHoverColor,onChange:function(e){return o({categoryHoverColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.categorySize,fallbackFontSize:t.categorySize,onChange:function(e){return o({categorySize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.categoryMargin,attributesKey:"categoryMargin",setAttributes:o,responsive:!0}),React.createElement(fo,{label:(0,de.__)("Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0}),React.createElement(fo,{label:(0,de.__)("Rating","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Action Button Style","woolentor"),initialOpen:!1},React.createElement(me.RangeControl,{label:(0,de.__)("Size","woolentor"),value:t.actionBtnSize,onChange:function(e){return o({actionBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.actionBtnBorderRadius,attributesKey:"actionBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(qt,{name:"actionbutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(jr,{label:(0,de.__)("Border","woolentor"),value:t.actionBtnBorder,onChange:function(e){return o({actionBtnBorder:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBGColor,onChange:function(e){return o({actionBtnBGColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(jr,{label:(0,de.__)("Border","woolentor"),value:t.actionBtnHoverBorder,onChange:function(e){return o({actionBtnHoverBorder:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBGHoverColor,onChange:function(e){return o({actionBtnBGHoverColor:e})}})))),("1"==t.gridStyle||"3"==t.gridStyle)&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Add To Cart Button","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Size","woolentor"),value:t.actionCartBtnSize,onChange:function(e){return o({actionCartBtnSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.actionCartBtnBorderRadius,attributesKey:"actionCartBtnBorderRadius",setAttributes:o,responsive:!0}),React.createElement(me.RangeControl,{label:(0,de.__)("Icon Size","woolentor"),value:t.actionCartBtnIconSize,onChange:function(e){return o({actionCartBtnIconSize:e})},min:0,step:1,max:1e3,allowReset:!0}),React.createElement(qt,{name:"actioncartbutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionCartBtnColor,onChange:function(e){return o({actionCartBtnColor:e})}})),React.createElement(jr,{label:(0,de.__)("Border","woolentor"),value:t.actionCartBtnBorder,onChange:function(e){return o({actionCartBtnBorder:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionCartBtnBGColor,onChange:function(e){return o({actionCartBtnBGColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionCartBtnHoverColor,onChange:function(e){return o({actionCartBtnHoverColor:e})}})),React.createElement(jr,{label:(0,de.__)("Border","woolentor"),value:t.actionCartBtnHoverBorder,onChange:function(e){return o({actionCartBtnHoverBorder:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionCartBtnBGHoverColor,onChange:function(e){return o({actionCartBtnBGHoverColor:e})}})))))),!0===t.slider&&React.createElement(Yt,{title:(0,de.__)("Slider Control","woolentor")},React.createElement(fo,{label:(0,de.__)("Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationColor,onChange:function(e){return o({navigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationBGColor,onChange:function(e){return o({navigationBGColor:e})}})),React.createElement(jr,{value:t.navigationBorder,onChange:function(e){return o({navigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationHoverColor,onChange:function(e){return o({navigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationHoverBGColor,onChange:function(e){return o({navigationHoverBGColor:e})}})),React.createElement(jr,{value:t.navigationHoverBorder,onChange:function(e){return o({navigationHoverBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Pagination","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Position","woolentor"),value:t.paginationPosition,onChange:function(e){return o({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(qt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(jr,{value:t.paginationBorder,onChange:function(e){return o({paginationBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationActiveColor,onChange:function(e){return o({paginationActiveColor:e})}})),React.createElement(jr,{value:t.paginationActiveBorder,onChange:function(e){return o({paginationActiveBorder:e})}}))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function sd(e){return sd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sd(e)}function ud(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dd(r.key),r)}}function dd(e){var t=function(e,t){if("object"!=sd(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=sd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sd(t)?t:String(t)}function md(e,t,o){return t=gd(t),function(e,t){if(t&&("object"===sd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pd()?Reflect.construct(t,o||[],gd(e).constructor):t.apply(e,o))}function pd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pd=function(){return!!e})()}function gd(e){return gd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gd(e)}function fd(e,t){return fd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fd(e,t)}var bd=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=md(this,t,[e])).customEvent=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fd(e,t)}(t,e),o=t,r=[{key:"componentDidUpdate",value:function(e){var t=this,o=0;if(this.customEvent=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:this.props.attributes.blockUniqId}}),e.attributes!=this.props.attributes)var r=setInterval((function(){document.dispatchEvent(t.customEvent),3===o&&clearInterval(r),o++}),500)}},{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Kt()((c={},u=o,(s=dd(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Ae(t,l,i);return document.dispatchEvent(this.customEvent),React.createElement(qe.Fragment,null,r&&React.createElement(cd,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:l,className:"woolentorblock-editor-".concat(i),attributes:{columns:t.columns,gridStyle:t.gridStyle,noGutter:t.noGutter,taxonomy:t.taxonomy,productType:t.productType,perPage:t.perPage,orderBy:t.orderBy,order:t.order,paginate:t.paginate,productIdsManually:t.productIdsManually,hideCategory:t.hideCategory,hideRating:t.hideRating,slider:t.slider,sliderItems:t.sliderItems,arrows:t.arrows,dots:t.dots,pauseOnHover:t.pauseOnHover,autoplay:t.autoplay,autoplaySpeed:t.autoplaySpeed,animationSpeed:t.animationSpeed,scrollColumns:t.scrollColumns,tabletDisplayColumns:t.tabletDisplayColumns,tabletScrollColumns:t.tabletScrollColumns,tabletWidth:t.tabletWidth,mobileDisplayColumns:t.mobileDisplayColumns,mobileScrollColumns:t.mobileScrollColumns,mobileWidth:t.mobileWidth,blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&ud(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const yd=bd,Rd=JSON.parse('{"name":"woolentor/product-grid","category":"woolentor-blocks","title":"WL: Product Grid","description":"Display Product Grid.","keywords":["woolentor","product","Grid","woocommerce","shop product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"gridStyle":{"type":"string","default":"1"},"filterable":{"type":"boolean","default":false},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"productType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":3},"taxonomy":{"type":"string"},"catOperator":{"type":"string","default":"IN"},"productIdsManually":{"type":"string"},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"paginate":{"type":"boolean","default":false},"allowOrder":{"type":"boolean","default":false},"showResultCount":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"sliderItems":{"type":"number","default":5},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":3},"tabletDisplayColumns":{"type":"number","default":2},"tabletScrollColumns":{"type":"number","default":2},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"addToCartText":{"type":"string","default":"Add To Cart"},"addToCartIcon":{"type":"string","default":"fa fa-plus"},"buttonIconAlign":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"addToCartIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-right i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-left: {{iconSpecing}}px; }{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2 .ht-price-addtocart-wrap .ht-addtocart a.woolentor-button-icon-left i,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 .ht-product-action-3 ul li a.woolentor-button-icon-right i { margin-right: {{iconSpecing}}px; }"}},"imageLayoutType":{"type":"string","default":"zoom"},"hideCategory":{"type":"boolean","default":false},"hideRating":{"type":"boolean","default":false},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2"}},"itemPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { padding: {{itemPadding}}; }"}},"itemBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 { background-color: {{itemBGColor}}; }"}},"itemBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover { background-color: {{itemBGHoverColor}}; }"}},"itemHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2:hover"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a:hover { color: {{titleHoverColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 a { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-title-2 { margin: {{titleMargin}}; }"}},"categoryColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { color: {{categoryColor}}; }"}},"categoryHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a:hover { color: {{categoryHoverColor}}; }"}},"categorySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 a { font-size: {{categorySize}}; }"}},"categoryMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-categories-2 { margin: {{categoryMargin}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2,{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 span { font-size: {{priceSize}}; }"}},"priceMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-price-2 { margin: {{priceMargin}}; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 i { color: {{ratingColor}}; }"}},"ratingMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-product-ratting-2 { margin: {{ratingMargin}}; }"}},"actionBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ font-size: {{actionBtnSize}}px; }"}},"actionBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a{ border-radius: {{actionBtnBorderRadius}}; }"}},"actionBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { color: {{actionBtnColor}}; }"}},"actionBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a"}},"actionBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a { background-color: {{actionBtnBGColor}}; }"}},"actionBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { color: {{actionBtnHoverColor}}; }"}},"actionBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover { background-color: {{actionBtnBGHoverColor}}; }"}},"actionBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-image-wrap-2 [class*=\'ht-product-action\'] ul li a:hover,{{WOOLENTOR_WRAPPER}} .ht-product-2 .ht-product-content-2-wrap [class*=\'ht-product-action\'] ul li a:hover"}},"actionCartBtnSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ font-size: {{actionCartBtnSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a{ border-radius: {{actionCartBtnBorderRadius}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnIconSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a i{ font-size: {{actionCartBtnIconSize}}px; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { color: {{actionCartBtnColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a { background-color: {{actionCartBtnBGColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { color: {{actionCartBtnHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnBGHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover { background-color: {{actionCartBtnBGHoverColor}}; }","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"actionCartBtnHoverBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-product-2 [class*=\'ht-product-content\'] .ht-price-addtocart-wrap [class*=\'ht-addtocart\'] a:hover","dependency":[[{"key":"gridStyle","condition":"==","value":["1","3"]}]]}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"slider","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}}}}'),_d=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 3v8h8V3H3zm6 6H5V5h4v4zm-6 4v8h8v-8H3zm6 6H5v-4h4v4zm4-16v8h8V3h-8zm6 6h-4V5h4v4zm-6 4v8h8v-8h-8zm6 6h-4v-4h4v4z"}));var wd=Rd.name,hd=Rd.title,Ed=Rd.description,vd=Rd.category,Od=Rd.attributes,Pd=Rd.keywords,Cd=Rd.supports,Bd={title:(0,de.__)(hd,"woolentor"),description:(0,de.__)(Ed,"woolentor"),icon:React.createElement(me.Icon,{icon:_d}),keywords:Pd,supports:Cd,attributes:Od,edit:yd,save:function(){return null}};function Ad(e){return Ad="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ad(e)}function Sd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Wd(r.key),r)}}function Wd(e){var t=function(e,t){if("object"!=Ad(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ad(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ad(t)?t:String(t)}function kd(e,t,o){return t=xd(t),function(e,t){if(t&&("object"===Ad(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Td()?Reflect.construct(t,o||[],xd(e).constructor):t.apply(e,o))}function Td(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Td=function(){return!!e})()}function xd(e){return xd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},xd(e)}function Ld(e,t){return Ld=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ld(e,t)}var Nd=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),kd(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ld(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=(t.columns,t.rows),a=t.productTab,l=t.slider,i=t.productFilterType,c=t.perPage,s=t.customOrder,u=t.orderBy,d=t.order,m=t.selectedCategories,p=t.slitems,g=t.slarrows,f=t.sldots,b=t.slpauseOnHover,y=t.slautolay,R=t.slautoplaySpeed,_=t.slanimationSpeed,w=t.slscrollItem,h=t.sltabletDisplayColumns,E=t.sltabletScrollColumns,v=t.sltabletWidth,O=t.slMobileDisplayColumns,P=t.slMobileScrollColumns,C=t.slMobileWidth;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Layout","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Product Style","woolentor"),value:r,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"}],onChange:function(e){return o({style:e})}}),React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.RangeControl,{label:(0,de.__)("Rows","woolentor"),value:n,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(co,{label:(0,de.__)("Tab","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:a,onChange:function(){return o({productTab:!a})}})),!0!==a&&React.createElement(co,{label:(0,de.__)("Slider","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({slider:!l})}}))),React.createElement(Yt,{title:(0,de.__)("Query Options","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Filter By","woolentor"),value:i,options:[{label:(0,de.__)("Recent Products","woolentor"),value:"recent"},{label:(0,de.__)("Featured Products","woolentor"),value:"featured"},{label:(0,de.__)("Best Selling Products","woolentor"),value:"best_selling"},{label:(0,de.__)("Sale Products","woolentor"),value:"sale"},{label:(0,de.__)("Top Rated Products","woolentor"),value:"top_rated"},{label:(0,de.__)("Mixed order Products","woolentor"),value:"mixed_order"}],onChange:function(e){return o({productFilterType:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Number Of Products","woolentor"),value:c,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(co,{label:(0,de.__)("Custom Order","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:s,onChange:function(){return o({customOrder:!s})}})),React.createElement(Uo,{title:(0,de.__)("Product Categories","woolentor"),attributesKey:"selectedCategories",setAttributes:o,selectedTaxonomies:m,type:"multiple"}),s?React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:d,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:u,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})):""),1==l&&!0!==a&&React.createElement(Yt,{title:(0,de.__)("Slider Options","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:p,onChange:function(e){return o({slitems:e})},min:1,step:1,max:10}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:g,onChange:function(){return o({slarrows:!g})}})),React.createElement(co,{label:(0,de.__)("Slider dots","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:f,onChange:function(){return o({sldots:!f})}})),React.createElement(co,{label:(0,de.__)("Pause on Hover?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:b,onChange:function(){return o({slpauseOnHover:!b})}})),React.createElement(co,{label:(0,de.__)("Slider auto play","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:y,onChange:function(){return o({slautolay:!y})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:R,onChange:function(e){return o({slautoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:_,onChange:function(e){return o({slanimationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:w,onChange:function(e){return o({slscrollItem:e})},min:1,step:1,max:1e5}),React.createElement("h3",null,(0,de.__)("Tablet Screen options","woolentor")),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:h,onChange:function(e){return o({sltabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:E,onChange:function(e){return o({sltabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:v,onChange:function(e){return o({sltabletWidth:e})},min:1,step:1,max:1500}),React.createElement("h3",null,(0,de.__)("Mobile Phone Screen options","woolentor")),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:O,onChange:function(e){return o({slMobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:P,onChange:function(e){return o({slMobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:C,onChange:function(e){return o({slMobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"titleAlign",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Action Button","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnColor,onChange:function(e){return o({actionBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnBgColor,onChange:function(e){return o({actionBtnBgColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnHoverColor,onChange:function(e){return o({actionBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.actionBtnHoverBgColor,onChange:function(e){return o({actionBtnHoverBgColor:e})}}))),!0===a?React.createElement(Yt,{title:(0,de.__)("Tab Menu","woolentor")},React.createElement(qt,{name:"tabmenu",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(jr,{value:t.tabMenuBorder,onChange:function(e){return o({tabMenuBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuActiveBGColor,onChange:function(e){return o({tabMenuActiveBGColor:e})}})),React.createElement(jr,{value:t.tabMenuActiveBorder,onChange:function(e){return o({tabMenuActiveBorder:e})}})))):""),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Sd(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const zd=Nd;function jd(e){return jd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jd(e)}function Id(){return Id=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Id.apply(this,arguments)}function Md(e,t,o){return(t=Hd(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Fd(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hd(r.key),r)}}function Hd(e){var t=function(e,t){if("object"!=jd(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=jd(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jd(t)?t:String(t)}function Dd(e,t,o){return t=Gd(t),function(e,t){if(t&&("object"===jd(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qd()?Reflect.construct(t,o||[],Gd(e).constructor):t.apply(e,o))}function qd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qd=function(){return!!e})()}function Gd(e){return Gd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gd(e)}function Kd(e,t){return Kd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kd(e,t)}var Ud=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=Dd(this,t,[e])).state={productData:[],categoryData:[]},o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kd(e,t)}(t,e),o=t,r=[{key:"componentDidMount",value:function(){this.fetchProductsData(),this.fetchCategoryData()}},{key:"componentDidUpdate",value:function(e){var t=this.props.attributes,o=t.perPage,r=t.productFilterType,n=t.customOrder,a=this.props.attributes.orderBy,l=this.props.attributes.order,i=this.props.attributes.selectedCategories;e.attributes.perPage==o&&e.attributes.productFilterType==r&&e.attributes.customOrder==n&&e.attributes.orderBy==a&&e.attributes.order==l&&e.attributes.selectedCategories==i||this.fetchProductsData(),e.attributes.selectedCategories!=i&&this.fetchCategoryData()}},{key:"fetchProductsData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o={perPage:this.props.attributes.perPage,filterBy:this.props.attributes.productFilterType,wpnonce:woolentorData.security};1==this.props.attributes.customOrder&&(o.orderBy=this.props.attributes.orderBy,o.order=this.props.attributes.order),this.props.attributes.selectedCategories.length>0&&(o.categories=this.props.attributes.selectedCategories),t.length>0&&(o.categories=t);var r=(0,en.addQueryArgs)("/woolentor/v1/products",o);Ke()({path:r}).then((function(t){return e.setState({productData:t})}))}},{key:"fetchCategoryData",value:function(){var e=this,t={queryLimit:1e3,queryOrder:"ASC",queryType:"regular",querySlug:this.props.attributes.selectedCategories,wpnonce:woolentorData.security},o=(0,en.addQueryArgs)("/woolentor/v1/category",t);Ke()({path:o}).then((function(t){return e.setState({categoryData:t})}))}},{key:"render",value:function(){var e=this,t=this.props,o=t.name,r=t.attributes,n=t.className,a=t.isSelected,l=t.setAttributes,i=t.clientId,c=r.blockUniqId;function s(e){var t=e.className,o=e.onClick;return React.createElement(me.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-right"}))}function u(e){var t=e.className,o=e.onClick;return React.createElement(me.Button,{className:t,onClick:o},React.createElement("i",{className:"fa fa-angle-left"}))}""==c&&l({blockUniqId:i});var d,m={arrows:r.slarrows,prevArrow:React.createElement(u,null),nextArrow:React.createElement(s,null),dots:r.sldots,infinite:!0,autoplay:r.slautolay,autoplaySpeed:r.slautoplaySpeed,speed:r.slanimationSpeed,fade:!1,pauseOnHover:r.slpauseOnHover,slidesToShow:r.slitems,slidesToScroll:r.slscrollItem,rtl:r.slIsrtl,responsive:[{breakpoint:r.sltabletWidth,settings:{slidesToShow:r.sltabletDisplayColumns,slidesToScroll:r.sltabletScrollColumns}},{breakpoint:r.slMobileWidth,settings:{slidesToShow:r.slMobileDisplayColumns,slidesToScroll:r.slMobileScrollColumns}}]},p=Kt()("woolentor-product-tab-area",Md({},"woolentor-grid-columns-".concat(r.columns.desktop),r.columns.desktop),Md({},"woolentor-grid-columns-laptop-".concat(r.columns.laptop),r.columns.laptop),Md({},"woolentor-grid-columns-tablet-".concat(r.columns.tablet),r.columns.tablet),Md({},"woolentor-grid-columns-mobile-".concat(r.columns.mobile),r.columns.mobile),"woolentorblock-".concat(c)),g=Kt()(Md({},"woolentor-grid",1!=r.slider||1==r.slider&&1==r.productTab),Md({},"woolentor-grid-slider",1==r.slider&&!0!==r.productTab)),f=Kt()("product-item",Md({},"product_style_three",3==r.style)),b=Kt()(Md({},"woolentor-grid-column",r.columns.desktop)),y=Ae(r,o,c),R=this.state,_=R.productData,w=R.categoryData,h=0,E=!1;_.length>0&&(d=_.map((function(e,t){return h++,r.rows>1&&h%r.rows!=0&&(E=!0),React.createElement("div",{key:t},React.createElement("div",{className:b},React.createElement("div",{className:1==E?f+" mb-30":f},React.createElement("div",{className:"product-inner"},React.createElement("div",{className:"image-wrap"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.permalink,className:"image"},(0,qe.createElement)("div",{className:"woolentor-product-image",dangerouslySetInnerHTML:{__html:e.image.full.html}}),!0===e.on_sale&&React.createElement("span",{className:"onsale"},(0,de.__)("Sale!","woolentor")))),1==r.style&&!0===e.wishlist.status?(0,qe.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",3==r.style?React.createElement("div",{className:"product_information_area"},React.createElement("div",{className:"actions style_two"},!0===e.wishlist.status?(0,qe.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):"",(0,qe.createElement)("div",{className:"woolentor-product-btn"},(0,qe.createElement)("a",null,(0,de.__)("Add to cart","woolentor")))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement("a",{href:e.permalink},e.title)),(0,qe.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))):React.createElement("div",{className:2==r.style?"actions style_two":"actions"},2==r.style?React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.wishlist.status?(0,qe.createElement)("span",{className:"woolentor-product-wishlist",dangerouslySetInnerHTML:{__html:e.wishlist.html}}):""):React.createElement(React.Fragment,null,React.createElement("a",{href:e.addtocart.link,"data-quantity":"1",className:"button product_type_simple add_to_cart_button ajax_add_to_cart","data-product_id":e.id,"data-product_sku":"Woo-beanie-logo"},e.addtocart.text),!0===e.compare.status?(0,qe.createElement)("span",{className:"woolentor-product-compare",dangerouslySetInnerHTML:{__html:e.compare.html}}):""))),React.createElement("div",{className:"content"},React.createElement("h4",{className:"title"},React.createElement(me.Disabled,null,React.createElement("a",{href:e.permalink},e.title))),(0,qe.createElement)("div",{className:"woolentor-product-price",dangerouslySetInnerHTML:{__html:e.price_html}}))))))})));var v,O=function(t){e.fetchProductsData(t.target.getAttribute("dataslug"))},P=0;return r.selectedCategories.length>0&&(v=w.map((function(e,t){return P++,React.createElement(React.Fragment,null,React.createElement("li",null,React.createElement("a",{className:1==P?"htactive":"",href:"#woolentortab"+c+P,onClick:O,dataslug:e.slug},e.name)))}))),React.createElement(qe.Fragment,null,a&&React.createElement(zd,this.props),React.createElement("div",{className:"woocommerce"},React.createElement("div",{className:n},React.createElement("div",{className:p},r.productTab&&React.createElement("div",{className:"product-tab-list ht-text-center"},React.createElement("ul",{className:"ht-tab-menus"},v)),0==_.length?React.createElement(me.Spinner,null):React.createElement("div",{className:g},1==r.slider&&!0!==r.productTab?React.createElement(ki.A,Id({},m,{className:"product-slider"}),d):d)))),y)}}],r&&Fd(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Qd=Ud,Vd=React.createElement(me.SVG,{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 359 359",space:"preserve"},React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,0H13C7.5,0,3,4.5,3,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C106,4.5,101.5,0,96,0z M87,84H23V20h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C231,4.5,226.5,0,221,0z M212,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,126H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,130.5,101.5,126,96,126z M87,209H23 v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,130.5,226.5,126,221,126z M212,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,0h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10V10C356,4.5,351.5,0,346,0z M337,84h-64V20 h64V84z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,126h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,130.5,351.5,126,346,126z M337,209h-64v-63h64V209z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M96,256H13c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C106,260.5,101.5,256,96,256z M87,340H23 v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M221,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C231,260.5,226.5,256,221,256z M212,340h-64v-64h64V340z"}))),React.createElement("g",null,React.createElement("g",null,React.createElement("path",{d:"M346,256h-83c-5.5,0-10,4.5-10,10v83c0,5.5,4.5,10,10,10h83c5.5,0,10-4.5,10-10v-83C356,260.5,351.5,256,346,256z M337,340h-64v-64h64V340z"})))),Yd=JSON.parse('{"name":"woolentor/product-tab","category":"woolentor-blocks","title":"WL : Product Tab","description":"Display product.","keywords":["woolentor","product tab","woocommerce product"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"style":{"type":"string","default":"1"},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":1},"productTab":{"type":"boolean","default":false},"slider":{"type":"boolean","default":false},"productFilterType":{"type":"string","default":"recent"},"perPage":{"type":"number","default":4},"customOrder":{"type":"boolean","default":false},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"selectedCategories":{"type":"array","default":[]},"slitems":{"type":"number","default":4},"slarrows":{"type":"boolean","default":true},"sldots":{"type":"boolean","default":false},"slpauseOnHover":{"type":"boolean","default":true},"slautolay":{"type":"boolean","default":false},"slautoplaySpeed":{"type":"number","default":3000},"slanimationSpeed":{"type":"number","default":300},"slscrollItem":{"type":"number","default":3},"sltabletDisplayColumns":{"type":"number","default":2},"sltabletScrollColumns":{"type":"number","default":2},"sltabletWidth":{"type":"number","default":750},"slMobileDisplayColumns":{"type":"number","default":1},"slMobileScrollColumns":{"type":"number","default":1},"slMobileWidth":{"type":"number","default":480},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a{ color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title a:hover{ color: {{titleHoverColor}}; }"}},"titleAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .title{ text-align: {{titleAlign}}; }"}},"priceColor":{"type":"string","selector":".product-item .product-inner .content .price","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price,{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content .price .amount{ color: {{priceColor}}; }"}},"actionBtnColor":{"type":"string","selector":".product-item .actions a","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button,{{WOOLENTOR_WRAPPER}} .product-item .actions a::before{ color: {{actionBtnColor}}; }"}},"actionBtnBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions{ background-color: {{actionBtnBgColor}}; }"}},"actionBtnHoverColor":{"type":"string","selector":".product-item .actions a:hover","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover,{{WOOLENTOR_WRAPPER}} .product-item .woocommerce.compare-button a.button:hover,{{WOOLENTOR_WRAPPER}} .product-item .actions a:hover::before{ color: {{actionBtnHoverColor}}; }"}},"actionBtnHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .actions:hover{ background-color: {{actionBtnHoverBgColor}}; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .product-item .product-inner .content{ text-align: {{contentAlign}}; }"}},"tabMenuColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ color: {{tabMenuColor}}; }"}},"tabMenuBGColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a{ background-color: {{tabMenuBGColor}}; }"}},"tabMenuBorder":{"type":"object","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a"}},"tabMenuActiveColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ color: {{tabMenuActiveColor}}; }"}},"tabMenuActiveBGColor":{"type":"string","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive{ background-color: {{tabMenuActiveBGColor}}; }"}},"tabMenuActiveBorder":{"type":"object","style":{"dependency":[[{"key":"productTab","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-tab-list .ht-tab-menus li a.htactive"}}}}');var Zd=Yd.name,Jd=Yd.category,Xd=Yd.title,$d=Yd.description,em=Yd.keywords,tm=Yd.attributes,om={title:(0,de.__)(Xd,"woolentor"),description:(0,de.__)($d,"woolentor"),icon:React.createElement(me.Icon,{icon:Vd}),keywords:em,attributes:tm,edit:Qd,save:function(){return null}};function rm(e){return rm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rm(e)}function nm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,am(r.key),r)}}function am(e){var t=function(e,t){if("object"!=rm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=rm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rm(t)?t:String(t)}function lm(e,t,o){return t=cm(t),function(e,t){if(t&&("object"===rm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,im()?Reflect.construct(t,o||[],cm(e).constructor):t.apply(e,o))}function im(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(im=function(){return!!e})()}function cm(e){return cm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cm(e)}function sm(e,t){return sm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sm(e,t)}var um=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),lm(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sm(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.style,n=t.contentAlignment,a=t.buttonUrl;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Banner Style","woolentor"),value:r,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"}],onChange:function(e){return o({style:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Content Alignment","woolentor"),value:n,options:[{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"},{label:(0,de.__)("Bottom","woolentor"),value:"bottom"}],onChange:function(e){return o({contentAlignment:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Link","woolentor"),value:a,onChange:function(e){return o({buttonUrl:e})},help:"Please provide a valid URL format."}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBackground,onChange:function(e){return o({areaBackground:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Sub Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],r&&nm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const dm=um,mm=window.wp.primitives,pm=(0,dn.createElement)(mm.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,dn.createElement)(mm.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"}));function gm(e){return gm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gm(e)}function fm(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function bm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ym(r.key),r)}}function ym(e){var t=function(e,t){if("object"!=gm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=gm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gm(t)?t:String(t)}function Rm(e,t,o){return t=wm(t),function(e,t){if(t&&("object"===gm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return hm(e)}(e,_m()?Reflect.construct(t,o||[],wm(e).constructor):t.apply(e,o))}function _m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_m=function(){return!!e})()}function wm(e){return wm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wm(e)}function hm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Em(e,t){return Em=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Em(e,t)}var vm=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Rm(this,t,arguments)).addImage=e.addImage.bind(hm(e)),e.onSelectImage=e.onSelectImage.bind(hm(e)),e}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Em(e,t)}(t,e),o=t,r=[{key:"onSelectImage",value:function(e){e&&e.url&&this.props.setAttributes({imgUrl:e.url})}},{key:"addImage",value:function(e){var t=this;(0,ht.MediaUpload)({allowedTypes:["image","png"],filesList:e,onFileChange:function(e){var o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fm(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?fm(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,1)[0];return t.onSelectImage(o)}})}},{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.clientId,l=e.setAttributes,i=o.title,c=o.subTitle,s=o.imgUrl,u=o.style,d=o.contentAlignment,m=o.buttonText,p=o.buttonUrl,g=o.blockUniqId;""==g&&l({blockUniqId:a});var f=function(e){return l({imgUrl:e.url,imgId:e.id})},b=Ae(o,t,g);return React.createElement(qe.Fragment,null,n&&React.createElement(dm,this.props),React.createElement("div",{className:"woolentorblock-".concat(g," ").concat(r)},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+u+" woolentor-content-align-"+d},React.createElement("div",{className:"woolentor-content"},React.createElement(ht.RichText,{tagName:"h3",className:"banner_subtitle",value:c,onChange:function(e){return l({subTitle:e})},placeholder:(0,de.__)("Banner sub title...","woolentor"),style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(ht.RichText,{tagName:"h2",className:"banner_title",value:i,onChange:function(e){return l({title:e})},placeholder:(0,de.__)("Banner title...","woolentor"),style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(ht.RichText,{tagName:"a",className:"banner_button",value:m,onChange:function(e){return l({buttonText:e})},placeholder:(0,de.__)("Shop Now ....","woolentor"),href:p,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),s?React.createElement("div",{className:"woolentor-banner-img"},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:s,alt:"WooLentor Banner image"}),React.createElement("div",null,React.createElement(ht.MediaUploadCheck,null,React.createElement(ht.MediaUpload,{onSelect:f,allowedTypes:["image","png"],value:s,render:function(e){var t=e.open;return React.createElement(me.Button,{onClick:t},s?(0,de.__)("Replace Image","woolentor"):React.createElement(ht.BlockIcon,{icon:pm}))}})))):React.createElement("div",{className:"woolentor-banner-img"},React.createElement(ht.MediaUploadCheck,null,React.createElement(ht.MediaUpload,{onSelect:f,allowedTypes:["image","png"],value:s,render:function(e){var t=e.open;return React.createElement(me.Button,{onClick:t},s?(0,de.__)("Replace Image","woolentor"):React.createElement(ht.BlockIcon,{icon:pm}))}}))))),b)}}],r&&bm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Om=vm,Pm=JSON.parse('{"name":"woolentor/promo-banner","category":"woolentor-blocks","title":"WL : Promo Banner","description":"Display promo banner.","keywords":["woolentor","product banner","woocommerce promo","promo banner"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"style":{"type":"string","default":"1"},"contentAlignment":{"type":"string","default":"left"},"areaBackground":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner{ background-color: {{areaBackground}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner { margin: {{areaMargin}}; }"}},"title":{"type":"string","default":"","selector":".banner_title"},"subTitle":{"type":"string","default":"","selector":".banner_subtitle"},"imgId":{"type":"number"},"imgUrl":{"type":"string","source":"attribute","attribute":"src","selector":"img"},"buttonUrl":{"type":"string","source":"attribute","selector":"a","attribute":"href"},"buttonText":{"type":"string","source":"html","selector":"a"},"linkTarget":{"type":"string","source":"attribute","selector":"a","attribute":"target"},"titleColor":{"type":"string","selector":".woolentor-banner .banner_title"},"titleSize":{"type":"string"},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_title { padding: {{titlePadding}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_title { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","selector":".woolentor-banner .banner_subtitle"},"subTitleSize":{"type":"string"},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_subtitle { padding: {{subTitlePadding}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_subtitle { margin: {{subTitleMargin}}; }"}},"buttonColor":{"type":"string","selector":".woolentor-banner .banner_button"},"buttonSize":{"type":"string"},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_button { padding: {{buttonPadding}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-banner .banner_button { margin: {{buttonMargin}}; }"}}}}'),Cm=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var Bm=Pm.name,Am=Pm.category,Sm=Pm.title,Wm=Pm.description,km=Pm.keywords,Tm=Pm.attributes,xm=Pm.supports,Lm={title:(0,de.__)(Sm,"woolentor"),description:(0,de.__)(Wm,"woolentor"),icon:React.createElement(me.Icon,{icon:Cm}),keywords:km,supports:xm,attributes:Tm,edit:Om,save:function(e){var t=e.className,o=e.attributes,r=o.title,n=o.subTitle,a=o.imgUrl,l=o.style,i=o.contentAlignment,c=o.buttonText,s=o.buttonUrl,u=o.blockUniqId;return React.createElement("div",{className:"woolentorblock-".concat(u," ").concat(t)},React.createElement("div",{className:"woolentor-banner woolentor-banner-layout-"+l+" woolentor-content-align-"+i},React.createElement("div",{className:"woolentor-content"},React.createElement(ht.RichText.Content,{tagName:"h3",className:"banner_subtitle",value:n,style:{color:"".concat(o.subTitleColor),fontSize:"".concat(o.subTitleSize)}}),React.createElement(ht.RichText.Content,{tagName:"h2",className:"banner_title",value:r,style:{color:"".concat(o.titleColor),fontSize:"".concat(o.titleSize)}}),React.createElement(ht.RichText.Content,{tagName:"a",className:"banner_button",href:(0,en.isURL)(s)?s:"#",value:c,style:{color:"".concat(o.buttonColor),fontSize:"".concat(o.buttonSize)}})),a&&React.createElement("div",{className:"woolentor-banner-img"},s&&(0,en.isURL)(s)?React.createElement("a",{href:s},React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r})):React.createElement("img",{className:"wp-block-woolentor-banner-img",src:a,alt:r}))))}};const Nm=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.RangeControl,{label:(0,de.__)("Number Of Products","woolentor"),value:t.perPage,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:t.order,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Empty Message","woolentor"),checked:t.showEmptyMessage,onChange:function(){return o({showEmptyMessage:!t.showEmptyMessage})}}),t.showEmptyMessage&&React.createElement(me.TextareaControl,{label:(0,de.__)("Empty Message","woolentor"),value:t.emptyMessage,onChange:function(e){return o({emptyMessage:e})}})),React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(co,{label:(0,de.__)("No Gutters","woolentor")},React.createElement(me.ToggleControl,{checked:t.noGutter,onChange:function(){return o({noGutter:!t.noGutter})},className:"woolentor-toggle-control"})),!t.noGutter&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Column Spacing","woolentor"),value:t.columnSpace,onChange:function(e){return o({columnSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Row Spacing","woolentor"),value:t.rowSpace,onChange:function(e){return o({rowSpace:e})},min:0,step:1,max:200}))),React.createElement(Yt,{title:(0,de.__)("Content Settings","woolentor")},React.createElement(co,{label:(0,de.__)("Show Title","woolentor")},React.createElement(me.ToggleControl,{checked:t.showTitle,onChange:function(){return o({showTitle:!t.showTitle})},className:"woolentor-toggle-control"})),React.createElement(co,{label:(0,de.__)("Show Price","woolentor")},React.createElement(me.ToggleControl,{checked:t.showPrice,onChange:function(){return o({showPrice:!t.showPrice})},className:"woolentor-toggle-control"})),React.createElement(co,{label:(0,de.__)("Show Add To Cart Button","woolentor")},React.createElement(me.ToggleControl,{checked:t.showAddToCart,onChange:function(){return o({showAddToCart:!t.showAddToCart})},className:"woolentor-toggle-control"})),React.createElement(co,{label:(0,de.__)("Show Badge","woolentor")},React.createElement(me.ToggleControl,{checked:t.showBadge,onChange:function(){return o({showBadge:!t.showBadge})},className:"woolentor-toggle-control"})),React.createElement(me.SelectControl,{label:(0,de.__)("Title Tag","woolentor"),value:t.titleTag,options:an,onChange:function(e){return o({titleTag:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Item Area","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o,responsive:!0}),React.createElement(jr,{value:t.itemBorder,onChange:function(e){return o({itemBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Content Area","woolentor")},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o,responsive:!0}),React.createElement(jr,{value:t.contentBorder,onChange:function(e){return o({contentBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o,responsive:!0})),t.showTitle&&React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o,responsive:!0})),t.showPrice&&React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o,responsive:!0})),t.showAddToCart&&React.createElement(Yt,{title:(0,de.__)("Add To Cart","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addTocartSize,fallbackFontSize:t.addTocartSize,onChange:function(e){return o({addTocartSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.addTocartPadding,attributesKey:"addTocartPadding",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.cartButtonBorderRadius,attributesKey:"cartButtonBorderRadius",setAttributes:o,responsive:!0}),React.createElement(qt,{name:"actionbutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartButtonColor,onChange:function(e){return o({cartButtonColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartButtonBGColor,onChange:function(e){return o({cartButtonBGColor:e})}})),React.createElement(jr,{value:t.cartButtonBorder,onChange:function(e){return o({cartButtonBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartButtonHoverColor,onChange:function(e){return o({cartButtonHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartButtonHoverBGColor,onChange:function(e){return o({cartButtonHoverBGColor:e})}})),React.createElement(jr,{value:t.cartButtonHoverBorder,onChange:function(e){return o({cartButtonHoverBorder:e})}})))),t.showBadge&&React.createElement(Yt,{title:(0,de.__)("Badge","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.badgeSize,fallbackFontSize:t.badgeSize,onChange:function(e){return o({badgeSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.badgeColor,onChange:function(e){return o({badgeColor:e})}})),React.createElement(co,{label:(0,de.__)("Out of Stock Badge Color","woolentor")},React.createElement(me.ColorPalette,{value:t.outStockBadgeColor,onChange:function(e){return o({outStockBadgeColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.badgeBGColor,onChange:function(e){return o({badgeBGColor:e})}})),React.createElement(jr,{value:t.badgeBorder,onChange:function(e){return o({badgeBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.badgeBorderRadius,attributesKey:"badgeBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.badgePadding,attributesKey:"badgePadding",setAttributes:o,responsive:!0})),t.showEmptyMessage&&React.createElement(Yt,{title:(0,de.__)("Empty Message","woolentor")},React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.emptyMessageSize,fallbackFontSize:t.emptyMessageSize,onChange:function(e){return o({emptyMessageSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyMessageColor,onChange:function(e){return o({emptyMessageColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyMessageBGColor,onChange:function(e){return o({emptyMessageBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.emptyMessagePadding,attributesKey:"emptyMessagePadding",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.emptyMessageMargin,attributesKey:"emptyMessageMargin",setAttributes:o,responsive:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function zm(e){return zm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zm(e)}function jm(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Im(r.key),r)}}function Im(e){var t=function(e,t){if("object"!=zm(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=zm(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zm(t)?t:String(t)}function Mm(e,t,o){return t=Hm(t),function(e,t){if(t&&("object"===zm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Fm()?Reflect.construct(t,o||[],Hm(e).constructor):t.apply(e,o))}function Fm(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Fm=function(){return!!e})()}function Hm(e){return Hm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hm(e)}function Dm(e,t){return Dm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Dm(e,t)}var qm=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Mm(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Dm(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Im(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-recently-viewed-products","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Nm,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:o,attributes:{columns:t.columns,noGutter:t.noGutter,showTitle:t.showTitle,showPrice:t.showPrice,showAddToCart:t.showAddToCart,showBadge:t.showBadge,titleTag:t.titleTag},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&jm(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Gm=qm,Km=JSON.parse('{"name":"woolentor/recently-viewed-products","category":"woolentor-blocks","title":"Recently Viewed Products","description":"Display Recently Viewed Products.","keywords":["woolentor","recent product view","recently view","recent view product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showEmptyMessage":{"type":"boolean","default":true},"emptyMessage":{"type":"string","default":"You haven&#039;t viewed at any of the products yet."},"perPage":{"type":"number","default":4},"order":{"type":"string","default":"DESC"},"columns":{"type":"object","default":{"desktop":4}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"showTitle":{"type":"boolean","default":true},"showPrice":{"type":"boolean","default":true},"showAddToCart":{"type":"boolean","default":true},"showBadge":{"type":"boolean","default":true},"titleTag":{"type":"string","default":"h2"},"itemPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product{ padding: {{itemPadding}} !important; }"}},"itemBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product"}},"itemBorderRadius":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-viewed-product{ border-radius: {{itemBorderRadius}} !important; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content { text-align: {{contentAlignment}}; }"}},"contentPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content{ padding: {{contentPadding}} !important; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content"}},"contentBorderRadius":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content{ border-radius: {{contentBorderRadius}} !important; }"}},"titleSize":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title { font-size: {{titleSize}} !important; }"}},"titleColor":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title a { color: {{titleColor}}; }"}},"titleHoverColor":{"type":"string","dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title a:hover { color: {{titleHoverColor}}; }"}},"titleMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showTitle","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-title{ margin: {{titleMargin}} !important; }"}},"priceSize":{"type":"string","dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price span { font-size: {{priceSize}}; }"}},"priceColor":{"type":"string","dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price span { color: {{priceColor}}; }"}},"priceMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showPrice","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-price{ margin: {{priceMargin}} !important; }"}},"addTocartSize":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { font-size: {{addTocartSize}}; }"}},"addTocartPadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart){ padding: {{addTocartPadding}} !important; }"}},"cartButtonBorderRadius":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart){ border-radius: {{cartButtonBorderRadius}} !important; }"}},"cartButtonColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { color: {{cartButtonColor}}; }"}},"cartButtonBGColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart) { background-color: {{cartButtonBGColor}}; }"}},"cartButtonBorder":{"type":"object","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart)"}},"cartButtonHoverColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover { color: {{cartButtonHoverColor}}; }"}},"cartButtonHoverBGColor":{"type":"string","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover { background-color: {{cartButtonHoverBGColor}}; }"}},"cartButtonHoverBorder":{"type":"object","dependency":[[{"key":"showAddToCart","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-content :is(.button, .added_to_cart):hover"}},"badgeSize":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { font-size: {{badgeSize}}; }"}},"badgeColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { color: {{badgeColor}}; }"}},"outStockBadgeColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label.ht-stockout { color: {{outStockBadgeColor}}; }"}},"badgeBGColor":{"type":"string","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label { background-color: {{badgeBGColor}}; }"}},"badgeBorder":{"type":"object","dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label"}},"badgeBorderRadius":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label{ border-radius: {{badgeBorderRadius}} !important; }"}},"badgePadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showBadge","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-recently-view-image .ht-product-label{ padding: {{badgePadding}} !important; }"}},"emptyMessageSize":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { font-size: {{emptyMessageSize}}; }"}},"emptyMessageColor":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { color: {{emptyMessageColor}}; }"}},"emptyMessageBGColor":{"type":"string","dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product { background-color: {{emptyMessageBGColor}}; }"}},"emptyMessagePadding":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product{ padding: {{emptyMessagePadding}} !important; }"}},"emptyMessageMargin":{"type":"object","default":{"device":"desktop"},"dependency":[[{"key":"showEmptyMessage","condition":"==","value":true}]],"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-no-view-product{ margin: {{emptyMessageMargin}} !important; }"}}}}'),Um=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M7 7h4v4H7zm6 0h4v4h-4zm-6 6h4v4H7zm6 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h16v12z"}));var Qm=Km.name,Vm=Km.title,Ym=Km.description,Zm=Km.category,Jm=Km.attributes,Xm=Km.keywords,$m=Km.supports,ep={title:(0,de.__)(Vm,"woolentor"),description:(0,de.__)(Ym,"woolentor"),icon:React.createElement(me.Icon,{icon:Um}),keywords:Xm,supports:$m,attributes:Jm,edit:Gm,save:function(){return null}};function tp(e){return tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tp(e)}function op(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,rp(r.key),r)}}function rp(e){var t=function(e,t){if("object"!=tp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=tp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tp(t)?t:String(t)}function np(e,t,o){return t=lp(t),function(e,t){if(t&&("object"===tp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ap()?Reflect.construct(t,o||[],lp(e).constructor):t.apply(e,o))}function ap(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ap=function(){return!!e})()}function lp(e){return lp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},lp(e)}function ip(e,t){return ip=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ip(e,t)}var cp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),np(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ip(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.title,n=t.contentPosition,a=t.bannerImage,l=t.badgeImage,i=t.badgeHorizontalPos,c=t.badgeVerticlePos;return React.createElement(React.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Content Position","woolentor"),value:n,options:[{label:(0,de.__)("Top","woolentor"),value:"top"},{label:(0,de.__)("Center","woolentor"),value:"center"},{label:(0,de.__)("Bottom","woolentor"),value:"bottom"},{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({contentPosition:e})}}),React.createElement(Xo,{title:(0,de.__)("Banner image","woolentor"),ImageData:a,attribute:"bannerImage"}),React.createElement(Xo,{title:(0,de.__)("Badge image","woolentor"),ImageData:l,attribute:"badgeImage"}),l.id&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Badge Horizontal Position","woolentor"),value:i,onChange:function(e){return o({badgeHorizontalPos:e})},min:-1e3,step:1,max:1e3}),React.createElement(me.RangeControl,{label:(0,de.__)("Badge Vertical Position","woolentor"),value:c,onChange:function(e){return o({badgeVerticlePos:e})},min:-1e3,step:1,max:1e3})),React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),value:r,placeholder:(0,de.__)("Banner Title","woolentor"),onChange:function(e){return o({title:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Sub Title","woolentor"),placeholder:(0,de.__)("Banner Sub Title","woolentor"),value:t.subTitle,onChange:function(e){return o({subTitle:e})}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Description","woolentor"),help:(0,de.__)("Enter Banner description","woolentor"),value:t.bannerDescription,onChange:function(e){return o({bannerDescription:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Offer Amount","woolentor"),placeholder:(0,de.__)("50%","woolentor"),value:t.offerAmount,onChange:function(e){return o({offerAmount:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Offer Tag Line","woolentor"),value:t.offerTagLine,placeholder:(0,de.__)("off","woolentor"),onChange:function(e){return o({offerTagLine:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Banner Link","woolentor"),value:t.bannerLink,placeholder:(0,de.__)("https://your-link.com","woolentor"),onChange:function(e){return o({bannerLink:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,de.__)("Shop Now","woolentor"),onChange:function(e){return o({buttonText:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Content Area","woolentor")},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.contentAreaMargin,attributesKey:"contentAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.contentAreaPadding,attributesKey:"contentAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.titlePadding,attributesKey:"titlePadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Sub Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleSubColor,onChange:function(e){return o({titleSubColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSubSize,fallbackFontSize:t.titleSubSize,onChange:function(e){return o({titleSubSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.subTitlePadding,attributesKey:"subTitlePadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Description","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.desColor,onChange:function(e){return o({desColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.desSize,fallbackFontSize:t.desSize,onChange:function(e){return o({desSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.desMargin,attributesKey:"desMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.desPadding,attributesKey:"desPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Offer Amount","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.offerColor,onChange:function(e){return o({offerColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerSize,fallbackFontSize:t.offerSize,onChange:function(e){return o({offerSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.offerMargin,attributesKey:"offerMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Offer Tag Line","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.offerTagColor,onChange:function(e){return o({offerTagColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.offerTagSize,fallbackFontSize:t.offerTagSize,onChange:function(e){return o({offerTagSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.offerTagMargin,attributesKey:"offerTagMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonColor,onChange:function(e){return o({buttonColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonHoverColor,onChange:function(e){return o({buttonHoverColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.buttonSize,fallbackFontSize:t.buttonSize,onChange:function(e){return o({buttonSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.buttonMargin,attributesKey:"buttonMargin",setAttributes:o}))))}}],r&&op(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const sp=cp;function up(e){return up="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},up(e)}function dp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mp(r.key),r)}}function mp(e){var t=function(e,t){if("object"!=up(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=up(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==up(t)?t:String(t)}function pp(e,t,o){return t=fp(t),function(e,t){if(t&&("object"===up(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gp()?Reflect.construct(t,o||[],fp(e).constructor):t.apply(e,o))}function gp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gp=function(){return!!e})()}function fp(e){return fp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fp(e)}function bp(e,t){return bp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bp(e,t)}var yp=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512",className:"woolentor-banner-default"},React.createElement("g",null,React.createElement("path",{d:"M446.575,0H65.425C29.349,0,0,29.35,0,65.426v381.149C0,482.65,29.349,512,65.425,512h381.15 C482.651,512,512,482.65,512,446.574V65.426C512,29.35,482.651,0,446.575,0z M481.842,446.575 c0,19.447-15.821,35.267-35.267,35.267H65.425c-19.447,0-35.268-15.821-35.268-35.267v-55.007l99.255-84.451 c3.622-3.082,8.906-3.111,12.562-0.075l62.174,51.628c5.995,4.977,14.795,4.569,20.304-0.946L372.181,209.77 c2.67-2.675,5.783-2.935,7.408-2.852c1.62,0.083,4.695,0.661,7.078,3.596l95.176,117.19V446.575z M481.842,279.865l-71.766-88.366 c-7.117-8.764-17.666-14.122-28.942-14.701c-11.268-0.57-22.317,3.672-30.294,11.662L212.832,326.681l-51.59-42.839 c-14.959-12.422-36.563-12.293-51.373,0.308l-79.712,67.822V65.426c0-19.447,15.821-35.268,35.268-35.268h381.15 c19.447,0,35.267,15.821,35.267,35.268V279.865z"})),React.createElement("g",null,React.createElement("path",{d:"M161.174,62.995c-40.095,0-72.713,32.62-72.713,72.713c0,40.094,32.619,72.713,72.713,72.713s72.713-32.619,72.713-72.713 S201.269,62.995,161.174,62.995z M161.174,178.264c-23.466,0-42.556-19.091-42.556-42.556c0-23.466,19.09-42.556,42.556-42.556 c23.466,0,42.556,19.091,42.556,42.556S184.64,178.264,161.174,178.264z"}))),Rp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),pp(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()("wlspcial-banner",(c={},s="woolentor-banner-content-pos-"+o.contentPosition,u=o.contentPosition,(s=mp(s))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(sp,this.props),React.createElement("div",{className:r},React.createElement("div",{className:d},React.createElement("div",{className:"banner-thumb"},React.createElement("a",{href:o.bannerLink?o.bannerLink:"#"},o.bannerImage.url?React.createElement("img",{src:o.bannerImage.url,alt:"Banner"}):React.createElement("div",{className:"woolentor-default-banner"},yp))),o.badgeImage.url&&React.createElement("div",{className:"wlbanner-badgeimage"},React.createElement("img",{src:o.badgeImage.url,alt:"Banner Badge"})),React.createElement("div",{className:"banner-content"},o.title&&React.createElement("h2",null,o.title),o.subTitle&&React.createElement("h6",null,o.subTitle),o.offerAmount&&React.createElement("h5",null,o.offerAmount,React.createElement("span",null,o.offerTagLine)),o.bannerDescription&&React.createElement("p",null,o.bannerDescription),o.buttonText&&React.createElement("a",{href:o.bannerLink?o.bannerLink:"#"},o.buttonText)))),m)}}],r&&dp(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const _p=Rp,hp=JSON.parse('{"name":"woolentor/special-day-offer","category":"woolentor-blocks","title":"WL : Special Day Offer","description":"Display spesial day offer banner.","keywords":["woolentor","shop banner","banner","special day","offer","special offer"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"contentPosition":{"type":"string","default":"center"},"bannerImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Banner Title"},"subTitle":{"type":"string","default":"Banner Sub Title"},"bannerDescription":{"type":"string","default":"Banner Description"},"offerAmount":{"type":"string"},"offerTagLine":{"type":"string"},"bannerLink":{"type":"string"},"buttonText":{"type":"string"},"badgeImage":{"type":"object","default":{"id":null,"url":""}},"badgeHorizontalPos":{"type":"number","default":25,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { left: {{badgeHorizontalPos}}%; }"}},"badgeVerticlePos":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlbanner-badgeimage { top: {{badgeVerticlePos}}%; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { margin: {{titleMargin}}; }"}},"titlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h2 { padding: {{titlePadding}}; }"}},"titleSubColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { color: {{titleSubColor}}; }"}},"titleSubSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { font-size: {{titleSubSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { margin: {{subTitleMargin}}; }"}},"subTitlePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h6 { padding: {{subTitlePadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { text-align: {{contentAlignment}}; }"}},"contentAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { padding: {{contentAreaPadding}}; }"}},"contentAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content { margin: {{contentAreaMargin}}; }"}},"desColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ color: {{desColor}}; }"}},"desSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ font-size: {{desSize}}; }"}},"desMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ margin: {{desMargin}}; }"}},"desPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content p{ padding: {{desPadding}}; }"}},"offerColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ color: {{offerColor}}; }"}},"offerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ font-size: {{offerSize}}; }"}},"offerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5{ margin: {{offerMargin}}; }"}},"offerTagColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ color: {{offerTagColor}}; }"}},"offerTagSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ font-size: {{offerTagSize}}; }"}},"offerTagMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content h5 span{ margin: {{offerTagMargin}}; }"}},"buttonColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ color: {{buttonColor}}; }"}},"buttonHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a:hover{ color: {{buttonHoverColor}}; }"}},"buttonSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ font-size: {{buttonSize}}; }"}},"buttonMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .banner-content a{ margin: {{buttonMargin}}; }"}}}}'),Ep=React.createElement("svg",{id:"_x31_",enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("g",null,React.createElement("path",{d:"m17.453 24c-.168 0-.34-.021-.51-.066l-15.463-4.141c-1.06-.292-1.692-1.39-1.414-2.45l1.951-7.272c.072-.267.346-.422.612-.354.267.071.425.346.354.612l-1.95 7.27c-.139.53.179 1.082.71 1.229l15.457 4.139c.531.14 1.079-.176 1.217-.704l.781-2.894c.072-.267.346-.426.613-.353.267.072.424.347.353.613l-.78 2.89c-.235.89-1.045 1.481-1.931 1.481z"})),React.createElement("g",null,React.createElement("path",{d:"m22 18h-16c-1.103 0-2-.897-2-2v-12c0-1.103.897-2 2-2h16c1.103 0 2 .897 2 2v12c0 1.103-.897 2-2 2zm-16-15c-.551 0-1 .449-1 1v12c0 .551.449 1 1 1h16c.551 0 1-.449 1-1v-12c0-.551-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m9 9c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2zm0-3c-.551 0-1 .449-1 1s.449 1 1 1 1-.449 1-1-.449-1-1-1z"})),React.createElement("g",null,React.createElement("path",{d:"m4.57 16.93c-.128 0-.256-.049-.354-.146-.195-.195-.195-.512 0-.707l4.723-4.723c.566-.566 1.555-.566 2.121 0l1.406 1.406 3.892-4.67c.283-.339.699-.536 1.142-.54h.011c.438 0 .853.19 1.139.523l5.23 6.102c.18.209.156.525-.054.705-.209.18-.524.157-.705-.054l-5.23-6.102c-.097-.112-.231-.174-.38-.174-.104-.009-.287.063-.384.18l-4.243 5.091c-.09.108-.221.173-.362.179-.142.01-.277-.046-.376-.146l-1.793-1.793c-.189-.188-.518-.188-.707 0l-4.723 4.723c-.097.097-.225.146-.353.146z"})));var vp=hp.name,Op=hp.category,Pp=hp.title,Cp=hp.description,Bp=hp.keywords,Ap=hp.attributes,Sp=hp.supports,Wp={title:(0,de.__)(Pp,"woolentor"),description:(0,de.__)(Cp,"woolentor"),icon:React.createElement(me.Icon,{icon:Ep}),keywords:Bp,attributes:Ap,supports:Sp,edit:_p,save:function(){return null}};const kp=function(e){var t=e.attributes,o=e.setAttributes,r=t.title,n=t.subTitle,a=t.layout,l=t.featureImage;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","styles"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:a,options:[{label:(0,de.__)("Layout One","woolentor"),value:"1"},{label:(0,de.__)("Layout Two","woolentor"),value:"2"},{label:(0,de.__)("Layout Three","woolentor"),value:"3"},{label:(0,de.__)("Layout Four","woolentor"),value:"4"},{label:(0,de.__)("Layout Five","woolentor"),value:"5"}],onChange:function(e){return o({layout:e})}}),React.createElement(Xo,{title:(0,de.__)("Image","woolentor"),ImageData:l,attribute:"featureImage"}),React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),value:r,onChange:function(e){return o({title:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Sub Title","woolentor"),value:n,onChange:function(e){return o({subTitle:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor")},React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBorderColor,onChange:function(e){return o({areaBorderColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaHoverBorderColor,onChange:function(e){return o({areaHoverBorderColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBackgroundColor,onChange:function(e){return o({areaBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Sub Title","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.subTitleColor,onChange:function(e){return o({subTitleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.subTitleSize,fallbackFontSize:t.subTitleSize,onChange:function(e){return o({subTitleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.subTitleMargin,attributesKey:"subTitleMargin",setAttributes:o}))))};function Tp(e){return Tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tp(e)}function xp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lp(r.key),r)}}function Lp(e){var t=function(e,t){if("object"!=Tp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Tp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tp(t)?t:String(t)}function Np(e,t,o){return t=jp(t),function(e,t){if(t&&("object"===Tp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zp()?Reflect.construct(t,o||[],jp(e).constructor):t.apply(e,o))}function zp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zp=function(){return!!e})()}function jp(e){return jp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jp(e)}function Ip(e,t){return Ip=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ip(e,t)}var Mp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Np(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ip(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(ht.BlockControls,null,React.createElement(ht.AlignmentToolbar,{value:t.textAlignment,onChange:function(e){return o({textAlignment:e})}})))}}],r&&xp(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Fp=Mp;function Hp(e){return Hp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hp(e)}function Dp(e,t,o){return(t=Gp(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function qp(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gp(r.key),r)}}function Gp(e){var t=function(e,t){if("object"!=Hp(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Hp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Hp(t)?t:String(t)}function Kp(e,t,o){return t=Qp(t),function(e,t){if(t&&("object"===Hp(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Up()?Reflect.construct(t,o||[],Qp(e).constructor):t.apply(e,o))}function Up(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Up=function(){return!!e})()}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qp(e)}function Vp(e,t){return Vp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vp(e,t)}var Yp=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Kp(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vp(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.className,r=e.attributes,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=r.blockUniqId,c=r.featureImage;""==i&&a({blockUniqId:l});var s=Kt()(o,Dp({},"woolentor-blocks ht-feature-wrap ht-feature-style-"+r.layout,r.layout),Dp({},"woolentor-text-align-"+r.textAlignment,r.textAlignment),"woolentorblock-".concat(i)),u=Ae(r,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(kp,this.props),n&&React.createElement(Fp,this.props),React.createElement("div",{className:s},React.createElement("div",{className:"ht-feature-inner"},c.url&&React.createElement("div",{className:"ht-feature-img"},React.createElement("img",{src:c.url,alt:r.title})),React.createElement("div",{className:"ht-feature-content"},r.title&&React.createElement("h4",null,r.title),r.subTitle&&React.createElement("p",null,r.subTitle)))),u)}}],r&&qp(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Zp=Yp,Jp=JSON.parse('{"name":"woolentor/store-feature","category":"woolentor-blocks","title":"WL : Store Feature","description":"Display store feature.","keywords":["woolentor","shop feature","feature","store"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"layout":{"type":"string","default":"1"},"featureImage":{"type":"object","default":{"id":null,"url":""}},"title":{"type":"string","default":"Free shipping"},"subTitle":{"type":"string","default":"Start from $100"},"textAlignment":{"type":"string","default":"center"},"areaBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-feature-inner { border-color: {{areaBorderColor}}; }"}},"areaHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap:hover .ht-feature-inner { border-color: {{areaHoverBorderColor}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { margin: {{areaMargin}}; }"}},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-inner { padding: {{areaPadding}}; }"}},"areaBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap { background-color: {{areaBackgroundColor}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { font-size: {{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content h4 { margin: {{titleMargin}}; }"}},"subTitleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { color: {{subTitleColor}}; }"}},"subTitleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { font-size: {{subTitleSize}}; }"}},"subTitleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.ht-feature-wrap .ht-feature-content p { margin: {{subTitleMargin}}; }"}}}}'),Xp=React.createElement("svg",{viewBox:"-27 0 512 512.00001",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m399.996094 0h-341.996094c-31.980469 0-58 26.019531-58 58v369.996094c0 16.542968 13.457031 30 30 30h131.332031c5.523438 0 10-4.476563 10-10 0-5.523438-4.476562-10-10-10h-131.332031c-5.515625 0-10-4.484375-10-10v-369.996094c0-20.953125 17.046875-38 38-38h298.234375c-8.855469 10.1875-14.238281 23.472656-14.238281 38v322.265625c0 9.226563-7.503906 16.730469-16.730469 16.730469-7.210937 0-13.589844-4.597656-15.875-11.4375l-15.070313-45.21875c-4.253906-12.765625-16.15625-21.339844-29.609374-21.339844-17.210938 0-31.210938 14-31.210938 31.207031v7.789063h-51.832031c-5.523438 0-10 4.480468-10 10 0 5.523437 4.476562 10 10 10h51.832031v49.75c0 14.765625 2.878906 29.164062 8.558594 42.789062l14.710937 35.308594c1.601563 3.839844 5.316407 6.15625 9.234375 6.15625 1.28125 0 2.585938-.246094 3.839844-.769531 5.101562-2.125 7.511719-7.980469 5.386719-13.078125l-14.710938-35.308594c-4.65625-11.175781-7.019531-22.984375-7.019531-35.09375v-77.539062c0-6.183594 5.027344-11.210938 11.210938-11.210938 4.832031 0 9.109374 3.078125 10.636718 7.664062l15.070313 45.21875c5.007812 15.019532 19.011719 25.113282 34.847656 25.113282 20.253906 0 36.730469-16.476563 36.730469-36.730469v-171.449219l13.363281 13.335938c23.84375 23.796875 36.972656 55.457031 36.972656 89.140625v106.300781c0 27.535156-6.238281 55.238281-18.035156 80.117188-2.367187 4.988281-.238281 10.953124 4.75 13.320312s10.953125.242188 13.320313-4.75c13.058593-27.539062 19.964843-58.207031 19.964843-88.6875v-106.300781c0-39.035157-15.214843-75.71875-42.84375-103.296875l-27.492187-27.441406v-9.554688h66c16.542968 0 30-13.457031 30-30v-83c0-31.980469-26.015625-58-58-58zm38 141c0 5.511719-4.484375 10-10 10h-66v-93c0-20.953125 17.046875-38 38-38s38 17.046875 38 38zm0 0"}),React.createElement("path",{d:"m205 437.996094c-2.632812 0-5.210938 1.070312-7.070312 2.929687-1.859376 1.863281-2.929688 4.441407-2.929688 7.070313 0 2.632812 1.070312 5.210937 2.929688 7.070312 1.859374 1.859375 4.4375 2.929688 7.070312 2.929688 2.628906 0 5.207031-1.070313 7.070312-2.929688 1.859376-1.859375 2.929688-4.4375 2.929688-7.070312 0-2.628906-1.070312-5.207032-2.929688-7.070313-1.863281-1.859375-4.441406-2.929687-7.070312-2.929687zm0 0"}),React.createElement("path",{d:"m137.667969 74c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m137.667969 194c0-11.027344-8.972657-20-20-20h-44c-11.03125 0-20 8.972656-20 20v44c0 11.027344 8.96875 20 20 20h44c11.027343 0 20-8.972656 20-20zm-20 44h-44v-44h44l.011719 44s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m117.667969 294h-44c-11.03125 0-20 8.96875-20 20v43.996094c0 11.03125 8.96875 20 20 20h44c11.027343 0 20-8.96875 20-20v-43.996094c0-11.03125-8.972657-20-20-20zm0 63.996094h-44v-43.996094h44l.011719 43.996094s-.003907 0-.011719 0zm0 0"}),React.createElement("path",{d:"m296.332031 138c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-68.9375c-5.523437 0-10 4.476562-10 10s4.476563 10 10 10zm0 0"}),React.createElement("path",{d:"m181.667969 138c2.632812 0 5.210937-1.070312 7.070312-2.929688 1.859375-1.859374 2.929688-4.441406 2.929688-7.070312s-1.070313-5.210938-2.929688-7.070312c-1.859375-1.859376-4.4375-2.929688-7.070312-2.929688-2.640625 0-5.210938 1.070312-7.070313 2.929688-1.867187 1.859374-2.929687 4.441406-2.929687 7.070312s1.0625 5.210938 2.929687 7.070312c1.859375 1.859376 4.429688 2.929688 7.070313 2.929688zm0 0"}),React.createElement("path",{d:"m181.664062 258h114.667969c5.523438 0 10-4.476562 10-10s-4.476562-10-10-10h-114.667969c-5.519531 0-10 4.476562-10 10s4.480469 10 10 10zm0 0"}));var $p=Jp.name,eg=Jp.category,tg=Jp.title,og=Jp.description,rg=Jp.keywords,ng=Jp.supports,ag=Jp.attributes,lg={title:(0,de.__)(tg,"woolentor"),description:(0,de.__)(og,"woolentor"),icon:React.createElement(me.Icon,{icon:Xp}),keywords:rg,supports:ng,example:{attributes:{style:"1"}},attributes:ag,edit:Zp,save:function(){return null}};function ig(e){return function(e){if(Array.isArray(e))return sg(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||cg(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cg(e,t){if(e){if("string"==typeof e)return sg(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?sg(e,t):void 0}}function sg(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const ug=function(e){var t,o=e.attributes,r=e.setAttributes,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||cg(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=function(e,t,n){var a=ig(o.testimonialList);a[n][t]=e,r({testimonialList:a})};return o.testimonialList.length>0&&(t=o.testimonialList.map((function(e,t){var n=a===t?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:t},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,t)}},React.createElement("div",{className:"woolentor_repeater-item-title"},o.testimonialList[t].name),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",label:(0,de.__)("Delete Review","woolentor"),onClick:function(){return function(e){var t=ig(o.testimonialList);t.splice(e,1),r({testimonialList:t})}(t)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.TextControl,{label:(0,de.__)("Name","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Customer Name","woolentor"),value:o.testimonialList[t].name,onChange:function(e){return i(e,"name",t)}}),React.createElement(me.TextControl,{label:(0,de.__)("Designation","woolentor"),value:o.testimonialList[t].designation,placeholder:(0,de.__)("Designation","woolentor"),onChange:function(e){return i(e,"designation",t)}}),React.createElement(me.TextControl,{label:(0,de.__)("Rating","woolentor"),value:o.testimonialList[t].rating,placeholder:(0,de.__)("5","woolentor"),onChange:function(e){return i(e,"rating",t)}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Message","woolentor"),value:o.testimonialList[t].message,placeholder:(0,de.__)("Review Message","woolentor"),onChange:function(e){return i(e,"message",t)}}),React.createElement("div",{className:"wp-block-image-selector-woolentor-image-uploader"},React.createElement(Xo,{title:(0,de.__)("Choose Image","woolentor"),instructions:(0,de.__)("To edit the customer thumbnail image, you need permission to upload media.","woolentor"),ImageData:o.testimonialList[t].image,onChange:function(e){return i(e,"image",t)}})))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Testimonial","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:o.testimonialStyle,options:[{label:(0,de.__)("Style One","woolentor"),value:"1"},{label:(0,de.__)("Style Two","woolentor"),value:"2"},{label:(0,de.__)("Style Three","woolentor"),value:"3"},{label:(0,de.__)("Style Four","woolentor"),value:"4"}],onChange:function(e){return r({testimonialStyle:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Show From","woolentor"),value:o.testimonialType,options:[{label:(0,de.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return r({testimonialType:e})}}),"custom"==o.testimonialType&&React.createElement(React.Fragment,null,t,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=ig(o.testimonialList);e.push({name:(0,de.__)("Customer Name #"+(o.testimonialList.length+1),"woolentor"),designation:"",rating:"",message:"",image:{id:"",url:""}}),r({testimonialList:e}),l(o.testimonialList.length)}.bind(void 0)},(0,de.__)("Add Review","woolentor"))),"allproduct"==o.testimonialType&&React.createElement(React.Fragment,null,React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Number of Review","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({limit:e})},value:o.limit,isShiftStepEnabled:!0,hiftStep:10,min:1}),React.createElement(me.__experimentalNumberControl,{label:(0,de.__)("Offset","woolentor"),className:"woolentor-number-control",onChange:function(e){return r({offset:e})},value:o.offset,isShiftStepEnabled:!0,hiftStep:10,min:0})),"productwise"==o.testimonialType&&React.createElement(me.TextControl,{label:(0,de.__)("Product ID","woolentor"),placeholder:(0,de.__)("Product ID","woolentor"),value:o.productIds,onChange:function(e){return r({productIds:e})}}),"dynamic"==o.testimonialType&&React.createElement(me.Notice,{status:"success",isDismissible:!1},(0,de.__)('If you select "Dynamic", it will work on the single product page only.',"woolentor")),"custom"==o.testimonialType&&React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"}),"custom"!=o.testimonialType&&React.createElement(me.ToggleControl,{label:(0,de.__)("Show Image","woolentor"),checked:o.showImage,onChange:function(){return r({showImage:!o.showImage})}})),React.createElement(Yt,{title:(0,de.__)("Columns","woolentor")},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.ToggleControl,{label:(0,de.__)("No Gutters","woolentor"),checked:o.noGutter,onChange:function(){return r({noGutter:!o.noGutter})}}),!o.noGutter&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Column Spacing","woolentor"),value:o.columnSpace,onChange:function(e){return r({columnSpace:e})},min:0,step:1,max:200}),React.createElement(me.RangeControl,{label:(0,de.__)("Row Spacing","woolentor"),value:o.rowSpace,onChange:function(e){return r({rowSpace:e})},min:0,step:1,max:200})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.contentMargin,attributesKey:"contentMargin",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.contentPadding,attributesKey:"contentPadding",setAttributes:r,responsive:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:o.contentBGColor,onChange:function(e){return r({contentBGColor:e})}})),React.createElement(jr,{value:o.contentBorder,onChange:function(e){return r({contentBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:r,responsive:!0})),o.showImage&&React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(jr,{value:o.imageBorder,onChange:function(e){return r({imageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:o.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Name","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.nameColor,onChange:function(e){return r({nameColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.nameSize,fallbackFontSize:o.nameSize,onChange:function(e){return r({nameSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.namePadding,attributesKey:"namePadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.nameMargin,attributesKey:"nameMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Designation","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.designationColor,onChange:function(e){return r({designationColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.designationSize,fallbackFontSize:o.designationSize,onChange:function(e){return r({designationSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.designationPadding,attributesKey:"designationPadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.designationMargin,attributesKey:"designationMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Message","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.messageColor,onChange:function(e){return r({messageColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.messageSize,fallbackFontSize:o.messageSize,onChange:function(e){return r({messageSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.messagePadding,attributesKey:"messagePadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.messageMargin,attributesKey:"messageMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:o.ratingColor,onChange:function(e){return r({ratingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:o.ratingSize,fallbackFontSize:o.ratingSize,onChange:function(e){return r({ratingSize:e})}}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:o.areaPadding,attributesKey:"areaPadding",setAttributes:r,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:o.areaMargin,attributesKey:"areaMargin",setAttributes:r,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:r,bgProperty:o.areaBGProperty}))))},dg=function(){return React.createElement(qe.Fragment,null,React.createElement(ht.BlockControls,null,React.createElement(wr.BlockControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlign"})))};function mg(e){return mg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mg(e)}function pg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gg(r.key),r)}}function gg(e){var t=function(e,t){if("object"!=mg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=mg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mg(t)?t:String(t)}function fg(e,t,o){return t=yg(t),function(e,t){if(t&&("object"===mg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bg()?Reflect.construct(t,o||[],yg(e).constructor):t.apply(e,o))}function bg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bg=function(){return!!e})()}function yg(e){return yg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yg(e)}function Rg(e,t){return Rg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rg(e,t)}var _g=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),fg(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rg(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=t.blockUniqId;""==i&&n({blockUniqId:a});var c,s,u,d=Kt()((c={},u=o,(s=gg(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Ae(t,l,i);return React.createElement(qe.Fragment,null,r&&React.createElement(ug,this.props),r&&React.createElement(dg,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:l,attributes:{blockUniqId:i,testimonialStyle:t.testimonialStyle,testimonialType:t.testimonialType,limit:""!==(null==t?void 0:t.limit)?t.limit:10,offset:""!==(null==t?void 0:t.offset)?t.offset:0,productIds:t.productIds,columns:t.columns,noGutter:t.noGutter,imageSize:t.imageSize,showImage:t.showImage,testimonialList:t.testimonialList},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}))),m)}}],r&&pg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const wg=_g,hg=JSON.parse('{"name":"woolentor/testimonial","category":"woolentor-blocks","title":"WL : Testimonial","description":"Display testimonial.","keywords":["woolentor","testimonial","review","customer","feedback"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"testimonialStyle":{"type":"string","default":"1"},"testimonialType":{"type":"string","default":"custom"},"testimonialList":{"type":"array","default":[{"name":"Anna Miller","designation":"Designer","rating":"5","message":"“Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, laboris consequat.”","image":{"id":"","url":""}},{"name":"Kevin Walker","designation":"Manager","rating":"3.5","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}},{"name":"Ruth Pierce","designation":"Developer","rating":"4","message":"Lorem ipsum dolor sit amet consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.","image":{"id":"","url":""}}]},"limit":{"type":"number"},"offset":{"type":"number"},"productIds":{"type":"string"},"imageSize":{"type":"string","default":"full"},"showImage":{"type":"boolean","default":true},"columns":{"type":"object","default":{"desktop":3}},"noGutter":{"type":"boolean","default":false},"columnSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { column-gap: {{columnSpace}}px; }"}},"rowSpace":{"type":"number","default":15,"style":{"dependency":[[{"key":"noGutter","condition":"==","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-grid:not(.woolentor-no-gutters) { row-gap: {{rowSpace}}px; }"}},"contentAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-client-content,{{WOOLENTOR_WRAPPER}} .ht-client-rating { text-align: {{contentAlign}}; } {{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul{ display:inline-flex; }"}},"contentPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { padding: {{contentPadding}}; }"}},"contentMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { background-color: {{contentBGColor}}; }"}},"contentBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap"}},"contentBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap { border-radius: {{contentBorderRadius}}; }"}},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] img"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"showImage","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] img { border-radius: {{imageBorderRadius}} !important; }"}},"nameColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { color: {{nameColor}}!important; }{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span::before,{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4::before{ background-color: {{nameColor}}!important; }"}},"nameSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { font-size: {{nameSize}}!important; }"}},"namePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { padding: {{namePadding}}!important; }"}},"nameMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] h4 { margin: {{nameMargin}}!important; }"}},"designationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { color: {{designationColor}}!important; }"}},"designationSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { font-size: {{designationSize}}!important; }"}},"designationPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { padding: {{designationPadding}}!important; }"}},"designationMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-info\'] span { margin: {{designationMargin}}!important; }"}},"messageColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { color: {{messageColor}}!important; }"}},"messageSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { font-size: {{messageSize}}!important; }"}},"messagePadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { padding: {{messagePadding}}!important; }"}},"messageMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap [class*=\'ht-client-content\'] p { margin: {{messageMargin}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul li i { color: {{ratingColor}}!important; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .ht-single-testimonial-wrap .ht-client-rating ul li i { font-size: {{ratingSize}}!important; }"}}}}'),Eg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 23a1 1 0 0 1-1-1v-3H7a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4.1l-3.7 3.71c-.2.19-.45.29-.7.29H12m1-6v3.08L16.08 17H21V7H7v10h6M3 15H1V3a2 2 0 0 1 2-2h16v2H3v12Z"}));var vg=hg.name,Og=hg.category,Pg=hg.title,Cg=hg.description,Bg=hg.keywords,Ag=hg.attributes,Sg=hg.supports,Wg={title:(0,de.__)(Pg,"woolentor"),description:(0,de.__)(Cg,"woolentor"),icon:React.createElement(me.Icon,{icon:Eg}),keywords:Bg,attributes:Ag,supports:Sg,edit:wg,save:function(){return null}};const kg=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Show Heading","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.showHeading,onChange:function(){return o({showHeading:!t.showHeading})}})))),React.createElement(xt,null,!0===t.showHeading&&React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Content Table","woolentor")},React.createElement(fo,{label:(0,de.__)("Heading","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(fo,{label:(0,de.__)("Content","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Tg(e){return Tg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tg(e)}function xg(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lg(r.key),r)}}function Lg(e){var t=function(e,t){if("object"!=Tg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Tg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tg(t)?t:String(t)}function Ng(e,t,o){return t=jg(t),function(e,t){if(t&&("object"===Tg(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zg()?Reflect.construct(t,o||[],jg(e).constructor):t.apply(e,o))}function zg(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zg=function(){return!!e})()}function jg(e){return jg=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jg(e)}function Ig(e,t){return Ig=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ig(e,t)}var Mg=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ng(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ig(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Lg(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Kt()("woolentor-product-additional-info"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(kg,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.additional_info}}))),p)}}],r&&xg(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Fg=Mg,Hg=JSON.parse('{"name":"woolentor/product-additional-info","category":"woolentor-single-product","title":"WL : Product Additional Info","description":"Display product additional information.","keywords":["woolentor","additional info","information","product information"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"showHeading":{"type":"boolean","default":true},"headingColor":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"showHeading","condition":"==","value":true}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} h2 { margin: {{headingMargin}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes th { font-size: {{tableHeadingSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { color: {{tableContentColor}}; }"}},"tableContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .shop_attributes td { font-size: {{tableContentSize}}; }"}}}}'),Dg=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.75em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 384 512"},React.createElement("path",{d:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z",fill:"currentColor"}));var qg=Hg.name,Gg=Hg.category,Kg=Hg.title,Ug=Hg.description,Qg=Hg.keywords,Vg=Hg.attributes,Yg={title:(0,de.__)(Kg,"woolentor"),description:(0,de.__)(Ug,"woolentor"),icon:React.createElement(me.Icon,{icon:Dg}),keywords:Qg,example:{attributes:{showHeading:!0}},attributes:Vg,edit:Fg,save:function(){return null}};const Zg=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:t.layoutStyle,options:[{label:(0,de.__)("Default","woolentor"),value:"1"},{label:(0,de.__)("Layout One","woolentor"),value:"2"},{label:(0,de.__)("Layout Two","woolentor"),value:"3"},{label:(0,de.__)("Layout Three","woolentor"),value:"4"},{label:(0,de.__)("Layout Four","woolentor"),value:"5"}],onChange:function(e){return o({layoutStyle:e})}}),React.createElement(co,{label:(0,de.__)("Hide Quantity Field","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideQuantityField,onChange:function(){return o({hideQuantityField:!t.hideQuantityField})}})),!1===t.hideQuantityField&&"1"!==t.layoutStyle&&React.createElement(fo,{label:(0,de.__)("Quantity Field","woolentor")}),!1===t.hideQuantityField&&"4"!==t.layoutStyle&&"1"!==t.layoutStyle&&React.createElement(me.TextControl,{label:(0,de.__)("Quantity Field Label","woolentor"),value:t.quantityText,onChange:function(e){return o({quantityText:e})}}),!1===t.hideQuantityField&&("2"===t.layoutStyle||"4"===t.layoutStyle)&&"1"!==t.layoutStyle&&React.createElement(React.Fragment,null,React.createElement(Wr,{label:(0,de.__)("Plus Icon","woolentor"),onReset:function(){return o({quantityPlusIcon:""})},value:t.quantityPlusIcon,onChange:function(e){return o({quantityPlusIcon:e})}}),React.createElement(Wr,{label:(0,de.__)("Minus Icon","woolentor"),onReset:function(){return o({quantityMinusIcon:""})},value:t.quantityMinusIcon,onChange:function(e){return o({quantityMinusIcon:e})}})),"1"!==t.layoutStyle&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Buttons","woolentor")}),React.createElement(co,{label:(0,de.__)("Hide Wishlist","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideWishlistButton,onChange:function(){return o({hideWishlistButton:!t.hideWishlistButton})}})),React.createElement(co,{label:(0,de.__)("Hide Compare","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.hideCompareButton,onChange:function(){return o({hideCompareButton:!t.hideCompareButton})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.buttonsPosition,options:[{label:(0,de.__)("Befor Add to Cart","woolentor"),value:"before"},{label:(0,de.__)("After Add to Cart","woolentor"),value:"after"},{label:(0,de.__)("Both Side of Add to Cart","woolentor"),value:"both"}],onChange:function(e){return o({buttonsPosition:e})}})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Add To Cart Button","woolentor"),initialOpen:!0},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.buttonPadding,attributesKey:"buttonPadding",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.buttonBorderType,options:ln,onChange:function(e){return o({buttonBorderType:e})}}),t.buttonBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.buttonBorderWidth,attributesKey:"buttonBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonBorderColor,onChange:function(e){return o({buttonBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.buttonBorderRadius,attributesKey:"buttonBorderRadius",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonBackgroundColor,onChange:function(e){return o({buttonBackgroundColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverButtonBackgroundColor,onChange:function(e){return o({hoverButtonBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverButtonBorderColor,onChange:function(e){return o({hoverButtonBorderColor:e})}}))))),!1===t.hideQuantityField&&React.createElement(Yt,{title:(0,de.__)("Quantity","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Quantity Number","woolentor")},React.createElement(me.ColorPalette,{value:t.qntNumberColor,onChange:function(e){return o({qntNumberColor:e})}})),"4"===t.layoutStyle&&React.createElement(co,{label:(0,de.__)("Quantity Background","woolentor")},React.createElement(me.ColorPalette,{value:t.qntBGColor,onChange:function(e){return o({qntBGColor:e})}})),("2"===t.layoutStyle||"3"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Label Font Size","woolentor"),layout:"two",styles:{textAlign:"left"}}),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.qntTextSize,fallbackFontSize:t.qntTextSize,onChange:function(e){return o({qntTextSize:e})}}),React.createElement(co,{label:(0,de.__)("Label Color","woolentor")},React.createElement(me.ColorPalette,{value:t.qntLabelColor,onChange:function(e){return o({qntLabelColor:e})}}))),React.createElement(jr,{value:t.qntBorder,onChange:function(e){return o({qntBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.qntBorderRadius,attributesKey:"qntBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.qntPadding,attributesKey:"qntPadding",setAttributes:o}),"2"===t.layoutStyle&&React.createElement(me.RangeControl,{label:(0,de.__)("Spacing","woolentor"),value:t.qntSpaceBetween,onChange:function(e){return o({qntSpaceBetween:e})},allowReset:!0,min:0,step:1,max:2e3}),React.createElement(me.RangeControl,{label:(0,de.__)("Font Size","woolentor"),value:t.qntFontSize,onChange:function(e){return o({qntFontSize:e})},allowReset:!0,min:0,step:1,max:2e3}),("2"===t.layoutStyle||"4"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(qt,{name:"qntbuttonstyles"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:t.qntPlusMinusColor,onChange:function(e){return o({qntPlusMinusColor:e})}}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:t.qntPlusMinusHoverColor,onChange:function(e){return o({qntPlusMinusHoverColor:e})}})))))),"1"!==t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("WishList and Compare Button","woolentor"),initialOpen:!1},React.createElement(me.RangeControl,{label:(0,de.__)("Font Size","woolentor"),value:t.buttonsFontSize,onChange:function(e){return o({buttonsFontSize:e})},allowReset:!0,min:0,step:1,max:1e3}),("3"===t.layoutStyle||"4"===t.layoutStyle)&&React.createElement(me.RangeControl,{label:(0,de.__)("Space Between","woolentor"),value:t.buttonsSpaceBetween,onChange:function(e){return o({buttonsSpaceBetween:e})},allowReset:!0,min:0,step:1,max:2e3}),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(me.RangeControl,{label:(0,de.__)("Width","woolentor"),value:t.buttonsWidth,onChange:function(e){return o({buttonsWidth:e})},allowReset:!0,min:0,step:1,max:2e3}),React.createElement(me.RangeControl,{label:(0,de.__)("Height","woolentor"),value:t.buttonsHeight,onChange:function(e){return o({buttonsHeight:e})},allowReset:!0,min:0,step:1,max:2e3})),React.createElement(qt,{name:"wishlistcomparebutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonsColor,onChange:function(e){return o({buttonsColor:e})}})),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonsBGColor,onChange:function(e){return o({buttonsBGColor:e})}})),React.createElement(jr,{value:t.buttonsBorder,onChange:function(e){return o({buttonsBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.buttonsBorderRadius,attributesKey:"buttonsBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.buttonsPadding,attributesKey:"buttonsPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.buttonsMargin,attributesKey:"buttonsMargin",setAttributes:o}))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonsHoverColor,onChange:function(e){return o({buttonsHoverColor:e})}})),("2"===t.layoutStyle||"5"===t.layoutStyle)&&React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.buttonsHoverBGColor,onChange:function(e){return o({buttonsHoverBGColor:e})}})),React.createElement(jr,{value:t.buttonsHoverBorder,onChange:function(e){return o({buttonsHoverBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.buttonsHoverBorderRadius,attributesKey:"buttonsHoverBorderRadius",setAttributes:o})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jg(e){return Jg="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jg(e)}const Xg=JSON.parse('{"name":"woolentor/product-addtocart","category":"woolentor-single-product","title":"WL : Add To Cart","description":"Display product cart button.","keywords":["woolentor","product add to cart","cart button","add to cart"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layoutStyle":{"type":"string","default":"1"},"quantityText":{"type":"string","default":"Quantity"},"quantityPlusIcon":{"type":"string","default":"fa fa-plus"},"quantityMinusIcon":{"type":"string","default":"fa fa-minus"},"hideWishlistButton":{"type":"boolean","default":false},"hideCompareButton":{"type":"boolean","default":false},"buttonsPosition":{"type":"string","default":"both"},"hideQuantityField":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .quantity,{{WOOLENTOR_WRAPPER}} form.cart input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart form.cart .wl-quantity-wrap{ display: none !important; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ font-size: {{textSize}} !important; }"}},"buttonPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ padding: {{buttonPadding}} !important; }"}},"buttonBorderType":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-style: {{buttonBorderType}} !important; }"}},"buttonBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-width: {{buttonBorderWidth}} !important; }"}},"buttonBorderColor":{"type":"string","style":{"dependency":[[{"key":"buttonBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-color: {{buttonBorderColor}} !important; }"}},"buttonBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ border-radius: {{buttonBorderRadius}} !important; }"}},"buttonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button{ background-color: {{buttonBackgroundColor}} !important; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ color: {{hoverTextColor}} !important; }"}},"hoverButtonBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ background-color: {{hoverButtonBackgroundColor}} !important; }"}},"hoverButtonBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart button:hover{ border-color: {{hoverButtonBorderColor}} !important; }"}},"buttonsColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist a,.wl-cart-icon.compare,.wl-cart-icon.compare a,.wl-wishlist-compare-txt li a,.wl-wishlist-compare-txt li span){ color: {{buttonsColor}} !important; }"}},"buttonsBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist,.wl-cart-icon.compare){ background-color: {{buttonsBGColor}} !important; }"}},"buttonsBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":".woocommerce div.product {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon"}},"buttonsBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-wrap .wl-cart-icon,{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ border-radius: {{buttonsBorderRadius}} !important; }"}},"buttonsPadding":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ padding: {{buttonsPadding}} !important; }"}},"buttonsMargin":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ margin: {{buttonsMargin}} !important; }"}},"buttonsFontSize":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-cart-icon.wishlist a svg,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 form.cart .wl-cart-icon.wishlist .wishsuite-button svg,{{WOOLENTOR_WRAPPER}} .wl-wishlist-compare-txt li a svg{ width: {{buttonsFontSize}}px !important; } {{WOOLENTOR_WRAPPER}} .wl-cart-icon.compare a,{{WOOLENTOR_WRAPPER}} .wl-wishlist-compare-txt li :is(a,span){font-size:{{buttonsFontSize}}px; }"}},"buttonsWidth":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ width: {{buttonsWidth}}px !important; }"}},"buttonsHeight":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon{ height: {{buttonsHeight}}px !important; }"}},"buttonsSpaceBetween":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["3","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is( span.wishsuite-btn-text,.htcompare-btn.woolentor-compare ){ margin-left: {{buttonsSpaceBetween}}px !important; }"}},"buttonsHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist a,.wl-cart-icon.compare,.wl-cart-icon.compare a,.wl-wishlist-compare-txt li a,.wl-wishlist-compare-txt li span):hover{ color: {{buttonsHoverColor}} !important; }"}},"buttonsHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart :is(.wl-cart-icon.wishlist,.wl-cart-icon.compare):hover{ background-color: {{buttonsHoverBGColor}} !important; }"}},"buttonsHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":".woocommerce div.product {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon:hover"}},"buttonsHoverBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-wrap .wl-cart-icon:hover,{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-cart-icon:hover{ border-radius: {{buttonsHoverBorderRadius}} !important; }"}},"qntTextSize":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","3","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .label{ font-size: {{qntTextSize}}; }"}},"qntPlusMinusColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity:is(.wl-qunatity-minus,.wl-qunatity-plus){ color: {{qntPlusMinusColor}}; }"}},"qntNumberColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .quantity input[type=number]{ color: {{qntNumberColor}}; }"}},"qntBGColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"4"}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity-cal{ background-color: {{qntBGColor}}; }"}},"qntLabelColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","3","5"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap span.label{ color: {{qntLabelColor}}; }"}},"qntPlusMinusHoverColor":{"type":"string","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":["2","4"]}]],"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity:is(.wl-qunatity-minus,.wl-qunatity-plus):hover{ color: {{qntPlusMinusHoverColor}}; }"}},"qntBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]"}},"qntBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]{ border-radius: {{buttonsHoverBorderRadius}} }"}},"qntPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-4 form.cart .wl-quantity-wrap .wl-quantity-cal,{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-1 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-3 .quantity input[type=number],{{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-5 .quantity input[type=number]{ padding: {{qntPadding}} }"}},"qntSpaceBetween":{"type":"number","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"2"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .wl-addto-cart.wl-style-2 form.cart .wl-quantity-wrap .wl-quantity-cal{ margin-left: {{qntSpaceBetween}}px !important; }"}},"qntFontSize":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .wl-addto-cart[class*=\'wl-style-\'] form.cart .wl-quantity-wrap .wl-quantity-cal :is(.quantity input,.wl-quantity){ font-size: {{qntFontSize}}px; }"}}}}'),$g=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.13em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 576 512"},React.createElement("path",{d:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994c-29.823-.429-54.35-24.631-55.155-54.447c-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938c-28.54-1.325-51.751-24.385-53.251-52.917c-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z",fill:"currentColor"}));var ef=Xg.name,tf=Xg.category,of=Xg.title,rf=Xg.description,nf=Xg.keywords,af=Xg.attributes,lf={title:(0,de.__)(of,"woolentor"),description:(0,de.__)(rf,"woolentor"),icon:React.createElement(me.Icon,{icon:$g}),keywords:nf,example:{attributes:{textColor:"#fff"}},attributes:af,edit:function(e){var t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d,m=Ae(o,t,i),p=Kt()((c={},u=r,d=function(e,t){if("object"!=Jg(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jg(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(s=r),(s="symbol"==Jg(d)?d:String(d))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","product","woolentorblock-".concat(i));return React.createElement(qe.Fragment,null,n&&React.createElement(Zg,e),React.createElement("div",{className:p},React.createElement(ns(),{block:t,attributes:{blockUniqId:i,layoutStyle:o.layoutStyle,quantityText:o.quantityText,quantityPlusIcon:o.quantityPlusIcon,quantityMinusIcon:o.quantityMinusIcon,hideWishlistButton:o.hideWishlistButton,hideCompareButton:o.hideCompareButton,buttonsPosition:o.buttonsPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"}),m))},save:function(){return null}};const cf=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:t.layoutStyle,options:[{label:(0,de.__)("Tab","woolentor"),value:"tab"},{label:(0,de.__)("Tab With Slider","woolentor"),value:"tabslider"},{label:(0,de.__)("Gallery","woolentor"),value:"gallery"},{label:(0,de.__)("Slider","woolentor"),value:"slider"},{label:(0,de.__)("Single Thumbnails","woolentor"),value:"single"}],onChange:function(e){return o({layoutStyle:e})}}),("tabslider"===t.layoutStyle||"tab"===t.layoutStyle)&&React.createElement(wr.InspectorControls,{label:(0,de.__)("Thumbnails Position","woolentor"),attribute:"thumbnailsPosition",isSmall:!0,options:[{value:"left",title:(0,de.__)("Left","woolentor"),icon:(0,de.__)(React.createElement(me.Icon,{icon:ze}))},{value:"right",title:(0,de.__)("Right","woolentor"),icon:(0,de.__)(React.createElement(me.Icon,{icon:je}))},{value:"top",title:(0,de.__)("Top","woolentor"),icon:(0,de.__)(React.createElement(me.Icon,{icon:Le}))},{value:"bottom",title:(0,de.__)("bottom","woolentor"),icon:(0,de.__)(React.createElement(me.Icon,{icon:Ne}))}]}),React.createElement(co,{label:(0,de.__)("Sale Badge Hide","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.saleBadgeHide,onChange:function(){return o({saleBadgeHide:!t.saleBadgeHide})}})),React.createElement(co,{label:(0,de.__)("Custom Badge Hide","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.customSaleBadgeHide,onChange:function(){return o({customSaleBadgeHide:!t.customSaleBadgeHide})}}))),"tabslider"===t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Slider Option","woolentor")},React.createElement(fo,{label:(0,de.__)("Main Image Slider","woolentor")}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.mainArrows,onChange:function(){return o({mainArrows:!t.mainArrows})}})),React.createElement(co,{label:(0,de.__)("Slider Pagination","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.mainDots,onChange:function(){return o({mainDots:!t.mainDots})}})),React.createElement(fo,{label:(0,de.__)("Thumbnails Slider","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.thumbSliderItems,onChange:function(e){return o({thumbSliderItems:e})},min:1,step:1,max:100}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.thumbnaiArrows,onChange:function(){return o({thumbnaiArrows:!t.thumbnaiArrows})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Arrow Style","woolentor"),value:t.thumbArrowStyle,options:[{label:(0,de.__)("Style One","woolentor"),value:"one"},{label:(0,de.__)("Style Two","woolentor"),value:"two"}],onChange:function(e){return o({thumbArrowStyle:e})}})),"slider"===t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Slider Option","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.sliderItems,onChange:function(e){return o({sliderItems:e})},min:1,step:1,max:100}),React.createElement(co,{label:(0,de.__)("Slider Arrow","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.arrows,onChange:function(){return o({arrows:!t.arrows})}})),React.createElement(co,{label:(0,de.__)("Slider dots","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.dots,onChange:function(){return o({dots:!t.dots})}})),React.createElement(co,{label:(0,de.__)("Pause on Hover?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.pauseOnHover,onChange:function(){return o({pauseOnHover:!t.pauseOnHover})}})),React.createElement(co,{label:(0,de.__)("Slider auto play","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.autoplay,onChange:function(){return o({autoplay:!t.autoplay})}})),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay speed","woolentor"),value:t.autoplaySpeed,onChange:function(e){return o({autoplaySpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Autoplay animation speed","woolentor"),value:t.animationSpeed,onChange:function(e){return o({animationSpeed:e})},min:1,step:1,max:1e5}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.scrollColumns,onChange:function(e){return o({scrollColumns:e})},min:1,step:1,max:1e5}),React.createElement(fo,{label:(0,de.__)("Tablet Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.tabletDisplayColumns,onChange:function(e){return o({tabletDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.tabletScrollColumns,onChange:function(e){return o({tabletScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Tablet Screen Resolution","woolentor"),value:t.tabletWidth,onChange:function(e){return o({tabletWidth:e})},min:1,step:1,max:1500}),React.createElement(fo,{label:(0,de.__)("Mobile Phone Screen","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider Items","woolentor"),value:t.mobileDisplayColumns,onChange:function(e){return o({mobileDisplayColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Slider item to scroll","woolentor"),value:t.mobileScrollColumns,onChange:function(e){return o({mobileScrollColumns:e})},min:1,step:1,max:8}),React.createElement(me.RangeControl,{label:(0,de.__)("Mobile Screen Resolution","woolentor"),value:t.mobileWidth,onChange:function(e){return o({mobileWidth:e})},min:1,step:1,max:1500}))),React.createElement(xt,null,"gallery"!=t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Main Image","woolentor")},React.createElement(jr,{value:t.imageBorder,onChange:function(e){return o({imageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Thumbnails Image","woolentor")},React.createElement(jr,{value:t.thumbImageBorder,onChange:function(e){return o({thumbImageBorder:e})}}),"tabslider"===t.layoutStyle&&React.createElement(jr,{label:(0,de.__)("Current Thumbnails Border","woolentor"),value:t.thumbCurrentImageBorder,onChange:function(e){return o({thumbCurrentImageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.thumbImageBorderRadius,attributesKey:"thumbImageBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.thumbImageMargin,attributesKey:"thumbImageMargin",setAttributes:o,responsive:!0})),"tabslider"===t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Slider Control","woolentor")},React.createElement(fo,{label:(0,de.__)("Main Slider Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainNavigationColor,onChange:function(e){return o({mainNavigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainNavigationBGColor,onChange:function(e){return o({mainNavigationBGColor:e})}})),React.createElement(jr,{value:t.mainNavigationBorder,onChange:function(e){return o({mainNavigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainNavigationHoverColor,onChange:function(e){return o({mainNavigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainNavigationHoverBGColor,onChange:function(e){return o({mainNavigationHoverBGColor:e})}})),React.createElement(jr,{value:t.mainNavigationHoverBorder,onChange:function(e){return o({mainNavigationHoverBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Main Slider Pagination","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Position","woolentor"),value:t.mainPaginationPosition,onChange:function(e){return o({mainPaginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(qt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainPaginationColor,onChange:function(e){return o({mainPaginationColor:e})}})),React.createElement(jr,{value:t.mainPaginationBorder,onChange:function(e){return o({mainPaginationBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.mainPaginationActiveColor,onChange:function(e){return o({mainPaginationActiveColor:e})}})),React.createElement(jr,{value:t.mainPaginationActiveBorder,onChange:function(e){return o({mainPaginationActiveBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Thumbnails Slider Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbNavigationColor,onChange:function(e){return o({thumbNavigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbNavigationBGColor,onChange:function(e){return o({thumbNavigationBGColor:e})}})),React.createElement(jr,{value:t.thumbNavigationBorder,onChange:function(e){return o({thumbNavigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbNavigationHoverColor,onChange:function(e){return o({thumbNavigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbNavigationHoverBGColor,onChange:function(e){return o({thumbNavigationHoverBGColor:e})}})),React.createElement(jr,{value:t.thumbNavigationHoverBorder,onChange:function(e){return o({thumbNavigationHoverBorder:e})}})))),"slider"===t.layoutStyle&&React.createElement(Yt,{title:(0,de.__)("Slider Control","woolentor")},React.createElement(fo,{label:(0,de.__)("Navigation","woolentor")}),React.createElement(qt,{name:"slidernavigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationColor,onChange:function(e){return o({navigationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationBGColor,onChange:function(e){return o({navigationBGColor:e})}})),React.createElement(jr,{value:t.navigationBorder,onChange:function(e){return o({navigationBorder:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationHoverColor,onChange:function(e){return o({navigationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.navigationHoverBGColor,onChange:function(e){return o({navigationHoverBGColor:e})}})),React.createElement(jr,{value:t.navigationHoverBorder,onChange:function(e){return o({navigationHoverBorder:e})}}))),React.createElement(fo,{label:(0,de.__)("Pagination","woolentor")}),React.createElement(me.RangeControl,{label:(0,de.__)("Position","woolentor"),value:t.paginationPosition,onChange:function(e){return o({paginationPosition:e})},min:-1500,step:1,max:1500}),React.createElement(qt,{name:"sliderpagination",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(jr,{value:t.paginationBorder,onChange:function(e){return o({paginationBorder:e})}})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationActiveColor,onChange:function(e){return o({paginationActiveColor:e})}})),React.createElement(jr,{value:t.mainPaginationActiveBorder,onChange:function(e){return o({mainPaginationActiveBorder:e})}})))),React.createElement(Yt,{title:(0,de.__)("Product Badge","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.badgeColor,onChange:function(e){return o({badgeColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.badgeBGColor,onChange:function(e){return o({badgeBGColor:e})}})),React.createElement(jr,{value:t.badgeBorder,onChange:function(e){return o({badgeBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.badgeBorderRadius,attributesKey:"badgeBorderRadius",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.badgeBorderPadding,attributesKey:"badgeBorderPadding",setAttributes:o,responsive:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function sf(e){return sf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sf(e)}function uf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,df(r.key),r)}}function df(e){var t=function(e,t){if("object"!=sf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=sf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sf(t)?t:String(t)}function mf(e,t,o){return t=gf(t),function(e,t){if(t&&("object"===sf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pf()?Reflect.construct(t,o||[],gf(e).constructor):t.apply(e,o))}function pf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pf=function(){return!!e})()}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gf(e)}function ff(e,t){return ff=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ff(e,t)}var bf=function(e){function t(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(o=mf(this,t,[e])).customEvent=new CustomEvent("WoolentorEditorModeNavForSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o.customEventSlider=new CustomEvent("WoolentorEditorModeSlick",{detail:{uniqid:e.attributes.blockUniqId}}),o}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ff(e,t)}(t,e),o=t,r=[{key:"componentDidUpdate",value:function(e){var t=this,o=0;if(e.attributes!=this.props.attributes)var r=setInterval((function(){document.dispatchEvent(t.customEvent),document.dispatchEvent(t.customEventSlider),3===o&&clearInterval(r),o++}),500)}},{key:"render",value:function(){var e=this.props,t=e.className,o=e.attributes,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=e.name,i=o.blockUniqId;""==i&&n({blockUniqId:a});var c=Kt()(t,"wlpro-product-thumbnails","woolentorblock-".concat(i)),s=Ae(o,l,i);return"tabslider"===o.layoutStyle&&document.dispatchEvent(this.customEvent),"slider"===o.layoutStyle&&document.dispatchEvent(this.customEventSlider),React.createElement(qe.Fragment,null,r&&React.createElement(cf,this.props),React.createElement("div",{className:c},React.createElement(ns(),{block:l,className:"woolentorblock-editor-".concat(i),attributes:{blockUniqId:i,layoutStyle:o.layoutStyle,thumbnailsPosition:o.thumbnailsPosition,saleBadgeHide:o.saleBadgeHide,customSaleBadgeHide:o.customSaleBadgeHide,mainArrows:o.mainArrows,mainDots:o.mainDots,thumbSliderItems:o.thumbSliderItems,thumbnaiArrows:o.thumbnaiArrows,thumbArrowStyle:o.thumbArrowStyle,sliderItems:o.sliderItems,arrows:o.arrows,dots:o.dots,pauseOnHover:o.pauseOnHover,autoplay:o.autoplay,autoplaySpeed:o.autoplaySpeed,animationSpeed:o.animationSpeed,scrollColumns:o.scrollColumns,tabletDisplayColumns:o.tabletDisplayColumns,tabletScrollColumns:o.tabletScrollColumns,tabletWidth:o.tabletWidth,mobileDisplayColumns:o.mobileDisplayColumns,mobileScrollColumns:o.mobileScrollColumns,mobileWidth:o.mobileWidth},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),s)}}],r&&uf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const yf=bf,Rf=JSON.parse('{"name":"woolentor/product-advance-image","category":"woolentor-single-product","title":"WL: Advance Product Image","description":"Display Product Grid.","keywords":["woolentor","shoplentor","product","single product","woocommerce","advance product image"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"layoutStyle":{"type":"string","default":"tab"},"thumbnailsPosition":{"type":"string","default":"bottom"},"saleBadgeHide":{"type":"boolean","default":false},"customSaleBadgeHide":{"type":"boolean","default":false},"mainArrows":{"type":"boolean","default":true},"mainDots":{"type":"boolean","default":true},"thumbSliderItems":{"type":"number","default":4},"thumbnaiArrows":{"type":"boolean","default":true},"thumbArrowStyle":{"type":"string","default":"one"},"sliderItems":{"type":"number","default":1},"arrows":{"type":"boolean","default":true},"dots":{"type":"boolean","default":false},"pauseOnHover":{"type":"boolean","default":true},"autoplay":{"type":"boolean","default":false},"autoplaySpeed":{"type":"number","default":3000},"animationSpeed":{"type":"number","default":300},"scrollColumns":{"type":"number","default":1},"tabletDisplayColumns":{"type":"number","default":1},"tabletScrollColumns":{"type":"number","default":1},"tabletWidth":{"type":"number","default":750},"mobileDisplayColumns":{"type":"number","default":1},"mobileScrollColumns":{"type":"number","default":1},"mobileWidth":{"type":"number","default":480},"imageBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image"}},"imageBorderRadius":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image img{ border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"!=","value":"gallery"}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woocommerce-product-gallery__image{ margin: {{imageMargin}}; }"}},"thumbImageBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li img, .woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery img, .woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider img,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single img"}},"thumbCurrentImageBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single.slick-current img"}},"thumbImageBorderRadius":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li img, .woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery img, .woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider img,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails.thumbnails-layout-tabslider .slick-list .woolentor-thumb-single img{ border-radius: {{thumbImageBorderRadius}}; }"}},"thumbImageMargin":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails ul.woolentor-thumbanis-image li,.woocommerce {{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .wl-single-gallery,.woocommerce {{WOOLENTOR_WRAPPER}}.wl-thumbnails-slider .wl-single-slider,.woocommerce {{WOOLENTOR_WRAPPER}}.woocommerce-product-gallery__image img{ margin: {{thumbImageMargin}}; }"}},"navigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ color: {{navigationColor}}; }"}},"navigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow{ background-color: {{navigationBGColor}}; }"}},"navigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow"}},"navigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ color: {{navigationHoverColor}}; }"}},"navigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover{ background-color: {{navigationHoverBGColor}}; }"}},"navigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-arrow:hover"}},"paginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots{ bottom: {{paginationPosition}}px; }"}},"paginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button{ background-color: {{paginationColor}}; }"}},"paginationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li button"}},"paginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button{ background-color: {{paginationActiveColor}}; }"}},"paginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"slider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .product-slider .slick-dots li.slick-active button"}},"mainNavigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow{ color: {{mainNavigationColor}}!important; }"}},"mainNavigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow{ background-color: {{mainNavigationBGColor}}!important; }"}},"mainNavigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woolentor-learg-img .slick-arrow"}},"mainNavigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow:hover{ color: {{mainNavigationHoverColor}}!important; }"}},"mainNavigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-arrow:hover{ background-color: {{mainNavigationHoverBGColor}}!important; }"}},"mainNavigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}}.wlpro-product-thumbnails .woolentor-learg-img .slick-arrow:hover"}},"mainPaginationPosition":{"type":"number","default":0,"style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots{ bottom: {{mainPaginationPosition}}px; }"}},"mainPaginationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li button{ background-color: {{mainPaginationColor}}; }"}},"mainPaginationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li button"}},"mainPaginationActiveColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li.slick-active button{ background-color: {{mainPaginationActiveColor}}; }"}},"mainPaginationActiveBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-learg-img .slick-dots li.slick-active button"}},"thumbNavigationColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow{ color: {{thumbNavigationColor}}; }"}},"thumbNavigationBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow{ background-color: {{thumbNavigationBGColor}}; }"}},"thumbNavigationBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow"}},"thumbNavigationHoverColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover{ color: {{thumbNavigationHoverColor}}; }"}},"thumbNavigationHoverBGColor":{"type":"string","default":"","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover{ background-color: {{thumbNavigationHoverBGColor}}; }"}},"thumbNavigationHoverBorder":{"type":"object","style":{"dependency":[[{"key":"layoutStyle","condition":"==","value":"tabslider"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-thumbnails .slick-arrow:hover"}},"badgeColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ color: {{badgeColor}}; }"}},"badgeBGColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ background-color: {{badgeBGColor}}; }"}},"badgeBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label"}},"badgeBorderRadius":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ border-radius: {{badgeBorderRadius}}; }"}},"badgeBorderPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .onsale,{{WOOLENTOR_WRAPPER}} .wl-thumbnails-image-area .ht-product-label{ padding: {{badgeBorderPadding}}; }"}}}}'),_f=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var wf=Rf.name,hf=Rf.title,Ef=Rf.description,vf=Rf.category,Of=Rf.attributes,Pf=Rf.keywords,Cf=Rf.supports,Bf={title:(0,de.__)(hf,"woolentor"),description:(0,de.__)(Ef,"woolentor"),icon:React.createElement(me.Icon,{icon:_f}),keywords:Pf,supports:Cf,attributes:Of,edit:yf,save:function(){return null}};const Af=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Sf(e){return Sf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sf(e)}function Wf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kf(r.key),r)}}function kf(e){var t=function(e,t){if("object"!=Sf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Sf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Sf(t)?t:String(t)}function Tf(e,t,o){return t=Lf(t),function(e,t){if(t&&("object"===Sf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xf()?Reflect.construct(t,o||[],Lf(e).constructor):t.apply(e,o))}function xf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xf=function(){return!!e})()}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lf(e)}function Nf(e,t){return Nf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nf(e,t)}var zf=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Tf(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nf(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=kf(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Kt()("woolentor-product-description","product"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Af,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{className:"woocommerce_product_description",dangerouslySetInnerHTML:{__html:"<p>"+woolentorData.sampledata.description+"</p>"}}))),p)}}],r&&Wf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const jf=zf,If=JSON.parse('{"name":"woolentor/product-description","category":"woolentor-single-product","title":"WL : Description","description":"Display product description.","keywords":["woolentor","description","product description","description"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}{ margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce_product_description{ margin: {{textMargin}}; }"}}}}'),Mf=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var Ff=If.name,Hf=If.category,Df=If.title,qf=If.description,Gf=If.keywords,Kf=If.attributes,Uf={title:(0,de.__)(Df,"woolentor"),description:(0,de.__)(qf,"woolentor"),icon:React.createElement(me.Icon,{icon:Mf}),keywords:Gf,example:{attributes:{textColor:"#000"}},attributes:Kf,edit:jf,save:function(){return null}};const Qf=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Image","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.imageBorderType,options:ln,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Thumbnails","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.thumbBorderType,options:ln,onChange:function(e){return o({thumbBorderType:e})}}),t.thumbBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.thumbBorderWidth,attributesKey:"thumbBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thumbBorderColor,onChange:function(e){return o({thumbBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.thumbBorderRadius,attributesKey:"thumbBorderRadius",setAttributes:o}),React.createElement(me.RangeControl,{label:(0,de.__)("Spacing","woolentor"),value:t.thumbSpacing,onChange:function(e){return o({thumbSpacing:e})},min:1,step:1,max:1e3,allowReset:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Vf(e){return Vf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vf(e)}function Yf(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Zf(r.key),r)}}function Zf(e){var t=function(e,t){if("object"!=Vf(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Vf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Vf(t)?t:String(t)}function Jf(e,t,o){return t=$f(t),function(e,t){if(t&&("object"===Vf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Xf()?Reflect.construct(t,o||[],$f(e).constructor):t.apply(e,o))}function Xf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Xf=function(){return!!e})()}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$f(e)}function eb(e,t){return eb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},eb(e,t)}var tb=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Jf(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&eb(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Zf(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce woocommerce-page single-product woocommerce-js","woolentorblock-".concat(i)),m=Kt()("woolentor-product-image"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Qf,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},React.createElement(me.Disabled,null,(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.image}})))),p)}}],r&&Yf(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const ob=tb,rb=JSON.parse('{"name":"woolentor/product-image","category":"woolentor-single-product","title":"WL : Product Image","description":"Display product image.","keywords":["woolentor","image","product image"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"imageBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport{border-style:{{imageBorderType}};overflow:hidden; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-gallery__trigger + .woocommerce-product-gallery__wrapper, .woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-viewport:not(:last-child) { margin: {{imageMargin}}; }"}},"thumbBorderType":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-style: {{thumbBorderType}}; }"}},"thumbBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-width: {{thumbBorderWidth}}; }"}},"thumbBorderColor":{"type":"string","style":{"dependency":[[{"key":"thumbBorderType","condition":"!=","value":""}]],"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-color: {{thumbBorderColor}}; }"}},"thumbBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs img { border-radius: {{thumbBorderRadius}}; }"}},"thumbSpacing":{"type":"number","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs li { padding-right: calc({{thumbSpacing}}px / 2);padding-left: calc({{thumbSpacing}}px / 2);}.woocommerce {{WOOLENTOR_WRAPPER}} .flex-control-thumbs { margin-right: calc(-{{thumbSpacing}}px / 2)!important;margin-left: calc(-{{thumbSpacing}}px / 2)!important; }"}}}}'),nb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M21 3H2v13h19V3M2 17h4v4H2v-4m5 0h4v4H7v-4m5 0h4v4h-4v-4m5 0h4v4h-4v-4z",fill:"currentColor"}));var ab=rb.name,lb=rb.category,ib=rb.title,cb=rb.description,sb=rb.keywords,ub=rb.attributes,db={title:(0,de.__)(ib,"woolentor"),description:(0,de.__)(cb,"woolentor"),icon:React.createElement(me.Icon,{icon:nb}),keywords:sb,attributes:ub,edit:ob,save:function(){return null}};const mb=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Product Meta","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkHoverColor,onChange:function(e){return o({linkHoverColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function pb(e){return pb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pb(e)}function gb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,fb(r.key),r)}}function fb(e){var t=function(e,t){if("object"!=pb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=pb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pb(t)?t:String(t)}function bb(e,t,o){return t=Rb(t),function(e,t){if(t&&("object"===pb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,yb()?Reflect.construct(t,o||[],Rb(e).constructor):t.apply(e,o))}function yb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(yb=function(){return!!e})()}function Rb(e){return Rb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Rb(e)}function _b(e,t){return _b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_b(e,t)}var wb=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),bb(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_b(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=fb(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Kt()("woolentorblock-".concat(i),"woolentor-product-meta"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(mb,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.meta_info}}))),p)}}],r&&gb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const hb=wb,Eb=JSON.parse('{"name":"woolentor/product-meta","category":"woolentor-single-product","title":"WL : Product Meta","description":"Display product meta info.","keywords":["woolentor","product meta","meta info","product info"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ color: {{textColor}}; }"}},"linkColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a{ color: {{linkColor}}; }"}},"linkHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta a:hover{ color: {{linkHoverColor}}; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ font-size: {{textSize}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ margin: {{textMargin}}; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .product_meta{ text-align: {{contentAlignment}}; }"}}}}'),vb=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 512 512"},React.createElement("path",{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42s-42-18.804-42-42s18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z",fill:"currentColor"}));var Ob=Eb.name,Pb=Eb.category,Cb=Eb.title,Bb=Eb.description,Ab=Eb.keywords,Sb=Eb.attributes,Wb={title:(0,de.__)(Cb,"woolentor"),description:(0,de.__)(Bb,"woolentor"),icon:React.createElement(me.Icon,{icon:vb}),keywords:Ab,example:{attributes:{textColor:"#000"}},attributes:Sb,edit:hb,save:function(){return null}};const kb=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Price Area","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"})),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.priceMargin,attributesKey:"priceMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Reguler Price","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.oldPriceColor,onChange:function(e){return o({oldPriceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.oldPriceSize,fallbackFontSize:t.oldPriceSize,onChange:function(e){return o({oldPriceSize:e})}}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Tb(e){return Tb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tb(e)}function xb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Lb(r.key),r)}}function Lb(e){var t=function(e,t){if("object"!=Tb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Tb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tb(t)?t:String(t)}function Nb(e,t,o){return t=jb(t),function(e,t){if(t&&("object"===Tb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zb()?Reflect.construct(t,o||[],jb(e).constructor):t.apply(e,o))}function zb(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zb=function(){return!!e})()}function jb(e){return jb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jb(e)}function Ib(e,t){return Ib=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ib(e,t)}var Mb=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Nb(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ib(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Lb(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i),"woolentor-product-price","product"),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(kb,this.props),React.createElement("div",{className:d},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.price_html}})),m)}}],r&&xb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Fb=Mb,Hb=JSON.parse('{"name":"woolentor/product-price","category":"woolentor-single-product","title":"WL : Product Price","description":"Display product price.","keywords":["woolentor","product","price","product price"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { text-align: {{contentAlignment}} !important; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { color: {{priceColor}} !important; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { font-size: {{priceSize}} !important; }"}},"priceMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .price { margin: {{priceMargin}} !important; }"}},"oldPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { color: {{oldPriceColor}} !important; }"}},"oldPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .price del { font-size: {{oldPriceSize}} !important; }"}}}}'),Db=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.57em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 288 512"},React.createElement("path",{d:"M209.2 233.4l-108-31.6C88.7 198.2 80 186.5 80 173.5c0-16.3 13.2-29.5 29.5-29.5h66.3c12.2 0 24.2 3.7 34.2 10.5c6.1 4.1 14.3 3.1 19.5-2l34.8-34c7.1-6.9 6.1-18.4-1.8-24.5C238 74.8 207.4 64.1 176 64V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48h-2.5C45.8 64-5.4 118.7.5 183.6c4.2 46.1 39.4 83.6 83.8 96.6l102.5 30c12.5 3.7 21.2 15.3 21.2 28.3c0 16.3-13.2 29.5-29.5 29.5h-66.3C100 368 88 364.3 78 357.5c-6.1-4.1-14.3-3.1-19.5 2l-34.8 34c-7.1 6.9-6.1 18.4 1.8 24.5c24.5 19.2 55.1 29.9 86.5 30v48c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-48.2c46.6-.9 90.3-28.6 105.7-72.7c21.5-61.6-14.6-124.8-72.5-141.7z",fill:"currentColor"}));var qb=Hb.name,Gb=Hb.category,Kb=Hb.title,Ub=Hb.description,Qb=Hb.keywords,Vb=Hb.attributes,Yb={title:(0,de.__)(Kb,"woolentor"),description:(0,de.__)(Ub,"woolentor"),icon:React.createElement(me.Icon,{icon:Db}),keywords:Qb,example:{attributes:{priceColor:"#000"}},attributes:Vb,edit:Fb,save:function(){return null}};const Zb=function(e){var t=e.attributes,o=e.setAttributes,r=t.addCartUrl,n=t.quantity,a=t.size;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("QR Code","woolentor"),initialOpen:!0},React.createElement(me.RangeControl,{label:(0,de.__)("Size","woolentor"),value:a,onChange:function(e){return o({size:e})},min:1,step:1,max:1e3}),React.createElement(co,{label:(0,de.__)("Enable Add to Cart URL","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:r,onChange:function(){return o({addCartUrl:!r})}})),r&&React.createElement(me.RangeControl,{label:(0,de.__)("Quantity","woolentor"),value:n,onChange:function(e){return o({quantity:e})},min:1,step:1,max:1e3}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"codeAlign",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jb(e){return Jb="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jb(e)}function Xb(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$b(r.key),r)}}function $b(e){var t=function(e,t){if("object"!=Jb(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jb(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jb(t)?t:String(t)}function ey(e,t,o){return t=oy(t),function(e,t){if(t&&("object"===Jb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ty()?Reflect.construct(t,o||[],oy(e).constructor):t.apply(e,o))}function ty(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ty=function(){return!!e})()}function oy(e){return oy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oy(e)}function ry(e,t){return ry=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ry(e,t)}var ny=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ey(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ry(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=$b(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-".concat(i)),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Zb,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:t,attributes:{size:o.size}})),m)}}],r&&Xb(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const ay=ny,ly=JSON.parse('{"name":"woolentor/product-qrcode","category":"woolentor-single-product","title":"WL: QR Code","description":"Display product QR Code.","keywords":["woolentor","code","qrcode","qrcode generate","product qr code","qr code for product"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"size":{"type":"number","default":150},"addCartUrl":{"type":"boolean","default":false},"quantity":{"type":"number","default":1},"codeAlign":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { text-align: {{codeAlign}} !important; }"}}}}'),iy=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M0 .5A.5.5 0 0 1 .5 0h3a.5.5 0 0 1 0 1H1v2.5a.5.5 0 0 1-1 0v-3zm12 0a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V1h-2.5a.5.5 0 0 1-.5-.5zM.5 12a.5.5 0 0 1 .5.5V15h2.5a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 .5-.5zm15 0a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1 0-1H15v-2.5a.5.5 0 0 1 .5-.5zM4 4h1v1H4V4z"}),React.createElement("path",{d:"M7 2H2v5h5V2zM3 3h3v3H3V3zm2 8H4v1h1v-1z"}),React.createElement("path",{d:"M7 9H2v5h5V9zm-4 1h3v3H3v-3zm8-6h1v1h-1V4z"}),React.createElement("path",{d:"M9 2h5v5H9V2zm1 1v3h3V3h-3zM8 8v2h1v1H8v1h2v-2h1v2h1v-1h2v-1h-3V8H8zm2 2H9V9h1v1zm4 2h-1v1h-2v1h3v-2zm-4 2v-1H8v1h2z"}),React.createElement("path",{d:"M12 9h2V8h-2v1z"})));var cy=ly.name,sy=ly.category,uy=ly.title,dy=ly.description,my=ly.keywords,py=ly.attributes,gy={title:(0,de.__)(uy,"woolentor"),description:(0,de.__)(dy,"woolentor"),icon:React.createElement(me.Icon,{icon:iy}),keywords:my,example:{attributes:{}},attributes:py,edit:ay,save:function(){return null}};const fy=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Rating","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.linkColor,onChange:function(e){return o({linkColor:e})}})),React.createElement("h3",null,(0,de.__)("Link font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.linkSize,fallbackFontSize:t.linkSize,onChange:function(e){return o({linkSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function by(e){return by="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},by(e)}function yy(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ry(r.key),r)}}function Ry(e){var t=function(e,t){if("object"!=by(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=by(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==by(t)?t:String(t)}function _y(e,t,o){return t=hy(t),function(e,t){if(t&&("object"===by(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wy()?Reflect.construct(t,o||[],hy(e).constructor):t.apply(e,o))}function wy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wy=function(){return!!e})()}function hy(e){return hy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hy(e)}function Ey(e,t){return Ey=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ey(e,t)}var vy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_y(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ey(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Ry(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Kt()("woolentorblock-".concat(i),"woolentor-product-rating","product"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(fy,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.rating}}))),p)}}],r&&yy(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Oy=vy,Py=JSON.parse('{"name":"woolentor/product-rating","category":"woolentor-single-product","title":"WL : Rating","description":"Display product rating.","keywords":["woolentor","rating","product review","product rating"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .star-rating,{{WOOLENTOR_WRAPPER}} .star-rating::before, {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating,{{WOOLENTOR_WRAPPER}} .woocommerce-product-rating::before{ color: {{ratingColor}} !important; }"}},"linkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ color: {{linkColor}} !important; }"}},"linkSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.woocommerce-review-link{ font-size: {{linkSize}} !important; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating { text-align: {{contentAlignment}} !important;line-height:1; } .woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-product-rating .star-rating{ display:inline-block;float:none;margin-top:0;text-align:left }"}}}}'),Cy=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"0.97em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 496 512"},React.createElement("path",{d:"M248 8C111 8 0 119 0 256s111 248 248 248s248-111 248-248S385 8 248 8zM94.6 168.9l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.2 1 8.9 8.6 4.3 13.2l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L152 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.6-4.7-1.9-12.3 4.3-13.3zM248 432c-60.6 0-134.5-38.3-143.8-93.3c-2-11.8 9.3-21.5 20.7-17.9C155.1 330.5 200 336 248 336s92.9-5.5 123.1-15.2c11.5-3.7 22.6 6.1 20.7 17.9c-9.3 55-83.2 93.3-143.8 93.3zm157.7-249.9l-25.4 24.6l6 34.9c1 6.2-5.3 11-11 7.9L344 233.3l-31.3 16.3c-5.7 3.1-12-1.7-11-7.9l6-34.9l-25.4-24.6c-4.5-4.6-1.9-12.2 4.3-13.2l34.9-5l15.5-31.6c2.9-5.8 11-5.8 13.9 0l15.5 31.6l34.9 5c6.3.9 9 8.5 4.4 13.1z",fill:"currentColor"}));var By=Py.name,Ay=Py.category,Sy=Py.title,Wy=Py.description,ky=Py.keywords,Ty=Py.attributes,xy={title:(0,de.__)(Sy,"woolentor"),description:(0,de.__)(Wy,"woolentor"),icon:React.createElement(me.Icon,{icon:Cy}),keywords:ky,example:{attributes:{ratingColor:"inherit"}},attributes:Ty,edit:Oy,save:function(){return null}};function Ly(e){return Ly="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ly(e)}function Ny(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,zy(r.key),r)}}function zy(e){var t=function(e,t){if("object"!=Ly(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ly(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ly(t)?t:String(t)}function jy(e,t,o){return t=My(t),function(e,t){if(t&&("object"===Ly(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Iy()?Reflect.construct(t,o||[],My(e).constructor):t.apply(e,o))}function Iy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Iy=function(){return!!e})()}function My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},My(e)}function Fy(e,t){return Fy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fy(e,t)}var Hy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),jy(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fy(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Related Product","woolentor"),initialOpen:!0},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(co,{label:(0,de.__)("Heading","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(Yt,{title:(0,de.__)("Query Options","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:n,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:a,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,de.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Ny(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Dy=Hy;function qy(e){return qy="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qy(e)}function Gy(e,t,o){return(t=Uy(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function Ky(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Uy(r.key),r)}}function Uy(e){var t=function(e,t){if("object"!=qy(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=qy(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qy(t)?t:String(t)}function Qy(e,t,o){return t=Yy(t),function(e,t){if(t&&("object"===qy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Vy()?Reflect.construct(t,o||[],Yy(e).constructor):t.apply(e,o))}function Vy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Vy=function(){return!!e})()}function Yy(e){return Yy=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Yy(e)}function Zy(e,t){return Zy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zy(e,t)}var Jy=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Qy(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zy(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c=Kt()(Gy({},r,r),"woocommerce","product","woolentorblock-".concat(i)),s=Kt()("woolentor-product-related",Gy({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),Gy({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),Gy({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),Gy({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),u=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Dy,this.props),React.createElement("div",{className:c},React.createElement(me.Disabled,null,React.createElement("div",{className:s},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_related}})))),u)}}],r&&Ky(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Xy=Jy,$y=JSON.parse('{"name":"woolentor/product-related","category":"woolentor-single-product","title":"WL: Related Product","description":"Display related product.","keywords":["woolentor","product","related","product related"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .products > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),eR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var tR=$y.name,oR=$y.category,rR=$y.title,nR=$y.description,aR=$y.keywords,lR=$y.attributes,iR={title:(0,de.__)(rR,"woolentor"),description:(0,de.__)(nR,"woolentor"),icon:React.createElement(me.Icon,{icon:eR}),keywords:aR,attributes:lR,edit:Xy,save:function(){return null}};const cR=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(fo,{label:(0,de.__)("Comment Box","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.commentBoxColor,onChange:function(e){return o({commentBoxColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.commentBoxSize,fallbackFontSize:t.commentBoxSize,onChange:function(e){return o({commentBoxSize:e})}}),React.createElement(jr,{value:t.commentBoxBorder,onChange:function(e){return o({commentBoxBorder:e})}}),React.createElement(fo,{label:(0,de.__)("Button","woolentor")}),React.createElement(qt,{name:"button",tabs:["normal","hover"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGHoverColor,onChange:function(e){return o({submitBtnBGHoverColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function sR(e){return sR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sR(e)}function uR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,dR(r.key),r)}}function dR(e){var t=function(e,t){if("object"!=sR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=sR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==sR(t)?t:String(t)}function mR(e,t,o){return t=gR(t),function(e,t){if(t&&("object"===sR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pR()?Reflect.construct(t,o||[],gR(e).constructor):t.apply(e,o))}function pR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pR=function(){return!!e})()}function gR(e){return gR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gR(e)}function fR(e,t){return fR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fR(e,t)}var bR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),mR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&fR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=dR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-product-review","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(cR,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&uR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const yR=bR,RR=JSON.parse('{"name":"woolentor/product-reviews","category":"woolentor-single-product","title":"WL: Product Reviews","description":"Display Product Reviews.","keywords":["woolentor","Product","Review","Product Review","Single product"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"commentBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment{ color: {{commentBoxColor}} !important; }"}},"commentBoxSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment{ font-size: {{commentBoxSize}} !important; }"}},"commentBoxBorder":{"type":"object","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #reviews #review_form #respond #comment"}},"submitBtnColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ color: {{submitBtnColor}} !important; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ background-color: {{submitBtnBGColor}} !important; }"}},"submitBtnSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input{ font-size: {{submitBtnSize}} !important; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input:hover{ color: {{submitBtnHoverColor}} !important; }"}},"submitBtnBGHoverColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} #review_form #respond .form-submit input:hover{ background-color: {{submitBtnBGHoverColor}} !important; }"}}}}'),_R=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"m12 15l1.55-3.45L17 10l-3.45-1.55L12 5l-1.55 3.45L7 10l3.45 1.55ZM2 22V4q0-.825.588-1.413Q3.175 2 4 2h16q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18H6Zm2-4.825L5.175 16H20V4H4ZM4 4v13.175Z"}));var wR=RR.name,hR=RR.title,ER=RR.description,vR=RR.category,OR=RR.attributes,PR=RR.keywords,CR=RR.supports,BR={title:(0,de.__)(hR,"woolentor"),description:(0,de.__)(ER,"woolentor"),icon:React.createElement(me.Icon,{icon:_R}),keywords:PR,supports:CR,attributes:OR,edit:yR,save:function(){return null}};const AR=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Short Description","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"textAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.textMargin,attributesKey:"textMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function SR(e){return SR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},SR(e)}function WR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,kR(r.key),r)}}function kR(e){var t=function(e,t){if("object"!=SR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=SR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==SR(t)?t:String(t)}function TR(e,t,o){return t=LR(t),function(e,t){if(t&&("object"===SR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xR()?Reflect.construct(t,o||[],LR(e).constructor):t.apply(e,o))}function xR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xR=function(){return!!e})()}function LR(e){return LR=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},LR(e)}function NR(e,t){return NR=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NR(e,t)}var zR=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),TR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NR(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=kR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Kt()("woolentor-product-short-description","product"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(AR,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.short_description}}))),p)}}],r&&WR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const jR=zR,IR=JSON.parse('{"name":"woolentor/product-short-description","category":"woolentor-single-product","title":"WL : Short Description","description":"Display product short description.","keywords":["woolentor","product description","short description","description"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ color: {{textColor}} !important; }"}},"textSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ font-size: {{textSize}} !important; }"}},"textAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ text-align: {{textAlignment}} !important; }"}},"textMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description, {{WOOLENTOR_WRAPPER}} .woocommerce-product-details__short-description p{ margin: {{textMargin}}; }"}}}}'),MR=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 16 16"},React.createElement("g",{fill:"currentColor"},React.createElement("path",{d:"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z"}),React.createElement("path",{d:"M3 8.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5zm0 2a.5.5 0 0 1 .5-.5h6a.5.5 0 0 1 0 1h-6a.5.5 0 0 1-.5-.5zm0-5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-1z"})));var FR=IR.name,HR=IR.category,DR=IR.title,qR=IR.description,GR=IR.keywords,KR=IR.attributes,UR={title:(0,de.__)(DR,"woolentor"),description:(0,de.__)(qR,"woolentor"),icon:React.createElement(me.Icon,{icon:MR}),keywords:GR,example:{attributes:{textColor:"#000"}},attributes:KR,edit:jR,save:function(){return null}};const QR=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Text","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.textSize,fallbackFontSize:t.textSize,onChange:function(e){return o({textSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment"}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function VR(e){return VR="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},VR(e)}function YR(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ZR(r.key),r)}}function ZR(e){var t=function(e,t){if("object"!=VR(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=VR(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==VR(t)?t:String(t)}function JR(e,t,o){return t=$R(t),function(e,t){if(t&&("object"===VR(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,XR()?Reflect.construct(t,o||[],$R(e).constructor):t.apply(e,o))}function XR(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(XR=function(){return!!e})()}function $R(e){return $R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},$R(e)}function e_(e,t){return e_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e_(e,t)}var t_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),JR(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&e_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=ZR(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"product"),m=Kt()("woolentorblock-".concat(i),"woolentor-product-stock-status","product_stock_status"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(QR,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_stock}}))),p)}}],r&&YR(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const o_=t_,r_=JSON.parse('{"name":"woolentor/product-stock","category":"woolentor-single-product","title":"Product Stock","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"textColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ color: {{textColor}}!important; }"}},"textSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} [class^=\'stock\']{ font-size: {{textSize}}!important; }"}},"contentAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}}.product_stock_status { text-align: {{contentAlignment}}; } .woocommerce {{WOOLENTOR_WRAPPER}}.product_stock_status > p{display:inline-block;}"}}}}'),n_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{className:"icon-tabler",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},React.createElement("path",{d:"M12 3l8 4.5v9L12 21l-8-4.5v-9L12 3"}),React.createElement("path",{d:"M12 12l8-4.5"}),React.createElement("path",{d:"M12 12v9"}),React.createElement("path",{d:"M12 12L4 7.5"})));var a_=r_.name,l_=r_.category,i_=r_.attributes,c_={title:(0,de.__)("WL: Product Stock","woolentor"),description:(0,de.__)("Display product stock.","woolentor"),icon:React.createElement(me.Icon,{icon:n_}),keywords:["woolentor",(0,de.__)("product","woolentor"),(0,de.__)("status","woolentor"),(0,de.__)("stock status","woolentor")],example:{attributes:{}},attributes:i_,edit:o_,save:function(){return null}};const s_=function(e){var t=e.attributes,o=e.setAttributes;return React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Tab Menu","woolentor"),initialOpen:!0},React.createElement(qt,{name:"menu",tabs:["normal","active"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuColor,onChange:function(e){return o({tabMenuColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuBGColor,onChange:function(e){return o({tabMenuBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuBorderColor,onChange:function(e){return o({tabMenuBorderColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabMenuSize,fallbackFontSize:t.tabMenuSize,onChange:function(e){return o({tabMenuSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.tabMenuBorderRadius,attributesKey:"tabMenuBorderRadius",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tabMenuAlignment",justified:!0})),React.createElement(Qt,{name:"active"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuActiveColor,onChange:function(e){return o({tabMenuActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuBGActiveColor,onChange:function(e){return o({tabMenuBGActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabMenuActiveBorderColor,onChange:function(e){return o({tabMenuActiveBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(fo,{label:(0,de.__)("Heading","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabContentHeadingColor,onChange:function(e){return o({tabContentHeadingColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentHeadingSize,fallbackFontSize:t.tabContentHeadingSize,onChange:function(e){return o({tabContentHeadingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.tabContentHeadingMargin,attributesKey:"tabContentHeadingMargin",setAttributes:o}),React.createElement(fo,{label:(0,de.__)("Description","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tabContentColor,onChange:function(e){return o({tabContentColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tabContentSize,fallbackFontSize:t.tabContentSize,onChange:function(e){return o({tabContentSize:e})}}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function u_(e){return u_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u_(e)}function d_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,m_(r.key),r)}}function m_(e){var t=function(e,t){if("object"!=u_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=u_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==u_(t)?t:String(t)}function p_(e,t,o){return t=f_(t),function(e,t){if(t&&("object"===u_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,g_()?Reflect.construct(t,o||[],f_(e).constructor):t.apply(e,o))}function g_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g_=function(){return!!e})()}function f_(e){return f_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f_(e)}function b_(e,t){return b_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b_(e,t)}var y_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=m_(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce"),m=Kt()("woolentorblock-".concat(i),"woolentor-product-tabs","product"),p=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(s_,this.props),React.createElement("div",{className:d},React.createElement("div",{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_tabs}}))),p)}}],r&&d_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const R_=y_,w_=JSON.parse('{"name":"woolentor/product-tabs","category":"woolentor-single-product","title":"WL : Product Tabs","description":"Display product tabs.","keywords":["woolentor","tabs","product","product tabs"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tabMenuColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ color: {{tabMenuColor}} !important; }"}},"tabMenuBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ background-color: {{tabMenuBGColor}} !important; }"}},"tabMenuBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-color: {{tabMenuBorderColor}} !important; }"}},"tabMenuSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li a{ font-size: {{tabMenuSize}} !important; }"}},"tabMenuBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li{ border-radius: {{tabMenuBorderRadius}} !important; }"}},"tabMenuAlignment":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs{ text-align: {{tabMenuAlignment}} !important; }"}},"tabMenuActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active a{ color: {{tabMenuActiveColor}} !important; }"}},"tabMenuBGActiveColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ background-color: {{tabMenuBGActiveColor}} !important; }"}},"tabMenuActiveBorderColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li.active{ border-color: {{tabMenuActiveBorderColor}} !important; }.woocommerce .{{WOOLENTOR_WRAPPER}} .woocommerce-tabs ul.wc-tabs li:not(.active){ border-bottom-color:{{tabMenuActiveBorderColor}}; }"}},"tabContentHeadingColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ color: {{tabContentHeadingColor}} !important; }"}},"tabContentHeadingSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ font-size: {{tabContentHeadingSize}} !important; }"}},"tabContentHeadingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel h2{ margin: {{tabContentHeadingMargin}} !important; }"}},"tabContentColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-Tabs-panel p{ color: {{tabContentColor}} !important; }"}},"tabContentSize":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-tabs .woocommerce-Tabs-panel{ font-size: {{tabContentSize}} !important; }"}}}}'),h_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 256 256"},React.createElement("path",{d:"M32 96h192l.008-40a8 8 0 0 0-8-8h-176a8 8 0 0 0-8 8z",opacity:".2",fill:"currentColor"}),React.createElement("path",{d:"M216.008 40h-176a16.018 16.018 0 0 0-16 16v39.845c-.001.052-.008.103-.008.155s.007.103.008.155V200a16.018 16.018 0 0 0 16 16h176a16.018 16.018 0 0 0 16-16V56a16.018 16.018 0 0 0-16-16zm0 16l.002 32H40.008V56zm0 144h-176v-96H216.01l.007 96z",fill:"currentColor"}));var E_=w_.name,v_=w_.category,O_=w_.title,P_=w_.description,C_=w_.keywords,B_=w_.attributes,A_={title:(0,de.__)(O_,"woolentor"),description:(0,de.__)(P_,"woolentor"),icon:React.createElement(me.Icon,{icon:h_}),keywords:C_,example:{attributes:{tabMenuColor:"#000"}},attributes:B_,edit:R_,save:function(){return null}};const S_=function(e){var t=e.attributes,o=e.setAttributes,r=t.titleTag;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Title Tag","woolentor"),value:r,options:an,onChange:function(e){return o({titleTag:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Title","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"titleAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function W_(e){return W_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W_(e)}var k_;function T_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,x_(r.key),r)}}function x_(e){var t=function(e,t){if("object"!=W_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=W_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==W_(t)?t:String(t)}function L_(e,t,o){return t=z_(t),function(e,t){if(t&&("object"===W_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,N_()?Reflect.construct(t,o||[],z_(e).constructor):t.apply(e,o))}function N_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(N_=function(){return!!e})()}function z_(e){return z_=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},z_(e)}function j_(e,t){return j_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},j_(e,t)}var I_=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),L_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&j_(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.className,r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u,d,m,p=Kt()((c={},u=o,(s=x_(s=o))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"product"),g=Kt()("woolentor-product-title","product_title"),f=ti.div(k_||(d=["\n\t\t\t","\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t","\n\t\t"],m||(m=d.slice(0)),k_=Object.freeze(Object.defineProperties(d,{raw:{value:Object.freeze(m)}}))),t.titleColor&&Ie(t.titleColor,"color","!important"),t.titleSize&&Ie(t.titleSize,"font-size","!important"),t.titleAlignment&&Ie(t.titleAlignment,"text-align","!important"),t.titleMargin&&Me(t.titleMargin,"margin","!important"),t.areaPadding&&Me(t.areaPadding.desktop,"padding"),Fe(i));return React.createElement(qe.Fragment,null,r&&React.createElement(S_,this.props),React.createElement("div",{className:p},React.createElement(f,{className:g,as:t.titleTag},woolentorData.sampledata.title)))}}],r&&T_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const M_=I_,F_=JSON.parse('{"name":"woolentor/product-title","category":"woolentor-single-product","title":"WL : Product Title","description":"Display product title.","keywords":["woolentor","product","title","product title"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"titleTag":{"type":"string","default":"h2"},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { color: {{titleColor}} !important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { font-size: {{titleSize}} !important; }"}},"titleAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { text-align: {{titleAlignment}} !important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.product_title { margin: {{titleMargin}} !important; }"}}}}'),H_=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M5 4v3h5.5v12h3V7H19V4z",fill:"currentColor"}));var D_=F_.name,q_=F_.category,G_=F_.title,K_=F_.description,U_=F_.keywords,Q_=F_.attributes,V_={title:(0,de.__)(G_,"woolentor"),description:(0,de.__)(K_,"woolentor"),icon:React.createElement(me.Icon,{icon:H_}),keywords:U_,example:{attributes:{title_tag:"h2"}},attributes:Q_,edit:M_,save:function(){return null}};function Y_(e){return Y_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Y_(e)}function Z_(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,J_(r.key),r)}}function J_(e){var t=function(e,t){if("object"!=Y_(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Y_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Y_(t)?t:String(t)}function X_(e,t,o){return t=ew(t),function(e,t){if(t&&("object"===Y_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,$_()?Reflect.construct(t,o||[],ew(e).constructor):t.apply(e,o))}function $_(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return($_=function(){return!!e})()}function ew(e){return ew=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ew(e)}function tw(e,t){return tw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},tw(e,t)}var ow=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),X_(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&tw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.perPage,n=t.order,a=t.orderBy,l=t.hideTitle;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Upsell Product","woolentor"),initialOpen:!0},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(co,{label:(0,de.__)("Heading","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({hideTitle:!l})}}))),React.createElement(Yt,{title:(0,de.__)("Query Options","woolentor")},React.createElement(me.RangeControl,{label:(0,de.__)("Products Per Page","woolentor"),value:r,onChange:function(e){return o({perPage:e})},min:1,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:n,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:a,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}}),React.createElement("hr",null),React.createElement("p",null,(0,de.__)("These options does not effect on editor mode, please check the product details page.","woolentor")))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Z_(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const rw=ow;function nw(e){return nw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nw(e)}var aw;function lw(e,t,o){return(t=cw(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function iw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cw(r.key),r)}}function cw(e){var t=function(e,t){if("object"!=nw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nw(t)?t:String(t)}function sw(e,t,o){return t=dw(t),function(e,t){if(t&&("object"===nw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,uw()?Reflect.construct(t,o||[],dw(e).constructor):t.apply(e,o))}function uw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(uw=function(){return!!e})()}function dw(e){return dw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dw(e)}function mw(e,t){return mw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},mw(e,t)}var pw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),sw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&mw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=(e.name,e.className),r=e.isSelected,n=e.setAttributes,a=e.clientId,l=t.blockUniqId,i=t.areaBGProperty;""==l&&n({blockUniqId:a});var c,s,u=function(e){var o=t[e]?t[e]:{},r="";if(""!=o.top||""!=o.right||""!=o.bottom||""!=o.left){var n=o.unit?o.unit:"px";r=o.top?r+o.top+n+" ":"0"+n+" ",r=o.right?r+o.right+n+" ":"0"+n+" ",r=o.bottom?r+o.bottom+n+" ":"0"+n+" ",r=o.left?r+o.left+n+" ":"0"+n+" "}return r},d=Kt()(lw({},o,o),"woocommerce","product"),m=Kt()("woolentor-product-upsell",lw({},"woolentor-products-columns-".concat(t.columns.desktop),t.columns.desktop),lw({},"woolentor-products-columns-laptop-".concat(t.columns.laptop),t.columns.laptop),lw({},"woolentor-products-columns-tablet-".concat(t.columns.tablet),t.columns.tablet),lw({},"woolentor-products-columns-mobile-".concat(t.columns.mobile),t.columns.mobile)),p=ti.div(aw||(c=["\n\t\t\t& .up-sells > h2{\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"],s||(s=c.slice(0)),aw=Object.freeze(Object.defineProperties(c,{raw:{value:Object.freeze(s)}}))),t.hideTitle&&"display:none!important;",t.headingColor&&"color:"+t.headingColor+"!important;",t.headingSize&&"font-size:"+t.headingSize+"!important;",t.headingAlignment&&"text-align:"+t.headingAlignment+"!important;",t.headingMargin&&"margin:"+u("headingMargin")+";",t.areaPadding&&"padding:"+u("areaPadding")+";",i.imageUrl&&"background-image:url("+i.imageUrl+");",i.position&&"background-position:"+i.position+";",i.attachment&&"background-attachment:"+i.attachment+";",i.repeat&&"background-repeat:"+i.repeat+";",i.size&&"background-size:"+i.size+";");return React.createElement(qe.Fragment,null,r&&React.createElement(rw,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(p,{className:m},(0,qe.createElement)("div",{dangerouslySetInnerHTML:{__html:woolentorData.sampledata.product_upsell}})))))}}],r&&iw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const gw=pw,fw=JSON.parse('{"name":"woolentor/product-upsell","category":"woolentor-single-product","title":"Product Upsell","attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"perPage":{"type":"number","default":4},"columns":{"type":"object","default":{"desktop":4}},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"hideTitle":{"type":"boolean","default":false,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ display: none !important; }"}},"headingColor":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ color: {{headingColor}}!important; }"}},"headingSize":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ font-size: {{headingSize}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"dependency":[[{"key":"hideTitle","condition":"!=","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .up-sells > h2{ text-align: {{headingAlignment}}!important; }"}}}}'),bw=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var yw=fw.name,Rw=fw.category,_w=fw.attributes,ww={title:(0,de.__)("WL: Product Upsell","woolentor"),description:(0,de.__)("Display upsell product.","woolentor"),icon:React.createElement(me.Icon,{icon:bw}),keywords:["woolentor",(0,de.__)("product","woolentor"),(0,de.__)("upsell","woolentor"),(0,de.__)("product upsell","woolentor")],attributes:_w,edit:gw,save:function(){return null}};function hw(e){return hw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hw(e)}function Ew(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,vw(r.key),r)}}function vw(e){var t=function(e,t){if("object"!=hw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=hw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hw(t)?t:String(t)}function Ow(e,t,o){return t=Cw(t),function(e,t){if(t&&("object"===hw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Pw()?Reflect.construct(t,o||[],Cw(e).constructor):t.apply(e,o))}function Pw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Pw=function(){return!!e})()}function Cw(e){return Cw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cw(e)}function Bw(e,t){return Bw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Bw(e,t)}var Aw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ow(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Bw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.setAttributes,r=t.rows,n=t.paginate,a=t.allowOrder,l=t.showResultCount,i=t.order,c=t.orderBy,s=t.itemBorderType,u=t.itemBorderWidth,d=t.itemBorderColor,m=t.itemBorderRadius,p=t.itemPadding,g=t.saleTagShow;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Archive Product","woolentor"),initialOpen:!0},React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.RangeControl,{label:(0,de.__)("Rows","woolentor"),value:r,onChange:function(e){return o({rows:e})},min:1,step:1,max:20}),React.createElement(co,{label:(0,de.__)("Pagination","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:n,onChange:function(){return o({paginate:!n})}})),1==n?React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Allow Order","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:a,onChange:function(){return o({allowOrder:!a})}})),React.createElement(co,{label:(0,de.__)("Show Result Count","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:l,onChange:function(){return o({showResultCount:!l})}}))):React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:i,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:c,options:[{label:(0,de.__)("None","woolentor"),value:"none"},{label:(0,de.__)("ID","woolentor"),value:"ID"},{label:(0,de.__)("Date","woolentor"),value:"date"},{label:(0,de.__)("Name","woolentor"),value:"name"},{label:(0,de.__)("Title","woolentor"),value:"title"},{label:(0,de.__)("Comment count","woolentor"),value:"comment_count"},{label:(0,de.__)("Random","woolentor"),value:"rand"}],onChange:function(e){return o({orderBy:e})}})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Item","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:s,options:ln,onChange:function(e){return o({itemBorderType:e})}}),s&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:u,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:d,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:m,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:p,attributesKey:"itemPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.imageBorderType,options:ln,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(qt,{name:"title"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(fo,{label:(0,de.__)("Sale Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(fo,{label:(0,de.__)("Regular Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Rating Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(co,{label:(0,de.__)("Empty Rating Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,de.__)("Start size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Add To Cart Button","woolentor")},React.createElement(qt,{name:"addtocartbutton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:ln,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Pagination","woolentor")},React.createElement(fo,{label:(0,de.__)("Normal","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationColor,onChange:function(e){return o({paginationColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationBGColor,onChange:function(e){return o({paginationBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationBorderColor,onChange:function(e){return o({paginationBorderColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.PaginationPadding,attributesKey:"PaginationPadding",setAttributes:o}),React.createElement(fo,{label:(0,de.__)("Active","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationHoverColor,onChange:function(e){return o({paginationHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.paginationHoverBGColor,onChange:function(e){return o({paginationHoverBGColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Sale Tag","woolentor")},React.createElement(co,{label:(0,de.__)("Sale Flash","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:g,onChange:function(){return o({saleTagShow:!g})}})),g&&React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))}}],r&&Ew(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Sw=Aw;function Ww(e){return Ww="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ww(e)}function kw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Tw(r.key),r)}}function Tw(e){var t=function(e,t){if("object"!=Ww(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ww(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ww(t)?t:String(t)}function xw(e,t,o){return t=Nw(t),function(e,t){if(t&&("object"===Ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Lw()?Reflect.construct(t,o||[],Nw(e).constructor):t.apply(e,o))}function Lw(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Lw=function(){return!!e})()}function Nw(e){return Nw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nw(e)}function zw(e,t){return zw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zw(e,t)}var jw=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),xw(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zw(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Tw(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woocommerce","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Sw,this.props),React.createElement("div",{className:d},React.createElement(me.Disabled,null,React.createElement(ns(),{block:o,attributes:{columns:t.columns,rows:t.rows,paginate:t.paginate,allowOrder:t.allowOrder,showResultCount:t.showResultCount,order:t.order,orderBy:t.orderBy,saleTagPosition:t.saleTagPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m))}}],r&&kw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Iw=jw,Mw=JSON.parse('{"name":"woolentor/shop-archive-default","category":"woolentor-shop","title":"WL: Product Archive Layout (Default)","description":"Display product grid on shop / archive page.","keywords":["woolentor","shop","archive","product shop","Thankyou"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"rows":{"type":"number","default":4},"paginate":{"type":"boolean","default":true},"allowOrder":{"type":"boolean","default":true},"showResultCount":{"type":"boolean","default":true},"orderBy":{"type":"string","default":"none"},"order":{"type":"string","default":"DESC"},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"paginationColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ color: {{paginationColor}}; }"}},"paginationBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a{ background-color: {{paginationBGColor}}; }"}},"paginationBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul{ border-color: {{paginationBorderColor}}; }{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li{ border-right-color: {{paginationBorderColor}}; }"}},"PaginationPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span{ padding: {{PaginationPadding}}; }"}},"paginationHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ color: {{paginationHoverColor}}; }"}},"paginationHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li a:hover,{{WOOLENTOR_WRAPPER}} nav.woocommerce-pagination ul li span.current{ background-color: {{paginationHoverBGColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),Fw=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{d:"M22 2H2v20h20V2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6h-4V4h4v4z",fill:"currentColor"}));var Hw=Mw.name,Dw=Mw.title,qw=Mw.description,Gw=Mw.category,Kw=Mw.attributes,Uw=Mw.keywords,Qw=Mw.supports,Vw={title:(0,de.__)(Dw,"woolentor"),description:(0,de.__)(qw,"woolentor"),icon:React.createElement(me.Icon,{icon:Fw}),keywords:Uw,supports:Qw,attributes:Kw,edit:Iw,save:function(){return null}};const Yw=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor"),initialOpen:!0},React.createElement(me.TextareaControl,{label:(0,de.__)("Custom Message","woolentor"),help:(0,de.__)("Enter your custom message","woolentor"),value:t.customMessage,onChange:function(e){return o({customMessage:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Message","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Text Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.borderColor,onChange:function(e){return o({borderColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.messagePadding,attributesKey:"messagePadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.messageMargin,attributesKey:"messageMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Zw(e){return Zw="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zw(e)}function Jw(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Xw(r.key),r)}}function Xw(e){var t=function(e,t){if("object"!=Zw(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Zw(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Zw(t)?t:String(t)}function $w(e,t,o){return t=th(t),function(e,t){if(t&&("object"===Zw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,eh()?Reflect.construct(t,o||[],th(e).constructor):t.apply(e,o))}function eh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(eh=function(){return!!e})()}function th(e){return th=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},th(e)}function oh(e,t){return oh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oh(e,t)}var rh=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$w(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Xw(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-cart-empty-message","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Yw,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{customMessage:t.customMessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Jw(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const nh=rh,ah=JSON.parse('{"name":"woolentor/cart-empty-message","category":"woolentor-cart","title":"WL : Empty Cart Message","description":"Display empty cart message.","keywords":["woolentor","shop table","cart table","table","woocommerce table","empty message","message"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"customMessage":{"type":"string","default":""},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { color: {{textColor}}; }"}},"borderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { border-color: {{borderColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-info::before { color: {{borderColor}}; }"}},"messagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { padding: {{messagePadding}}; }"}},"messageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-info { margin: {{messageMargin}}; }"}}}}'),lh=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4l-.01-18zM20 4v13.17L18.83 16H4V4h16zM6 12h12v2H6zm0-3h12v2H6zm0-3h12v2H6z"}));var ih=ah.name,ch=ah.category,sh=ah.title,uh=ah.description,dh=ah.keywords,mh=ah.supports,ph=ah.attributes,gh={title:(0,de.__)(sh,"woolentor"),description:(0,de.__)(uh,"woolentor"),icon:React.createElement(me.Icon,{icon:lh}),keywords:dh,supports:mh,attributes:ph,edit:nh,save:function(){return null}};function fh(e){return function(e){if(Array.isArray(e))return yh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bh(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bh(e,t){if(e){if("string"==typeof e)return yh(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?yh(e,t):void 0}}function yh(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Rh=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||bh(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=fh(t.tableItemList);a[n][r]=e,o({tableItemList:a})};return t.tableItemList.length>0&&(r=t.tableItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.tableItemList[r].heading),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=fh(t.tableItemList);r.splice(e,1),o({tableItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.SelectControl,{label:(0,de.__)("Title Tag","woolentor"),value:t.tableItemList[r].fieldkey,options:[{label:(0,de.__)("Remove","woolentor"),value:"remove"},{label:(0,de.__)("Image","woolentor"),value:"thumbnail"},{label:(0,de.__)("Product Title","woolentor"),value:"name"},{label:(0,de.__)("Price","woolentor"),value:"price"},{label:(0,de.__)("Quantity","woolentor"),value:"quantity"},{label:(0,de.__)("Total","woolentor"),value:"subtotal"},{label:(0,de.__)("Custom","woolentor"),value:"customadd"}],onChange:function(e){return i(e,"fieldkey",r)}}),React.createElement(me.TextControl,{label:(0,de.__)("Heading Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Remove","woolentor"),value:t.tableItemList[r].heading,onChange:function(e){return i(e,"heading",r)}}),React.createElement(me.RangeControl,{label:(0,de.__)("Width (PX)","woolentor"),value:t.tableItemList[r].width,allowReset:!0,onChange:function(e){return i(e,"width",r)},min:0,step:1,max:500}))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Table Row","woolentor"),initialOpen:!0},r,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=fh(t.tableItemList);e.push({fieldkey:"remove",heading:(0,de.__)("Cart Item #"+(t.tableItemList.length+1),"woolentor"),width:""}),o({tableItemList:e}),l(t.tableItemList.length)}.bind(void 0)},(0,de.__)("Add Item","woolentor"))),React.createElement(Yt,{title:(0,de.__)("Table Action","woolentor")},React.createElement(me.ToggleControl,{label:(0,de.__)("Update Cart Button","woolentor"),checked:t.show_update_button,onChange:function(){return o({show_update_button:!t.show_update_button})}}),t.show_update_button&&React.createElement(me.TextControl,{label:(0,de.__)("Update cart button text","woolentor"),value:t.update_cart_button_txt,placeholder:(0,de.__)("Update Cart","woolentor"),onChange:function(e){return o({update_cart_button_txt:e})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Continue Shopping Button","woolentor"),checked:t.show_continue_button,onChange:function(){return o({show_continue_button:!t.show_continue_button})}}),t.show_continue_button&&React.createElement(me.TextControl,{label:(0,de.__)("Continue Shopping","woolentor"),value:t.continue_button_txt,placeholder:(0,de.__)("Continue Shopping","woolentor"),onChange:function(e){return o({continue_button_txt:e})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Coupon Form","woolentor"),checked:t.show_coupon_form,onChange:function(){return o({show_coupon_form:!t.show_coupon_form})}}),t.show_coupon_form&&React.createElement(React.Fragment,null,React.createElement(me.TextControl,{label:(0,de.__)("Coupon form button text","woolentor"),value:t.coupon_form_button_txt,placeholder:(0,de.__)("Apply Coupon","woolentor"),onChange:function(e){return o({coupon_form_button_txt:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Placeholder text","woolentor"),value:t.coupon_form_pl_txt,placeholder:(0,de.__)("Coupon code","woolentor"),onChange:function(e){return o({coupon_form_pl_txt:e})}}))),React.createElement(Yt,{title:(0,de.__)("Extra Options","woolentor")},React.createElement(me.ToggleControl,{label:(0,de.__)("Disable users adjusting quantity","woolentor"),checked:t.disable_user_adj_qtn,onChange:function(){return o({disable_user_adj_qtn:!t.disable_user_adj_qtn})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Remove Product link","woolentor"),checked:t.remove_product_link,onChange:function(){return o({remove_product_link:!t.remove_product_link})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Product Categories","woolentor"),checked:t.show_product_category,onChange:function(){return o({show_product_category:!t.show_product_category})}}),React.createElement(me.ToggleControl,{label:(0,de.__)("Show Product Stock","woolentor"),checked:t.show_product_stock,onChange:function(){return o({show_product_stock:!t.show_product_stock})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.headingBorderType,options:ln,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Table","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableBorderType,options:ln,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tablePadding,attributesKey:"tablePadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Table Cell","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:ln,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Remove Icon","woolentor")},React.createElement(qt,{name:"removeicon"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconColor,onChange:function(e){return o({removeIconColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconBackgroundColor,onChange:function(e){return o({removeIconBackgroundColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.removeIconBorderType,options:ln,onChange:function(e){return o({removeIconBorderType:e})}}),t.removeIconBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.removeIconBorderWidth,attributesKey:"removeIconBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconBorderColor,onChange:function(e){return o({removeIconBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.removeIconBorderRadius,attributesKey:"removeIconBorderRadius",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeHoverIconColor,onChange:function(e){return o({removeHoverIconColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconHoverBackgroundColor,onChange:function(e){return o({removeIconHoverBackgroundColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.removeIconHoverBorderType,options:ln,onChange:function(e){return o({removeIconHoverBorderType:e})}}),t.removeIconHoverBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.removeIconHoverBorderWidth,attributesKey:"removeIconHoverBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.removeIconHoverBorderColor,onChange:function(e){return o({removeIconHoverBorderColor:e})}})))))),React.createElement(Yt,{title:(0,de.__)("Product Image","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.imageBorderType,options:ln,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.imagePadding,attributesKey:"imagePadding",setAttributes:o}),React.createElement(me.RangeControl,{label:(0,de.__)("Width (PX)","woolentor"),value:t.imageWidth,onChange:function(e){return o({imageWidth:e})},min:0,step:1,max:500})),React.createElement(Yt,{title:(0,de.__)("Product Title","woolentor")},React.createElement(qt,{name:"title"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(fo,{label:(0,de.__)("Unit Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.priceColor,onChange:function(e){return o({priceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.priceSize,fallbackFontSize:t.priceSize,onChange:function(e){return o({priceSize:e})}}),React.createElement(fo,{label:(0,de.__)("Total Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.totalPriceColor,onChange:function(e){return o({totalPriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.totalPriceSize,fallbackFontSize:t.totalPriceSize,onChange:function(e){return o({totalPriceSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Quantity Field","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.quantityColor,onChange:function(e){return o({quantityColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.quantityBorderType,options:ln,onChange:function(e){return o({quantityBorderType:e})}}),t.quantityBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.quantityBorderWidth,attributesKey:"quantityBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.quantityBorderColor,onChange:function(e){return o({quantityBorderColor:e})}})))),React.createElement(Yt,{title:(0,de.__)("Buttons","woolentor")},React.createElement(qt,{name:"buttons"},React.createElement(Qt,{name:"normal"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Update Cart Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnColor,onChange:function(e){return o({updateCartBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnBGColor,onChange:function(e){return o({updateCartBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.updateCartBtnSize,fallbackFontSize:t.updateCartBtnSize,onChange:function(e){return o({updateCartBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.updateCartBtnBorderType,options:ln,onChange:function(e){return o({updateCartBtnBorderType:e})}}),t.updateCartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.updateCartBtnBorderWidth,attributesKey:"updateCartBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnBorderColor,onChange:function(e){return o({updateCartBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.updateCartBtnBorderRadius,attributesKey:"updateCartBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.updateCartBtnPadding,attributesKey:"updateCartBtnPadding",setAttributes:o})),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Continue Shop Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnColor,onChange:function(e){return o({continueShopBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnBGColor,onChange:function(e){return o({continueShopBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.continueShopBtnSize,fallbackFontSize:t.continueShopBtnSize,onChange:function(e){return o({continueShopBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.continueShopBtnBorderType,options:ln,onChange:function(e){return o({continueShopBtnBorderType:e})}}),t.continueShopBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.continueShopBtnBorderWidth,attributesKey:"continueShopBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnBorderColor,onChange:function(e){return o({continueShopBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.continueShopBtnBorderRadius,attributesKey:"continueShopBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.continueShopBtnPadding,attributesKey:"continueShopBtnPadding",setAttributes:o}))),React.createElement(Qt,{name:"hover"},!0===t.show_update_button&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Update Cart Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnHoverColor,onChange:function(e){return o({updateCartBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnHoverBGColor,onChange:function(e){return o({updateCartBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.updateCartBtnHoverBorderColor,onChange:function(e){return o({updateCartBtnHoverBorderColor:e})}}))),!0===t.show_continue_button&&React.createElement(React.Fragment,null,React.createElement(fo,{label:(0,de.__)("Continue Shop Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnHoverColor,onChange:function(e){return o({continueShopBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnHoverBGColor,onChange:function(e){return o({continueShopBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.continueShopBtnHoverBorderColor,onChange:function(e){return o({continueShopBtnHoverBorderColor:e})}})))))),React.createElement(Yt,{title:(0,de.__)("Apply coupon","woolentor")},React.createElement(fo,{label:(0,de.__)("Apply Button","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponBtnColor,onChange:function(e){return o({couponBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponBtnBGColor,onChange:function(e){return o({couponBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponBtnSize,fallbackFontSize:t.couponBtnSize,onChange:function(e){return o({couponBtnSize:e})}}),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponBtnHoverColor,onChange:function(e){return o({couponBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponBtnHoverBGColor,onChange:function(e){return o({couponBtnHoverBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.couponBorderRadius,attributesKey:"couponBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.couponBtnPadding,attributesKey:"couponBtnPadding",setAttributes:o}),React.createElement(fo,{label:(0,de.__)("Input Box","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponFormColor,onChange:function(e){return o({couponFormColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.couponFormFontSize,fallbackFontSize:t.couponFormFontSize,onChange:function(e){return o({couponFormFontSize:e})}}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.couponFormBorderColor,onChange:function(e){return o({couponFormBorderColor:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function _h(e){return _h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_h(e)}function wh(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,hh(r.key),r)}}function hh(e){var t=function(e,t){if("object"!=_h(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=_h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_h(t)?t:String(t)}function Eh(e,t,o){return t=Oh(t),function(e,t){if(t&&("object"===_h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,vh()?Reflect.construct(t,o||[],Oh(e).constructor):t.apply(e,o))}function vh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(vh=function(){return!!e})()}function Oh(e){return Oh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Oh(e)}function Ph(e,t){return Ph=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ph(e,t)}var Ch=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Eh(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ph(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=hh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cart","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Rh,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{blockUniqId:i,tableItemList:t.tableItemList,show_update_button:t.show_update_button,update_cart_button_txt:t.update_cart_button_txt,show_continue_button:t.show_continue_button,continue_button_txt:t.continue_button_txt,show_coupon_form:t.show_coupon_form,coupon_form_button_txt:t.coupon_form_button_txt,coupon_form_pl_txt:t.coupon_form_pl_txt,disable_user_adj_qtn:t.disable_user_adj_qtn,remove_product_link:t.remove_product_link,show_product_category:t.show_product_category,show_product_stock:t.show_product_stock},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&wh(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Bh=Ch,Ah=JSON.parse('{"name":"woolentor/cart-table","category":"woolentor-cart","title":"WL : Cart Table","description":"Display cart table.","keywords":["woolentor","shop table","cart table","table","woocommerce table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"tableItemList":{"type":"array","default":[{"fieldkey":"remove","heading":"Remove","width":""},{"fieldkey":"thumbnail","heading":"Image","width":""},{"fieldkey":"name","heading":"Product Title","width":""},{"fieldkey":"price","heading":"Price","width":""},{"fieldkey":"quantity","heading":"Quantity","width":""},{"fieldkey":"subtotal","heading":"Total","width":""}]},"show_update_button":{"type":"boolean","default":true},"update_cart_button_txt":{"type":"string","default":"Update Cart"},"show_continue_button":{"type":"boolean","default":false},"continue_button_txt":{"type":"string","default":"Continue Shopping"},"show_coupon_form":{"type":"boolean","default":true},"coupon_form_button_txt":{"type":"string","default":"Apply coupon"},"coupon_form_pl_txt":{"type":"string","default":"Coupon code"},"disable_user_adj_qtn":{"type":"boolean","default":false},"remove_product_link":{"type":"boolean","default":false},"show_product_category":{"type":"boolean","default":false},"show_product_stock":{"type":"boolean","default":false},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { font-size: {{headingSize}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { border-color: {{headingBorderColor}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { padding: {{headingPadding}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart thead th { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart th { background-color: {{headingBackgroundColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-style: {{tableBorderType}}; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-width: {{tableBorderWidth}}; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { border-color: {{tableBorderColor}}; }"}},"tablePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { padding: {{tablePadding}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart { background-color: {{tableCellBackgroundColor}}; }"}},"removeIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { color: {{removeIconColor}} !important; }"}},"removeIconBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { background-color: {{removeIconBackgroundColor}} !important; }"}},"removeIconBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-style: {{removeIconBorderType}}; }"}},"removeIconBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-width: {{removeIconBorderWidth}}; }"}},"removeIconBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-color: {{removeIconBorderColor}}; }"}},"removeIconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove { border-radius: {{removeIconBorderRadius}} !important; }"}},"removeHoverIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { color: {{removeHoverIconColor}} !important; }"}},"removeIconHoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { background-color: {{removeIconHoverBackgroundColor}} !important; }"}},"removeIconHoverBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-style: {{removeIconHoverBorderType}}; }"}},"removeIconHoverBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-width: {{removeIconHoverBorderWidth}}; }"}},"removeIconHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"removeIconHoverBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-remove a.remove:hover { border-color: {{removeIconHoverBorderColor}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { border-radius: {{imageBorderRadius}}; }"}},"imagePadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { padding: {{imagePadding}}; }"}},"imageWidth":{"type":"number","default":70,"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-thumbnail img { width: {{imageWidth}}px; max-width: {{imageWidth}}px; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a { color: {{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name { font-size: {{titleSize}}; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name:hover,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-name a:hover { color: {{titleHoverColor}}; }"}},"priceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { color: {{priceColor}}; }"}},"priceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price,{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-price .amount { font-size: {{priceSize}}; }"}},"totalPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { color: {{totalPriceColor}}; }"}},"totalPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-subtotal { font-size: {{totalPriceSize}}; }"}},"quantityColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { color: {{quantityColor}}; }"}},"quantityBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-style: {{quantityBorderType}}; }"}},"quantityBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-width: {{quantityBorderWidth}}; }"}},"quantityBorderColor":{"type":"string","style":{"dependency":[[{"key":"quantityBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart tr.cart_item td.product-quantity input[type=number] { border-color: {{quantityBorderColor}}; }"}},"updateCartBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { color: {{updateCartBtnColor}}; }"}},"updateCartBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { background-color: {{updateCartBtnBGColor}}; }"}},"updateCartBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { font-size: {{updateCartBtnSize}}; }"}},"updateCartBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-style: {{updateCartBtnBorderType}} !important; }"}},"updateCartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-width: {{updateCartBtnBorderWidth}} !important; }"}},"updateCartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"updateCartBtnBorderType","condition":"!=","value":""},{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-color: {{updateCartBtnBorderColor}} !important; }"}},"updateCartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { border-radius: {{updateCartBtnBorderRadius}} !important; }"}},"updateCartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button { padding: {{updateCartBtnPadding}}; }"}},"updateCartBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { color: {{updateCartBtnHoverColor}}; }"}},"updateCartBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { background-color: {{updateCartBtnHoverBGColor}}; }"}},"updateCartBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_update_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .wl_update_cart_shop input.button:hover { border-color: {{updateCartBtnHoverBorderColor}} !important; }"}},"continueShopBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { color: {{continueShopBtnColor}}; }"}},"continueShopBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { background-color: {{continueShopBtnBGColor}}; }"}},"continueShopBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { font-size: {{continueShopBtnSize}}; }"}},"continueShopBtnBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-style: {{continueShopBtnBorderType}}; }"}},"continueShopBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-width: {{continueShopBtnBorderWidth}}; }"}},"continueShopBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"continueShopBtnBorderType","condition":"!=","value":""},{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-color: {{continueShopBtnBorderColor}}; }"}},"continueShopBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { border-radius: {{continueShopBtnBorderRadius}}; }"}},"continueShopBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping { padding: {{continueShopBtnPadding}}; }"}},"continueShopBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { color: {{continueShopBtnHoverColor}}; }"}},"continueShopBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { background-color: {{continueShopBtnHoverBGColor}}; }"}},"continueShopBtnHoverBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_continue_button","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions a.wlbutton-continue-shopping:hover { border-color: {{continueShopBtnHoverBorderColor}}; }"}},"couponBtnColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ color: {{couponBtnColor}}; }"}},"couponBtnBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ background-color: {{couponBtnBGColor}}; transition:0.4s; }"}},"couponBtnSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button{ font-size: {{couponBtnSize}}; }"}},"couponBtnHoverColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ color: {{couponBtnHoverColor}}; }"}},"couponBtnHoverBGColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button:hover{ background-color: {{couponBtnHoverBGColor}}; }"}},"couponBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button { border-radius: {{couponBorderRadius}} !important; }"}},"couponBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon .button { padding: {{couponBtnPadding}}; }"}},"couponFormColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ color: {{couponFormColor}}; }"}},"couponFormFontSize":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ font-size: {{couponFormFontSize}}; }"}},"couponFormBorderColor":{"type":"string","style":{"dependency":[[{"key":"show_coupon_form","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table.cart td.actions .coupon input.input-text{ border-color: {{couponFormBorderColor}}; }"}}}}'),Sh=React.createElement("svg",{enableBackground:"new 0 0 24 24",height:"512",viewBox:"0 0 24 24",width:"512",xmlns:"http://www.w3.org/2000/svg"},React.createElement("path",{d:"m22.5 24h-21c-.827 0-1.5-.673-1.5-1.5v-21c0-.827.673-1.5 1.5-1.5h21c.827 0 1.5.673 1.5 1.5v21c0 .827-.673 1.5-1.5 1.5zm-21-23c-.276 0-.5.224-.5.5v21c0 .276.224.5.5.5h21c.276 0 .5-.224.5-.5v-21c0-.276-.224-.5-.5-.5z"}),React.createElement("path",{d:"m23.5 16.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m23.5 8.5h-23c-.276 0-.5-.224-.5-.5s.224-.5.5-.5h23c.276 0 .5.224.5.5s-.224.5-.5.5z"}),React.createElement("path",{d:"m8 24c-.276 0-.5-.224-.5-.5v-23c0-.276.224-.5.5-.5s.5.224.5.5v23c0 .276-.224.5-.5.5z"}));var Wh=Ah.name,kh=Ah.category,Th=Ah.title,xh=Ah.description,Lh=Ah.keywords,Nh=Ah.supports,zh=Ah.attributes,jh={title:(0,de.__)(Th,"woolentor"),description:(0,de.__)(xh,"woolentor"),icon:React.createElement(me.Icon,{icon:Sh}),keywords:Lh,supports:Nh,attributes:zh,edit:Bh,save:function(){return null}};const Ih=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Table Cell","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:ln,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBackgroundColor,onChange:function(e){return o({tableCellBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Table Content","woolentor")},React.createElement(fo,{label:(0,de.__)("Heading","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(fo,{label:(0,de.__)("Subtotal Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableSubtotalColor,onChange:function(e){return o({tableSubtotalColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableSubtotalSize,fallbackFontSize:t.tableSubtotalSize,onChange:function(e){return o({tableSubtotalSize:e})}}),React.createElement(fo,{label:(0,de.__)("Total Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableTotalColor,onChange:function(e){return o({tableTotalColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableTotalSize,fallbackFontSize:t.tableTotalSize,onChange:function(e){return o({tableTotalSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Checkout Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnColor,onChange:function(e){return o({checkoutBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnBGColor,onChange:function(e){return o({checkoutBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.checkoutBtnSize,fallbackFontSize:t.checkoutBtnSize,onChange:function(e){return o({checkoutBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.checkoutBtnBorderType,options:ln,onChange:function(e){return o({checkoutBtnBorderType:e})}}),t.checkoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.checkoutBtnBorderWidth,attributesKey:"checkoutBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnBorderColor,onChange:function(e){return o({checkoutBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.checkoutBtnBorderRadius,attributesKey:"checkoutBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.checkoutBtnPadding,attributesKey:"checkoutBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnHoverColor,onChange:function(e){return o({checkoutBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnHoverBGColor,onChange:function(e){return o({checkoutBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.checkoutBtnHoverBorderColor,onChange:function(e){return o({checkoutBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaBGColor,onChange:function(e){return o({areaBGColor:e})}})))))};function Mh(e){return Mh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mh(e)}function Fh(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hh(r.key),r)}}function Hh(e){var t=function(e,t){if("object"!=Mh(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Mh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Mh(t)?t:String(t)}function Dh(e,t,o){return t=Gh(t),function(e,t){if(t&&("object"===Mh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,qh()?Reflect.construct(t,o||[],Gh(e).constructor):t.apply(e,o))}function qh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(qh=function(){return!!e})()}function Gh(e){return Gh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Gh(e)}function Kh(e,t){return Kh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Kh(e,t)}var Uh=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Dh(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Kh(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Hh(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cart-total","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Ih,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Fh(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Qh=Uh,Vh=JSON.parse('{"name":"woolentor/cart-total","category":"woolentor-cart","title":"WL : Cart Total","description":"Display cart total.","keywords":["woolentor","shop total","cart total table","table","total table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} { background-color: {{areaBGColor}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals > h2 { text-align: {{headingAlignment}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-style: {{tableCellBorderType}}; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-width: {{tableCellBorderWidth}}; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { border-color: {{tableCellBorderColor}}; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th,{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr td { text-align: {{tableCellAlignment}}; }"}},"tableCellBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table { background-color: {{tableCellBackgroundColor}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { color: {{tableHeadingColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr th { font-size: {{tableHeadingSize}}; }"}},"tableSubtotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { color: {{tableSubtotalColor}}; }"}},"tableSubtotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.cart-subtotal td { font-size: {{tableSubtotalSize}}; }"}},"tableTotalColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { color: {{tableTotalColor}}; }"}},"tableTotalSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total th, {{WOOLENTOR_WRAPPER}} .cart_totals .shop_table tr.order-total td .amount { font-size: {{tableTotalSize}}; }"}},"checkoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { color: {{checkoutBtnColor}}; }"}},"checkoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { background-color: {{checkoutBtnBGColor}}; }"}},"checkoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { font-size: {{checkoutBtnSize}}; }"}},"checkoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-style: {{checkoutBtnBorderType}}; }"}},"checkoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-width: {{checkoutBtnBorderWidth}}; }"}},"checkoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"checkoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-color: {{checkoutBtnBorderColor}}; }"}},"checkoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { border-radius: {{checkoutBtnBorderRadius}}; }"}},"checkoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button { padding: {{checkoutBtnPadding}}; }"}},"checkoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { color: {{checkoutBtnHoverColor}}; }"}},"checkoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { background-color: {{checkoutBtnHoverBGColor}}; }"}},"checkoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wc-proceed-to-checkout .button.checkout-button:hover { border-color: {{checkoutBtnHoverBorderColor}}; }"}}}}'),Yh=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var Zh=Vh.name,Jh=Vh.category,Xh=Vh.title,$h=Vh.description,eE=Vh.keywords,tE=Vh.supports,oE=Vh.attributes,rE={title:(0,de.__)(Xh,"woolentor"),description:(0,de.__)($h,"woolentor"),icon:React.createElement(me.Icon,{icon:Yh}),keywords:eE,supports:tE,attributes:oE,edit:Qh,save:function(){return null}};const nE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Cross Sell","woolentor"),initialOpen:!0},React.createElement(me.RangeControl,{label:(0,de.__)("Limit","woolentor"),value:t.limit,onChange:function(e){return o({limit:e})},min:0,step:1,max:20}),React.createElement(vr,{label:"Column",attribute:"columns",responsive:!0}),React.createElement(me.SelectControl,{label:(0,de.__)("Order","woolentor"),value:t.order,options:[{label:(0,de.__)("Descending","woolentor"),value:"DESC"},{label:(0,de.__)("Ascending","woolentor"),value:"ASC"}],onChange:function(e){return o({order:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Orderby","woolentor"),value:t.orderBy,options:[{label:(0,de.__)("Random","woolentor"),value:"rand"},{label:(0,de.__)("Publish Date","woolentor"),value:"date"},{label:(0,de.__)("Modified Date","woolentor"),value:"modified"},{label:(0,de.__)("Alphabetic","woolentor"),value:"title"},{label:(0,de.__)("Popularity","woolentor"),value:"popularity"},{label:(0,de.__)("Rating","woolentor"),value:"rating"},{label:(0,de.__)("Price","woolentor"),value:"price"}],onChange:function(e){return o({orderBy:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Item","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.itemBorderType,options:ln,onChange:function(e){return o({itemBorderType:e})}}),t.itemBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.itemBorderWidth,attributesKey:"itemBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.itemBorderColor,onChange:function(e){return o({itemBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.itemBorderRadius,attributesKey:"itemBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.itemPadding,attributesKey:"itemPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Image","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.imageBorderType,options:ln,onChange:function(e){return o({imageBorderType:e})}}),t.imageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.imageBorderWidth,attributesKey:"imageBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.imageBorderColor,onChange:function(e){return o({imageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.imageMargin,attributesKey:"imageMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Title","woolentor")},React.createElement(qt,{name:"title"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleColor,onChange:function(e){return o({titleColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.titleSize,fallbackFontSize:t.titleSize,onChange:function(e){return o({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.titleMargin,attributesKey:"titleMargin",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.titleHoverColor,onChange:function(e){return o({titleHoverColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Price","woolentor")},React.createElement(fo,{label:(0,de.__)("Sale Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.salePriceColor,onChange:function(e){return o({salePriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.salePriceSize,fallbackFontSize:t.salePriceSize,onChange:function(e){return o({salePriceSize:e})}}),React.createElement(fo,{label:(0,de.__)("Regular Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.regularPriceColor,onChange:function(e){return o({regularPriceColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.regularPriceSize,fallbackFontSize:t.regularPriceSize,onChange:function(e){return o({regularPriceSize:e})}})),React.createElement(Yt,{title:(0,de.__)("Rating","woolentor")},React.createElement(co,{label:(0,de.__)("Rating Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.ratingColor,onChange:function(e){return o({ratingColor:e})}})),React.createElement(co,{label:(0,de.__)("Empty Rating Star Color","woolentor")},React.createElement(me.ColorPalette,{value:t.emptyRatingColor,onChange:function(e){return o({emptyRatingColor:e})}})),React.createElement("h3",null,(0,de.__)("Start size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.ratingSize,fallbackFontSize:t.ratingSize,onChange:function(e){return o({ratingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.ratingMargin,attributesKey:"ratingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Add To Cart Button","woolentor")},React.createElement(qt,{name:"addToCartButton"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnColor,onChange:function(e){return o({cartBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnBGColor,onChange:function(e){return o({cartBtnBGColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.cartBtnBorderType,options:ln,onChange:function(e){return o({cartBtnBorderType:e})}}),t.cartBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.cartBtnBorderWidth,attributesKey:"cartBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnBorderColor,onChange:function(e){return o({cartBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.cartBtnBorderRadius,attributesKey:"cartBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.cartBtnSize,fallbackFontSize:t.cartBtnSize,onChange:function(e){return o({cartBtnSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.cartBtnPadding,attributesKey:"cartBtnPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.cartBtnMargin,attributesKey:"cartBtnMargin",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverColor,onChange:function(e){return o({cartBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverBGColor,onChange:function(e){return o({cartBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.cartBtnHoverBorderColor,onChange:function(e){return o({cartBtnHoverBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Sale Tag","woolentor")},React.createElement(co,{label:(0,de.__)("Sale Flash","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:t.saleTagShow,onChange:function(){return o({saleTagShow:!t.saleTagShow})}})),t.saleTagShow&&React.createElement(React.Fragment,null,React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.saleTextColor,onChange:function(e){return o({saleTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.saleTagBGColor,onChange:function(e){return o({saleTagBGColor:e})}})),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.saleTagPadding,attributesKey:"saleTagPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.saleTagBorderRadius,attributesKey:"saleTagBorderRadius",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.saleTagPosition,options:[{label:(0,de.__)("Default","woolentor"),value:""},{label:(0,de.__)("Left","woolentor"),value:"left"},{label:(0,de.__)("Right","woolentor"),value:"right"}],onChange:function(e){return o({saleTagPosition:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function aE(e){return aE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aE(e)}function lE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,iE(r.key),r)}}function iE(e){var t=function(e,t){if("object"!=aE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=aE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==aE(t)?t:String(t)}function cE(e,t,o){return t=uE(t),function(e,t){if(t&&("object"===aE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,sE()?Reflect.construct(t,o||[],uE(e).constructor):t.apply(e,o))}function sE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(sE=function(){return!!e})()}function uE(e){return uE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uE(e)}function dE(e,t){return dE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dE(e,t)}var mE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),cE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=iE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-cross-sell","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(nE,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{blockUniqId:i,columns:t.columns,limit:t.limit,orderBy:t.orderBy,order:t.order},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&lE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const pE=mE,gE=JSON.parse('{"name":"woolentor/cross-sell","category":"woolentor-cart","title":"WL : Cross Sell","description":"Display cross sell Product.","keywords":["woolentor","cross sell","cross sell product","cart","cart table"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"columns":{"type":"object","default":{"desktop":4}},"limit":{"type":"number","default":2},"orderBy":{"type":"string","default":"rand"},"order":{"type":"string","default":"DESC"},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { color: {{headingTextColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells > h2 { text-align: {{headingAlignment}}; }"}},"itemBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-style: {{itemBorderType}}; }"}},"itemBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-width: {{itemBorderWidth}}; }"}},"itemBorderColor":{"type":"string","style":{"dependency":[[{"key":"itemBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-color: {{itemBorderColor}}; }"}},"itemBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { border-radius: {{itemBorderRadius}}; }"}},"itemPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { padding: {{itemPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .cross-sells ul.products li.product { text-align: {{contentAlignment}}; }"}},"imageBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-style: {{imageBorderType}}; }"}},"imageBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-width: {{imageBorderWidth}}; }"}},"imageBorderColor":{"type":"string","style":{"dependency":[[{"key":"imageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-color: {{imageBorderColor}}; }"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { border-radius: {{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .attachment-woocommerce_thumbnail { margin: {{imageMargin}}; }"}},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { color: {{titleColor}}!important; }"}},"titleHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title:hover,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a:hover { color: {{titleHoverColor}}!important; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { font-size: {{titleSize}}!important; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .woocommerce-loop-product__title,{{WOOLENTOR_WRAPPER}} ul.products li.product .title a { margin: {{titleMargin}}!important; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins,{{WOOLENTOR_WRAPPER}} ul.products li.product .price ins .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price .amount{ color: {{salePriceColor}}!important; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price{ font-size: {{salePriceSize}}!important; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} .price del .amount{ color: {{regularPriceColor}}!important; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .price del .amount,{{WOOLENTOR_WRAPPER}} ul.products li.product .price del{ font-size: {{regularPriceSize}}!important; }"}},"ratingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ color: {{ratingColor}}; }"}},"emptyRatingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating::before{ color: {{emptyRatingColor}}; }"}},"ratingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ font-size: {{ratingSize}}; }"}},"ratingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .star-rating{ margin: {{ratingMargin}}; }"}},"cartBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ color: {{cartBtnColor}}; }"}},"cartBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ background-color: {{cartBtnBGColor}}; }"}},"cartBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-style: {{cartBtnBorderType}}; }"}},"cartBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-width: {{cartBtnBorderWidth}}; }"}},"cartBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"cartBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-color: {{cartBtnBorderColor}}; }"}},"cartBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ border-radius: {{cartBtnBorderRadius}}; }"}},"cartBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ font-size: {{cartBtnSize}}; }"}},"cartBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ padding: {{cartBtnPadding}}; }"}},"cartBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button{ margin: {{cartBtnMargin}}; }"}},"cartBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ color: {{cartBtnHoverColor}}; }"}},"cartBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ background-color: {{cartBtnHoverBGColor}}; }"}},"cartBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product .button:hover{ border-color: {{cartBtnHoverBorderColor}}; }"}},"saleTagShow":{"type":"boolean","default":true},"saleTextColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ color: {{saleTextColor}}; }"}},"saleTagBGColor":{"type":"string","style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ background-color: {{saleTagBGColor}}; }"}},"saleTagPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ padding: {{saleTagPadding}}; }"}},"saleTagBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"saleTagShow","condition":"==","value":true}]],"selector":"{{WOOLENTOR_WRAPPER}} ul.products li.product span.onsale{ border-radius: {{saleTagBorderRadius}}; }"}},"saleTagPosition":{"type":"string","default":""}}}'),fE=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M17 24h4v4h-4zm7 0h4v4h-4zm-7-7h4v4h-4zm7 0h4v4h-4z"}),React.createElement("path",{fill:"currentColor",d:"M28 11h-6V7c0-1.7-1.3-3-3-3h-6c-1.7 0-3 1.3-3 3v4H4c-.6 0-1 .4-1 1v.2l1.9 12.1c.1 1 1 1.7 2 1.7H15v-2H6.9L5.2 13H28v-2zM12 7c0-.6.4-1 1-1h6c.6 0 1 .4 1 1v4h-8V7z"}));var bE=gE.name,yE=gE.category,RE=gE.title,_E=gE.description,wE=gE.supports,hE=gE.keywords,EE=gE.attributes,vE={title:(0,de.__)(RE,"woolentor"),description:(0,de.__)(_E,"woolentor"),icon:React.createElement(me.Icon,{icon:fE}),keywords:hE,supports:wE,attributes:EE,edit:pE,save:function(){return null}};const OE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Return To Shop","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Button Text","woolentor"),value:t.buttonText,placeholder:(0,de.__)("Button Text","woolentor"),onChange:function(e){return o({buttonText:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Button Custom URL","woolentor"),value:t.buttonLink,placeholder:(0,de.__)("Button Custom URL","woolentor"),onChange:function(e){return o({buttonLink:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnColor,onChange:function(e){return o({returnBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnBGColor,onChange:function(e){return o({returnBtnBGColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.returnBtnBorderType,options:ln,onChange:function(e){return o({returnBtnBorderType:e})}}),t.returnBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.returnBtnBorderWidth,attributesKey:"returnBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnBorderColor,onChange:function(e){return o({returnBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.returnBtnBorderRadius,attributesKey:"returnBtnBorderRadius",setAttributes:o}),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.returnBtnSize,fallbackFontSize:t.returnBtnSize,onChange:function(e){return o({returnBtnSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.returnBtnPadding,attributesKey:"returnBtnPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.returnBtnMargin,attributesKey:"returnBtnMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnHoverColor,onChange:function(e){return o({returnBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnHoverBGColor,onChange:function(e){return o({returnBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.returnBtnHoverBorderColor,onChange:function(e){return o({returnBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function PE(e){return PE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},PE(e)}function CE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,BE(r.key),r)}}function BE(e){var t=function(e,t){if("object"!=PE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=PE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==PE(t)?t:String(t)}function AE(e,t,o){return t=WE(t),function(e,t){if(t&&("object"===PE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,SE()?Reflect.construct(t,o||[],WE(e).constructor):t.apply(e,o))}function SE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(SE=function(){return!!e})()}function WE(e){return WE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},WE(e)}function kE(e,t){return kE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kE(e,t)}var TE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),AE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=BE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-block-return-to-shop","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(OE,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{buttonText:t.buttonText,buttonLink:t.buttonLink},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&CE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const xE=TE,LE=JSON.parse('{"name":"woolentor/return-to-shop","category":"woolentor-cart","title":"WL : Return To Shop","description":"Display return to shop page button.","keywords":["woolentor","return to shop","back shop","redirect to shop","redirect button","cart"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":""},"buttonLink":{"type":"string","default":""},"returnBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ color: {{returnBtnColor}}; }"}},"returnBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ background-color: {{returnBtnBGColor}}; }"}},"returnBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-style: {{returnBtnBorderType}}; }"}},"returnBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-width: {{returnBtnBorderWidth}}; }"}},"returnBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"returnBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-color: {{returnBtnBorderColor}}; }"}},"returnBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ border-radius: {{returnBtnBorderRadius}}; }"}},"returnBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ font-size: {{returnBtnSize}}; }"}},"returnBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ padding: {{returnBtnPadding}}; }"}},"returnBtnMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward{ margin: {{returnBtnMargin}}; }"}},"returnBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ color: {{returnBtnHoverColor}}; }"}},"returnBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ background-color: {{returnBtnHoverBGColor}}; }"}},"returnBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} a.button.wc-backward:hover{ border-color: {{returnBtnHoverBorderColor}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .return-to-shop { text-align: {{buttonAlignment}}; }"}}}}'),NE=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("circle",{cx:"7",cy:"7",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"15",r:"1",fill:"currentColor"}),React.createElement("circle",{cx:"7",cy:"23",r:"1",fill:"currentColor"}),React.createElement("path",{fill:"currentColor",d:"M12 26H4v-6h8v-2H4v-6h18V4a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h8ZM4 4h16v6H4Z"}),React.createElement("path",{fill:"currentColor",d:"M28 17v2.413A6.996 6.996 0 1 0 22 30v-2a5 5 0 1 1 4.576-7H24v2h6v-6Z"}));var zE=LE.name,jE=LE.category,IE=LE.title,ME=LE.description,FE=LE.keywords,HE=LE.supports,DE=LE.attributes,qE={title:(0,de.__)(IE,"woolentor"),description:(0,de.__)(ME,"woolentor"),icon:React.createElement(me.Icon,{icon:NE}),keywords:FE,supports:HE,attributes:DE,edit:xE,save:function(){return null}};const GE=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Additional Form","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),placeholder:(0,de.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function KE(e){return KE="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},KE(e)}function UE(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,QE(r.key),r)}}function QE(e){var t=function(e,t){if("object"!=KE(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=KE(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KE(t)?t:String(t)}function VE(e,t,o){return t=ZE(t),function(e,t){if(t&&("object"===KE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,YE()?Reflect.construct(t,o||[],ZE(e).constructor):t.apply(e,o))}function YE(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(YE=function(){return!!e})()}function ZE(e){return ZE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ZE(e)}function JE(e,t){return JE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},JE(e,t)}var XE=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),VE(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&JE(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=QE(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-additional-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(GE,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&UE(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const $E=XE,ev=JSON.parse('{"name":"woolentor/checkout-additional-form","category":"woolentor-checkout","title":"WL : Checkout Additional Form","description":"Display Checkout Additional Form.","keywords":["woolentor","checkout form","Additional form","Additional field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Additional information"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-additional-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-additional-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),tv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var ov=ev.name,rv=ev.category,nv=ev.title,av=ev.description,lv=ev.keywords,iv=ev.supports,cv=ev.attributes,sv={title:(0,de.__)(nv,"woolentor"),description:(0,de.__)(av,"woolentor"),icon:React.createElement(me.Icon,{icon:tv}),keywords:lv,supports:iv,attributes:cv,edit:$E,save:function(){return null}};const uv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Billing Form","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),placeholder:(0,de.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Create an account label","woolentor"),placeholder:(0,de.__)("Create an account?","woolentor"),value:t.createfieldLabel,onChange:function(e){return o({createfieldLabel:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function dv(e){return dv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},dv(e)}function mv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,pv(r.key),r)}}function pv(e){var t=function(e,t){if("object"!=dv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=dv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dv(t)?t:String(t)}function gv(e,t,o){return t=bv(t),function(e,t){if(t&&("object"===dv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fv()?Reflect.construct(t,o||[],bv(e).constructor):t.apply(e,o))}function fv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(fv=function(){return!!e})()}function bv(e){return bv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bv(e)}function yv(e,t){return yv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yv(e,t)}var Rv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),gv(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yv(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=pv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-billing-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(uv,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&mv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const _v=Rv,wv=JSON.parse('{"name":"woolentor/checkout-billing-form","category":"woolentor-checkout","title":"WL : Checkout Billing Form","description":"Display Checkout Billing Form.","keywords":["woolentor","checkout form","billing form","billing field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Billing details"},"createfieldLabel":{"type":"string","default":"Create an account?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-billing-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-account-fields,.woocommerce-billing-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),hv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var Ev=wv.name,vv=wv.category,Ov=wv.title,Pv=wv.description,Cv=wv.keywords,Bv=wv.supports,Av=wv.attributes,Sv={title:(0,de.__)(Ov,"woolentor"),description:(0,de.__)(Pv,"woolentor"),icon:React.createElement(me.Icon,{icon:hv}),keywords:Cv,supports:Bv,attributes:Av,edit:_v,save:function(){return null}};const Wv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Coupon Form","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Apply Button Text","woolentor"),placeholder:(0,de.__)("Apply coupon","woolentor"),value:t.formApplyButton,onChange:function(e){return o({formApplyButton:e})}}),React.createElement(me.TextareaControl,{label:(0,de.__)("Description","woolentor"),placeholder:(0,de.__)("If you have a coupon code, please apply it below.","woolentor"),value:t.formDescription,onChange:function(e){return o({formDescription:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(co,{label:(0,de.__)("Text Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Left Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(co,{label:(0,de.__)("Top Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.togglerBorderType,options:ln,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Description","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formBorderType,options:ln,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Submit Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function kv(e){return kv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kv(e)}function Tv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xv(r.key),r)}}function xv(e){var t=function(e,t){if("object"!=kv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=kv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kv(t)?t:String(t)}function Lv(e,t,o){return t=zv(t),function(e,t){if(t&&("object"===kv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Nv()?Reflect.construct(t,o||[],zv(e).constructor):t.apply(e,o))}function Nv(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Nv=function(){return!!e})()}function zv(e){return zv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},zv(e)}function jv(e,t){return jv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jv(e,t)}var Iv=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Lv(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jv(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=xv(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-coupon-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Wv,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{formDescription:t.formDescription},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Tv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Mv=Iv,Fv=JSON.parse('{"name":"woolentor/checkout-coupon-form","category":"woolentor-checkout","title":"WL : Checkout Coupon Form","description":"Display Checkout Coupon Form.","keywords":["woolentor","checkout form","Coupon form","Coupon field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formApplyButton":{"type":"string","default":"Apply coupon"},"formDescription":{"type":"string","default":"If you have a coupon code, please apply it below."},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .checkout-coupon-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .woolentor-info { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form { margin: {{formMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text,{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-checkout-coupon-form .coupon-form button.button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),Hv=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var Dv=Fv.name,qv=Fv.title,Gv=Fv.description,Kv=Fv.category,Uv=Fv.attributes,Qv=Fv.keywords,Vv=Fv.supports,Yv={title:(0,de.__)(qv,"woolentor"),description:(0,de.__)(Gv,"woolentor"),icon:React.createElement(me.Icon,{icon:Hv}),keywords:Qv,supports:Vv,attributes:Uv,edit:Mv,save:function(){return null}};const Zv=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Form Toggler","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.togglerSize,fallbackFontSize:t.togglerSize,onChange:function(e){return o({togglerSize:e})}}),React.createElement(co,{label:(0,de.__)("Text Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerTextColor,onChange:function(e){return o({togglerTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLinkColor,onChange:function(e){return o({togglerLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLinkHoverColor,onChange:function(e){return o({togglerLinkHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Left Icon Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerLeftIconColor,onChange:function(e){return o({togglerLeftIconColor:e})}})),React.createElement(co,{label:(0,de.__)("Top Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerTopBorderColor,onChange:function(e){return o({togglerTopBorderColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.togglerBorderType,options:ln,onChange:function(e){return o({togglerBorderType:e})}}),t.togglerBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.togglerBorderWidth,attributesKey:"togglerBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerBorderColor,onChange:function(e){return o({togglerBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.togglerBorderRadius,attributesKey:"togglerBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.togglerPadding,attributesKey:"togglerPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.togglerMargin,attributesKey:"togglerMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"togglerAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.togglerBackgroundColor,onChange:function(e){return o({togglerBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Description","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.descriptionColor,onChange:function(e){return o({descriptionColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.descriptionSize,fallbackFontSize:t.descriptionSize,onChange:function(e){return o({descriptionSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.descriptionMargin,attributesKey:"descriptionMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"descriptionAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formBorderType,options:ln,onChange:function(e){return o({formBorderType:e})}}),t.formBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formBorderWidth,attributesKey:"formBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formBorderColor,onChange:function(e){return o({formBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formBorderRadius,attributesKey:"formBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formPadding,attributesKey:"formPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formMargin,attributesKey:"formMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Width (PX)","woolentor"),value:t.inputBoxWidth,allowReset:!0,onChange:function(e){return o({inputBoxWidth:e})},min:0,step:1,max:1e3}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Login Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnColor,onChange:function(e){return o({loginBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnBGColor,onChange:function(e){return o({loginBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.loginBtnSize,fallbackFontSize:t.loginBtnSize,onChange:function(e){return o({loginBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.loginBtnBorderType,options:ln,onChange:function(e){return o({loginBtnBorderType:e})}}),t.loginBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.loginBtnBorderWidth,attributesKey:"loginBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnBorderColor,onChange:function(e){return o({loginBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.loginBtnBorderRadius,attributesKey:"loginBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.loginBtnPadding,attributesKey:"loginBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnHoverColor,onChange:function(e){return o({loginBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnHoverBGColor,onChange:function(e){return o({loginBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.loginBtnHoverBorderColor,onChange:function(e){return o({loginBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Jv(e){return Jv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jv(e)}function Xv(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,$v(r.key),r)}}function $v(e){var t=function(e,t){if("object"!=Jv(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Jv(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Jv(t)?t:String(t)}function eO(e,t,o){return t=oO(t),function(e,t){if(t&&("object"===Jv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,tO()?Reflect.construct(t,o||[],oO(e).constructor):t.apply(e,o))}function tO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(tO=function(){return!!e})()}function oO(e){return oO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},oO(e)}function rO(e,t){return rO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rO(e,t)}var nO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),eO(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=$v(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor_block_checkout_login_form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Zv,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{blockUniqId:i,formToggolerText:t.formToggolerText},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Xv(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const aO=nO,lO=JSON.parse('{"name":"woolentor/checkout-login-form","category":"woolentor-checkout","title":"WL : Checkout Login Form","description":"Display Checkout Login Form.","keywords":["woolentor","checkout form","login form","login field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"togglerSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { font-size: {{togglerSize}}; }"}},"togglerTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { color: {{togglerTextColor}}; }"}},"togglerLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a { color: {{togglerLinkColor}}; }"}},"togglerLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info a:hover { color: {{togglerLinkHoverColor}}; }"}},"togglerLeftIconColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before { color: {{togglerLeftIconColor}}; }"}},"togglerTopBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-top-color: {{togglerTopBorderColor}}; }"}},"togglerBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-style: {{togglerBorderType}}; }"}},"togglerBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-width: {{togglerBorderWidth}}; }"}},"togglerBorderColor":{"type":"string","style":{"dependency":[[{"key":"togglerBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-color: {{togglerBorderColor}}; }"}},"togglerBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { border-radius: {{togglerBorderRadius}}; }"}},"togglerPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { padding: {{togglerPadding}}; }"}},"togglerMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { margin: {{togglerMargin}}; }"}},"togglerAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { text-align: {{togglerAlignment}}; }{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info::before{ position: static;margin-right:10px; }"}},"togglerBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login-toggle .woocommerce-info { background-color: {{togglerBackgroundColor}}; }"}},"descriptionColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { color: {{descriptionColor}}; }"}},"descriptionSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { font-size: {{descriptionSize}}; }"}},"descriptionAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { text-align: {{descriptionAlignment}}; }"}},"descriptionMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .woocommerce-form-login p:not(.form-row,.lost_password) { margin: {{descriptionMargin}}; }"}},"formBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-style: {{formBorderType}}; }"}},"formBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-width: {{formBorderWidth}}; }"}},"formBorderColor":{"type":"string","style":{"dependency":[[{"key":"formBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-color: {{formBorderColor}}; }"}},"formBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { border-radius: {{formBorderRadius}}; }"}},"formPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { padding: {{formPadding}}; }"}},"formMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login { margin: {{formMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_login_form .login.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text,{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text::-webkit-input-placeholder { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxWidth":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { width: {{inputBoxWidth}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}!important; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}!important; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}!important; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login input.input-text:focus { border-color: {{inputBoxFocusBorderColor}}!important; }"}},"loginBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { color: {{loginBtnColor}}; }"}},"loginBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { background-color: {{loginBtnBGColor}}; }"}},"loginBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { font-size: {{loginBtnSize}}; }"}},"loginBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-style: {{loginBtnBorderType}} !important; }"}},"loginBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-width: {{loginBtnBorderWidth}} !important; }"}},"loginBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"loginBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-color: {{loginBtnBorderColor}} !important; }"}},"loginBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { border-radius: {{loginBtnBorderRadius}} !important; }"}},"loginBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button { padding: {{loginBtnPadding}}; }"}},"loginBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { color: {{loginBtnHoverColor}}; }"}},"loginBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { background-color: {{loginBtnHoverBGColor}}; }"}},"loginBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .login.woocommerce-form-login button.button:hover { border-color: {{loginBtnHoverBorderColor}} !important; }"}}}}'),iO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var cO=lO.name,sO=lO.title,uO=lO.description,dO=lO.category,mO=lO.attributes,pO=lO.keywords,gO=lO.supports,fO={title:(0,de.__)(sO,"woolentor"),description:(0,de.__)(uO,"woolentor"),icon:React.createElement(me.Icon,{icon:iO}),keywords:pO,supports:gO,attributes:mO,edit:aO,save:function(){return null}};const bO=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Order Review","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Table Heading","woolentor"),placeholder:(0,de.__)("Your order","woolentor"),value:t.heading,onChange:function(e){return o({heading:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.headingBorderType,options:ln,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Table Heading","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingSize,fallbackFontSize:t.tableHeadingSize,onChange:function(e){return o({tableHeadingSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableHeadingType,options:ln,onChange:function(e){return o({tableHeadingType:e})}}),t.tableHeadingType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableHeadingBorderWidth,attributesKey:"tableHeadingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingBorderColor,onChange:function(e){return o({tableHeadingBorderColor:e})}})))),React.createElement(Yt,{title:(0,de.__)("Table Content","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Table Border Type","woolentor"),value:t.tableBorderType,options:ln,onChange:function(e){return o({tableBorderType:e})}}),t.tableBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Table Border Width","woolentor"),dimensions:t.tableBorderWidth,attributesKey:"tableBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Table Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableBorderColor,onChange:function(e){return o({tableBorderColor:e})}}))),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentSize,fallbackFontSize:t.tableContentSize,onChange:function(e){return o({tableContentSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:ln,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"tableCellBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function yO(e){return yO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},yO(e)}function RO(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_O(r.key),r)}}function _O(e){var t=function(e,t){if("object"!=yO(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=yO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==yO(t)?t:String(t)}function wO(e,t,o){return t=EO(t),function(e,t){if(t&&("object"===yO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,hO()?Reflect.construct(t,o||[],EO(e).constructor):t.apply(e,o))}function hO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(hO=function(){return!!e})()}function EO(e){return EO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},EO(e)}function vO(e,t){return vO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vO(e,t)}var OO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),wO(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&vO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=_O(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-order-review","woolentor_block_checkout_order_review","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(bO,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{heading:t.heading,blockUniqId:i},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&RO(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const PO=OO,CO=JSON.parse('{"name":"woolentor/checkout-order-review","category":"woolentor-checkout","title":"WL : Checkout Order Review","description":"Display Checkout Order Review.","keywords":["woolentor","checkout","order review","checkout order review","order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Your order"},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { padding: {{headingPadding}}!important; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { margin: {{headingMargin}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_order_review #order_review_heading { background-color: {{headingBackgroundColor}}; }"}},"tableHeadingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { font-size: {{tableHeadingSize}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { color: {{tableHeadingColor}}; }"}},"tableHeadingType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-style: {{tableHeadingType}}; }"}},"tableHeadingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-width: {{tableHeadingBorderWidth}}; }"}},"tableHeadingBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableHeadingType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table th { border-color: {{tableHeadingBorderColor}}; }"}},"tableBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-style: {{tableBorderType}}!important; }"}},"tableBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-width: {{tableBorderWidth}}!important; }"}},"tableBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table { border-color: {{tableBorderColor}}!important; }"}},"tableContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { font-size: {{tableContentSize}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table td strong { color: {{tableContentColor}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td,{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tr td, {{WOOLENTOR_WRAPPER}} .woocommerce-checkout-review-order-table tfoot tr th { border-color: {{tableCellBorderColor}}!important; }"}}}}'),BO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 32 32"},React.createElement("path",{fill:"currentColor",d:"M2 22h28v2H2zm0 4h28v2H2zm22-16a2 2 0 1 0 2 2a2 2 0 0 0-2-2zm-8 6a4 4 0 1 1 4-4a4.005 4.005 0 0 1-4 4zm0-6a2 2 0 1 0 2 2a2.002 2.002 0 0 0-2-2zm-8 0a2 2 0 1 0 2 2a2 2 0 0 0-2-2z"}),React.createElement("path",{fill:"currentColor",d:"M28 20H4a2.005 2.005 0 0 1-2-2V6a2.005 2.005 0 0 1 2-2h24a2.005 2.005 0 0 1 2 2v12a2.003 2.003 0 0 1-2 2Zm0-14H4v12h24Z"}));var AO=CO.name,SO=CO.title,WO=CO.description,kO=CO.category,TO=CO.attributes,xO=CO.keywords,LO=CO.supports,NO={title:(0,de.__)(SO,"woolentor"),description:(0,de.__)(WO,"woolentor"),icon:React.createElement(me.Icon,{icon:BO}),keywords:xO,supports:LO,attributes:TO,edit:PO,save:function(){return null}};const zO=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Area","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.areaContentSize,fallbackFontSize:t.areaContentSize,onChange:function(e){return o({areaContentSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaContentColor,onChange:function(e){return o({areaContentColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaContentLinkColor,onChange:function(e){return o({areaContentLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaContentBGColor,onChange:function(e){return o({areaContentBGColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"areaContentAlignment",justified:!0}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.areaContentBorderType,options:ln,onChange:function(e){return o({areaContentBorderType:e})}}),t.areaContentBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.areaContentBorderWidth,attributesKey:"areaContentBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.areaContentBorderColor,onChange:function(e){return o({areaContentBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.areaContentBorderRadius,attributesKey:"areaContentBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaContentPadding,attributesKey:"areaContentPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingTextColor,onChange:function(e){return o({headingTextColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.headingBorderType,options:ln,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.headingBorderRadius,attributesKey:"headingBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBackgroundColor,onChange:function(e){return o({headingBackgroundColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentBGColor,onChange:function(e){return o({contentBGColor:e})}})),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.contentBorderType,options:ln,onChange:function(e){return o({contentBorderType:e})}}),t.contentBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.contentBorderWidth,attributesKey:"contentBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentBorderColor,onChange:function(e){return o({contentBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.contentBorderRadius,attributesKey:"contentBorderRadius",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Place Order Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnColor,onChange:function(e){return o({placeOrderBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnBGColor,onChange:function(e){return o({placeOrderBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.placeOrderBtnSize,fallbackFontSize:t.placeOrderBtnSize,onChange:function(e){return o({placeOrderBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.placeOrderBtnBorderType,options:ln,onChange:function(e){return o({placeOrderBtnBorderType:e})}}),t.placeOrderBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.placeOrderBtnBorderWidth,attributesKey:"placeOrderBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnBorderColor,onChange:function(e){return o({placeOrderBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.placeOrderBtnBorderRadius,attributesKey:"placeOrderBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.placeOrderBtnPadding,attributesKey:"placeOrderBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnHoverColor,onChange:function(e){return o({placeOrderBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnHoverBGColor,onChange:function(e){return o({placeOrderBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.placeOrderBtnHoverBorderColor,onChange:function(e){return o({placeOrderBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function jO(e){return jO="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jO(e)}function IO(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,MO(r.key),r)}}function MO(e){var t=function(e,t){if("object"!=jO(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=jO(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jO(t)?t:String(t)}function FO(e,t,o){return t=DO(t),function(e,t){if(t&&("object"===jO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,HO()?Reflect.construct(t,o||[],DO(e).constructor):t.apply(e,o))}function HO(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(HO=function(){return!!e})()}function DO(e){return DO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},DO(e)}function qO(e,t){return qO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qO(e,t)}var GO=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),FO(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qO(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=MO(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-payment","woolentor_block_checkout_payment","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(zO,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&IO(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const KO=GO,UO=JSON.parse('{"name":"woolentor/checkout-payment","category":"woolentor-checkout","title":"WL : Checkout Payment Method","description":"Display checkout payment method.","keywords":["woolentor","checkout","checkout payment","payment"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"areaContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { font-size: {{areaContentSize}}; }"}},"areaContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { color: {{areaContentColor}}; }"}},"areaContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment a{ color: {{areaContentLinkColor}}; }"}},"areaContentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { background-color: {{areaContentBGColor}}; }"}},"areaContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment p { text-align: {{areaContentAlignment}}; }"}},"areaContentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-style: {{areaContentBorderType}}; }"}},"areaContentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment{ border-width: {{areaContentBorderWidth}}; }"}},"areaContentBorderColor":{"type":"string","style":{"dependency":[[{"key":"areaContentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-color: {{areaContentBorderColor}}; }"}},"areaContentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { border-radius: {{areaContentBorderRadius}}; }"}},"areaContentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment { padding: {{areaContentPadding}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { font-size: {{headingSize}}; }"}},"headingTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .wc_payment_method label { color: {{headingTextColor}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-style: {{headingBorderType}}; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-width: {{headingBorderWidth}}; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-color: {{headingBorderColor}}; }"}},"headingBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { border-radius: {{headingBorderRadius}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { padding: {{headingPadding}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { margin: {{headingMargin}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { text-align: {{headingAlignment}}; }"}},"headingBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment ul.payment_methods.methods li { background-color: {{headingBackgroundColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { font-size: {{contentSize}}; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { color: {{contentColor}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { text-align: {{contentAlignment}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { margin: {{contentMargin}}; }"}},"contentBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { background-color: {{contentBGColor}}; } {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before, {{WOOLENTOR_WRAPPER}} #payment div.payment_box::before{ border-color:transparent transparent {{contentBGColor}} }"}},"contentBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-style: {{contentBorderType}}; }"}},"contentBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-width: {{contentBorderWidth}}; }"}},"contentBorderColor":{"type":"string","style":{"dependency":[[{"key":"contentBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-color: {{contentBorderColor}}; }"}},"contentBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment .payment_box { border-radius: {{contentBorderRadius}}; }"}},"placeOrderBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { color: {{placeOrderBtnColor}}; }"}},"placeOrderBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { background-color: {{placeOrderBtnBGColor}}; }"}},"placeOrderBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { font-size: {{placeOrderBtnSize}}; }"}},"placeOrderBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-style: {{placeOrderBtnBorderType}} !important; }"}},"placeOrderBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-width: {{placeOrderBtnBorderWidth}} !important; }"}},"placeOrderBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"placeOrderBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-color: {{placeOrderBtnBorderColor}} !important; }"}},"placeOrderBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { border-radius: {{placeOrderBtnBorderRadius}} !important; }"}},"placeOrderBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order { padding: {{placeOrderBtnPadding}}; }"}},"placeOrderBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { color: {{placeOrderBtnHoverColor}}; }"}},"placeOrderBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { background-color: {{placeOrderBtnHoverBGColor}}; }"}},"placeOrderBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_payment #payment #place_order:hover { border-color: {{placeOrderBtnHoverBorderColor}} !important; }"}}}}'),QO=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"1.25em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 640 512"},React.createElement("path",{fill:"currentColor",d:"M608 32H32C14.33 32 0 46.33 0 64v384c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM176 327.88V344c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-16.29c-11.29-.58-22.27-4.52-31.37-11.35c-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73c3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19c0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39c0-24.52 19.05-44.44 42.67-45.07V152c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35c3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73c-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19c0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39c0 24.53-19.05 44.44-42.67 45.07zM416 312c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm160 0c0 4.42-3.58 8-8 8h-80c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16zm0-96c0 4.42-3.58 8-8 8H296c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h272c4.42 0 8 3.58 8 8v16z"}));var VO=UO.name,YO=UO.title,ZO=UO.description,JO=UO.category,XO=UO.attributes,$O=UO.keywords,eP=UO.supports,tP={title:(0,de.__)(YO,"woolentor"),description:(0,de.__)(ZO,"woolentor"),icon:React.createElement(me.Icon,{icon:QO}),keywords:$O,supports:eP,attributes:XO,edit:KO,save:function(){return null}};const oP=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Shipping Form","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Title","woolentor"),placeholder:(0,de.__)("Form Title","woolentor"),value:t.formTitle,onChange:function(e){return o({formTitle:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(qt,{name:"inputbox",tabs:["normal","focus"]},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Qt,{name:"focus"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusColor,onChange:function(e){return o({inputBoxFocusColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxFocusBorderColor,onChange:function(e){return o({inputBoxFocusBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function rP(e){return rP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rP(e)}function nP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,aP(r.key),r)}}function aP(e){var t=function(e,t){if("object"!=rP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=rP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rP(t)?t:String(t)}function lP(e,t,o){return t=cP(t),function(e,t){if(t&&("object"===rP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,iP()?Reflect.construct(t,o||[],cP(e).constructor):t.apply(e,o))}function iP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(iP=function(){return!!e})()}function cP(e){return cP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},cP(e)}function sP(e,t){return sP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sP(e,t)}var uP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),lP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=aP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-checkout-shipping-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(oP,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{formTitle:t.formTitle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&nP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const dP=uP,mP=JSON.parse('{"name":"woolentor/checkout-shipping-form","category":"woolentor-checkout","title":"WL : Checkout Shipping Form","description":"Display Checkout Shipping Form.","keywords":["woolentor","checkout form","Shipping form","Shipping field","checkout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"formTitle":{"type":"string","default":"Ship to a different address?"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { color: {{headingColor}}; } {{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading{ border-color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading * { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields > h3,{{WOOLENTOR_WRAPPER}} .woocommerce-shipping-fields .woolentor-field-heading { margin: {{headingMargin}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label abbr { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__rendered,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select { height: {{inputBoxHeight}}px; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single,{{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single .select2-selection__arrow { height: {{inputBoxHeight}}px;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; } {{WOOLENTOR_WRAPPER}} .select2-container--default .select2-selection--single[aria-expanded=\'true\']{outline: 1px solid #005fcc; border: 1px solid transparent;}"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text,{{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection,{{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection .select2-selection__arrow,{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .form-row { margin: {{inputBoxMargin}}!important; }"}},"inputBoxFocusColor":{"type":"string","default":"","style":{"selector":".woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) textarea:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) select:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container .select2-selection:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .select2-container--default .select2-selection--single .select2-selection__rendered:focus,.woocommerce {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .woocommerce-input-wrapper strong:focus { color: {{inputBoxFocusColor}}; }"}},"inputBoxFocusBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) input.input-text:focus, {{WOOLENTOR_WRAPPER}} .form-row select, {{WOOLENTOR_WRAPPER}} .form-row .select2-container .select2-selection:focus, {{WOOLENTOR_WRAPPER}} :is(.woocommerce-shipping-fields) .input-text:focus { border-color: {{inputBoxFocusBorderColor}}; }"}}}}'),pP=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6 10.75a2.25 2.25 0 1 1 4.5 0a2.25 2.25 0 0 1-4.5 0ZM8.25 10a.75.75 0 1 0 0 1.5a.75.75 0 0 0 0-1.5Zm0 4a2.25 2.25 0 1 0 0 4.5a2.25 2.25 0 0 0 0-4.5Zm-.75 2.25a.75.75 0 1 1 1.5 0a.75.75 0 0 1-1.5 0Zm4.5-5.5a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Zm.75 4.75a.75.75 0 0 0 0 1.5h4.5a.75.75 0 0 0 0-1.5h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h10.5a.75.75 0 0 1 0 1.5H6.75A.75.75 0 0 1 6 6.75ZM6.25 3A3.25 3.25 0 0 0 3 6.25v11.5A3.25 3.25 0 0 0 6.25 21h11.5A3.25 3.25 0 0 0 21 17.75V6.25A3.25 3.25 0 0 0 17.75 3H6.25ZM4.5 6.25c0-.966.784-1.75 1.75-1.75h11.5c.966 0 1.75.784 1.75 1.75v11.5a1.75 1.75 0 0 1-1.75 1.75H6.25a1.75 1.75 0 0 1-1.75-1.75V6.25Z"}));var gP=mP.name,fP=mP.category,bP=mP.title,yP=mP.description,RP=mP.keywords,_P=mP.supports,wP=mP.attributes,hP={title:(0,de.__)(bP,"woolentor"),description:(0,de.__)(yP,"woolentor"),icon:React.createElement(me.Icon,{icon:pP}),keywords:RP,supports:_P,attributes:wP,edit:dP,save:function(){return null}};function EP(e){return function(e){if(Array.isArray(e))return OP(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||vP(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function vP(e,t){if(e){if("string"==typeof e)return OP(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?OP(e,t):void 0}}function OP(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const PP=function(e){var t=e.attributes,o=e.setAttributes;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t);var r,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||vP(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,qe.useState)(!1),2),a=n[0],l=n[1],i=function(e,r,n){var a=EP(t.navigationItemList);a[n][r]=e,o({navigationItemList:a})},c=[];if(!Object.keys(woolentorData.myaccountmenu).length>0)c=[{label:(0,de.__)("Dashboard","woolentor"),value:"dashboard"},{label:(0,de.__)("Orders","woolentor"),value:"orders"},{label:(0,de.__)("Downloads","woolentor"),value:"downloads"},{label:(0,de.__)("Addresses","woolentor"),value:"edit-address"},{label:(0,de.__)("Account details","woolentor"),value:"edit-account"},{label:(0,de.__)("Logout","woolentor"),value:"customer-logout"},{label:(0,de.__)("Custom","woolentor"),value:"customadd"}];else{var s=function(e,t){return e.map((function(e){return!0===e.hasOwnProperty(t)?e[t]:""})).filter((function(e){return""!==e}))}(t.navigationItemList,"menuCusKey");for(var u in woolentorData.myaccountmenu)s.includes(u)||c.push({label:(0,de.__)(woolentorData.myaccountmenu[u],"woolentor"),value:u})}return t.navigationItemList.length>0&&(r=t.navigationItemList.map((function(e,r){var n=a===r?"woolentor_active_repeter":"";return React.createElement(qe.Fragment,{key:r},React.createElement("div",{className:"woolentor_repeater-fields"},React.createElement("div",{className:"woolentor_repeater-tools",onClick:function(e){return function(e,t){l(t!==a&&t)}(0,r)}},React.createElement("div",{className:"woolentor_repeater-item-title"},t.navigationItemList[r].menuTitle),React.createElement("div",{className:"woolentor_repeater-item-remove"},React.createElement(me.Button,{className:"woolentor__remove-marker",icon:"no-alt",onClick:function(){return function(e){var r=EP(t.navigationItemList);r.splice(e,1),o({navigationItemList:r})}(r)}}))),React.createElement("div",{className:n+" woolentor_repeater-controls"},React.createElement(me.SelectControl,{label:(0,de.__)("Menu Items","woolentor"),value:t.navigationItemList[r].menuKey,options:c,onChange:function(e){return i(e,"menuKey",r)}}),React.createElement(me.TextControl,{label:(0,de.__)("Menu Title","woolentor"),className:"woolentor__marker-title",placeholder:(0,de.__)("Dashboard","woolentor"),value:t.navigationItemList[r].menuTitle,onChange:function(e){return i(e,"menuTitle",r)}}),"customadd"===t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,React.createElement(me.TextControl,{label:(0,de.__)("Menu Key","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuCusKey,onChange:function(e){return i(e,"menuCusKey",r)}}),React.createElement(me.ToggleControl,{label:(0,de.__)("External URL ?","woolentor"),checked:t.navigationItemList[r].externalUrl,onChange:function(e){return i(e,"externalUrl",r)}}),t.navigationItemList[r].externalUrl&&React.createElement(me.TextControl,{label:(0,de.__)("Menu URL","woolentor"),className:"woolentor__marker-title",value:t.navigationItemList[r].menuUrl,onChange:function(e){return i(e,"menuUrl",r)}})),!0!==t.navigationItemList[r].externalUrl&&React.createElement(me.SelectControl,{label:(0,de.__)("Select Content Source","woolentor"),value:t.navigationItemList[r].contentSource,options:[{label:(0,de.__)("Default","woolentor"),value:"default"},{label:(0,de.__)("Custom","woolentor"),value:"custom"}],onChange:function(e){return i(e,"contentSource",r)}}),"custom"===t.navigationItemList[r].contentSource&&!0!==t.navigationItemList[r].externalUrl&&React.createElement(React.Fragment,null,React.createElement(me.TextareaControl,{label:(0,de.__)("Content","woolentor"),value:t.navigationItemList[r].customContent,onChange:function(e){return i(e,"customContent",r)}})),"customadd"!==t.navigationItemList[r].menuKey&&React.createElement(React.Fragment,null,"default"!==t.navigationItemList[r].contentSource&&React.createElement(me.ToggleControl,{label:(0,de.__)("Remove Default Content","woolentor"),checked:t.navigationItemList[r].contentRemove,onChange:function(e){return i(e,"contentRemove",r)}})))))}))),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.ToggleControl,{label:(0,de.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,de.__)("Show User Info.","woolentor"):(0,de.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(Xo,{title:(0,de.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attribute:"userCustomImage"}),t.userCustomImage.id&&React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"})),r,React.createElement(me.Button,{variant:"secondary",icon:"plus-alt2",onClick:function(){var e=EP(t.navigationItemList);e.push({menuKey:"customadd",menuTitle:(0,de.__)("Menu Item #"+(t.navigationItemList.length+1),"woolentor"),menuCusKey:(0,de.__)("menu-item-"+(t.navigationItemList.length+1),"woolentor"),contentSource:"default"}),o({navigationItemList:e}),l(t.navigationItemList.length)}.bind(void 0)},(0,de.__)("Add Item","woolentor")))),React.createElement(xt,null,t.userInfo&&React.createElement(Yt,{title:(0,de.__)("User Info","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Text Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,de.__)("Link Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(fo,{label:(0,de.__)("Image","woolentor")}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.userImageBorderType,options:ln,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Navigation","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,de.__)("Horizontal Left","woolentor"),value:"hleft"},{label:(0,de.__)("Horizontal Right","woolentor"),value:"hright"},{label:(0,de.__)("Vertical Top","woolentor"),value:"vtop"},{label:(0,de.__)("Vertical Bottom","woolentor"),value:"vbottom"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(ho,{lavel:(0,de.__)("Menu Area Margin","woolentor"),dimensions:t.menuAreaMargin,attributesKey:"menuAreaMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(me.RangeControl,{label:(0,de.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(qt,{name:"navigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.menuBorderType,options:ln,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(me.RangeControl,{label:(0,de.__)("Content Area Width (PX)","woolentor"),value:t.contentAreaWidth,allowReset:!0,onChange:function(e){return o({contentAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.contentMargin,attributesKey:"contentMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.contentPadding,attributesKey:"contentPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function CP(e){return CP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},CP(e)}function BP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,AP(r.key),r)}}function AP(e){var t=function(e,t){if("object"!=CP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=CP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==CP(t)?t:String(t)}function SP(e,t,o){return t=kP(t),function(e,t){if(t&&("object"===CP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,WP()?Reflect.construct(t,o||[],kP(e).constructor):t.apply(e,o))}function WP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(WP=function(){return!!e})()}function kP(e){return kP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kP(e)}function TP(e,t){return TP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},TP(e,t)}var xP=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),SP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&TP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=AP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account","woolentor_block_my_account","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(PP,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,navigationItemList:t.navigationItemList,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&BP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const LP=xP,NP=JSON.parse('{"name":"woolentor/my-account","category":"woolentor-myaccount","title":"WL : My Account","description":"Display My Account.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":true},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"navigationItemList":{"type":"array","default":[{"menuKey":"dashboard","menuTitle":"Dashboard","contentSource":"default"},{"menuKey":"orders","menuTitle":"Orders","contentSource":"default"},{"menuKey":"downloads","menuTitle":"Downloads","contentSource":"default"},{"menuKey":"edit-address","menuTitle":"Addresses","contentSource":"default"},{"menuKey":"edit-account","menuTitle":"Account details","contentSource":"default"},{"menuKey":"customer-logout","menuTitle":"Logout","contentSource":"default"}]},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { margin: {{menuAreaMargin}}; }"}},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation { width: {{menuAreaWidth}}px; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}},"contentAreaWidth":{"type":"number","style":{"dependency":[[{"key":"menuPosition","condition":"==","value":["hleft","hright"]}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { width: {{contentAreaWidth}}px; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content a { color: {{contentLinkColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { font-size: {{contentSize}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { margin: {{contentMargin}}; }"}},"contentPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { padding: {{contentPadding}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account .woocommerce-MyAccount-content { text-align: {{contentAlignment}}; }"}}}}'),zP=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("g",{transform:"rotate(-90 12 12)"},React.createElement("path",{fill:"currentColor",d:"M3 8h19V5q0-.825-.587-1.413Q20.825 3 20 3H5q-.825 0-1.413.587Q3 4.175 3 5Zm5 2H3v9q0 .825.587 1.413Q4.175 21 5 21h3Zm9 0v11h3q.825 0 1.413-.587Q22 19.825 22 19v-9Zm-2 0h-5v11h5Z"})));var jP=NP.name,IP=NP.title,MP=NP.description,FP=NP.category,HP=NP.attributes,DP=NP.keywords,qP=NP.supports,GP={title:(0,de.__)(IP,"woolentor"),description:(0,de.__)(MP,"woolentor"),icon:React.createElement(me.Icon,{icon:zP}),keywords:DP,supports:qP,attributes:HP,edit:LP,save:function(){return null}};const KP=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Top Content","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.topContentColor,onChange:function(e){return o({topContentColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.topContentSize,fallbackFontSize:t.topContentSize,onChange:function(e){return o({topContentSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.topContentMargin,attributesKey:"topContentMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingLinkColor,onChange:function(e){return o({headingLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingLinkHoverColor,onChange:function(e){return o({headingLinkHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Address","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function UP(e){return UP="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},UP(e)}function QP(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,VP(r.key),r)}}function VP(e){var t=function(e,t){if("object"!=UP(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=UP(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==UP(t)?t:String(t)}function YP(e,t,o){return t=JP(t),function(e,t){if(t&&("object"===UP(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ZP()?Reflect.construct(t,o||[],JP(e).constructor):t.apply(e,o))}function ZP(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ZP=function(){return!!e})()}function JP(e){return JP=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},JP(e)}function XP(e,t){return XP=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},XP(e,t)}var $P=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),YP(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&XP(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=VP(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-address","woolentorblock-my-account-address-"+i,"woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(KP,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&QP(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const eC=$P,tC=JSON.parse('{"name":"woolentor/my-account-address","category":"woolentor-myaccount","title":"WL: My Account Address","description":"Display My Account Address.","keywords":["woolentor","My Account","Account","Account address","Address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"topContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { color: {{topContentColor}}; }"}},"topContentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { font-size: {{topContentSize}}; }"}},"topContentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .my-accouunt-form-edit-address p { margin: {{topContentMargin}}; }"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { color: {{headingColor}}; }"}},"headingLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a { color: {{headingLinkColor}}; }"}},"headingLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title a:hover { color: {{headingLinkHoverColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title h3 { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-Address-title { background-color: {{headingBGColor}} !important; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}; }"}}}}'),oC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 11h2.1l6.2-6.2l-2.1-2.1L11 8.9Zm9-6.9l.7-.7q.3-.3.3-.7q0-.4-.3-.7l-.7-.7q-.3-.3-.7-.3q-.4 0-.7.3l-.7.7ZM12 22q-4.025-3.425-6.012-6.363Q4 12.7 4 10.2q0-3.75 2.413-5.975Q8.825 2 12 2q.675 0 1.338.112q.662.113 1.287.313L13 4.075q-.25-.05-.488-.063Q12.275 4 12 4Q9.475 4 7.737 5.737Q6 7.475 6 10.2q0 1.775 1.475 4.062Q8.95 16.55 12 19.35q3.05-2.8 4.525-5.088Q18 11.975 18 10.2q0-.3-.025-.588q-.025-.287-.075-.562l1.65-1.65q.225.65.338 1.35q.112.7.112 1.45q0 2.5-1.987 5.437Q16.025 18.575 12 22Zm.775-11.125Z"}));var rC=tC.name,nC=tC.title,aC=tC.description,lC=tC.category,iC=tC.attributes,cC=tC.keywords,sC=tC.supports,uC={title:(0,de.__)(nC,"woolentor"),description:(0,de.__)(aC,"woolentor"),icon:React.createElement(me.Icon,{icon:oC}),keywords:cC,supports:sC,attributes:iC,edit:eC,save:function(){return null}};const dC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Content","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentColor,onChange:function(e){return o({contentColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentLinkColor,onChange:function(e){return o({contentLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.contentLinkHoverColor,onChange:function(e){return o({contentLinkHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Text Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.contentSize,fallbackFontSize:t.contentSize,onChange:function(e){return o({contentSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"contentAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function mC(e){return mC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},mC(e)}function pC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,gC(r.key),r)}}function gC(e){var t=function(e,t){if("object"!=mC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=mC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mC(t)?t:String(t)}function fC(e,t,o){return t=yC(t),function(e,t){if(t&&("object"===mC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,bC()?Reflect.construct(t,o||[],yC(e).constructor):t.apply(e,o))}function bC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(bC=function(){return!!e})()}function yC(e){return yC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yC(e)}function RC(e,t){return RC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},RC(e,t)}var _C=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),fC(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&RC(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=gC(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-dashboard","woolentor_block_my_account_dashboard","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(dC,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&pC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const wC=_C,hC=JSON.parse('{"name":"woolentor/my-account-dashboard","category":"woolentor-myaccount","title":"WL: My Account Dashboard","description":"Display My Account dashboard.","keywords":["woolentor","My Account","Account","Account dashboard","Dashboard content","Dashboard"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { color: {{contentColor}}; }"}},"contentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a { color: {{contentLinkColor}}; }"}},"contentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard a:hover { color: {{contentLinkHoverColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { font-size: {{contentSize}}; }"}},"contentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_dashboard { text-align: {{contentAlignment}}; }"}}}}'),EC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Zm5-2v-6H5v6Zm2 0h7v-6h-7Zm-7-8h14V5H5Z"}));var vC=hC.name,OC=hC.title,PC=hC.description,CC=hC.category,BC=hC.attributes,AC=hC.keywords,SC=hC.supports,WC={title:(0,de.__)(OC,"woolentor"),description:(0,de.__)(PC,"woolentor"),icon:React.createElement(me.Icon,{icon:EC}),keywords:AC,supports:SC,attributes:BC,edit:wC,save:function(){return null}};const kC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["general","advanced"]}),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("My Account Download","woolentor")},React.createElement("p",null,(0,de.__)("My Account Download","woolentor")))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function TC(e){return TC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},TC(e)}function xC(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,LC(r.key),r)}}function LC(e){var t=function(e,t){if("object"!=TC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=TC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==TC(t)?t:String(t)}function NC(e,t,o){return t=jC(t),function(e,t){if(t&&("object"===TC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,zC()?Reflect.construct(t,o||[],jC(e).constructor):t.apply(e,o))}function zC(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(zC=function(){return!!e})()}function jC(e){return jC=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},jC(e)}function IC(e,t){return IC=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},IC(e,t)}var MC=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),NC(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&IC(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=LC(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-download","woolentorblock-my-account-download-"+i,"woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(kC,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&xC(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const FC=MC,HC=JSON.parse('{"name":"woolentor/my-account-download","category":"woolentor-myaccount","title":"WL: My Account Download","description":"Display My Account Download.","keywords":["woolentor","My Account","Account","Account download","Dashboard download","download"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}}}}'),DC=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M6.5 20q-2.275 0-3.887-1.575Q1 16.85 1 14.575q0-1.95 1.175-3.475Q3.35 9.575 5.25 9.15q.425-1.8 2.125-3.425Q9.075 4.1 11 4.1q.825 0 1.413.587Q13 5.275 13 6.1v6.05l1.6-1.55L16 12l-4 4l-4-4l1.4-1.4l1.6 1.55V6.1q-1.9.35-2.95 1.837Q7 9.425 7 11h-.5q-1.45 0-2.475 1.025Q3 13.05 3 14.5q0 1.45 1.025 2.475Q5.05 18 6.5 18h12q1.05 0 1.775-.725Q21 16.55 21 15.5q0-1.05-.725-1.775Q19.55 13 18.5 13H17v-2q0-1.2-.55-2.238Q15.9 7.725 15 7V4.675q1.85.875 2.925 2.588Q19 8.975 19 11q1.725.2 2.863 1.487Q23 13.775 23 15.5q0 1.875-1.312 3.188Q20.375 20 18.5 20Zm5.5-8.95Z"}));var qC=HC.name,GC=HC.title,KC=HC.description,UC=HC.category,QC=HC.attributes,VC=HC.keywords,YC=HC.supports,ZC={title:(0,de.__)(GC,"woolentor"),description:(0,de.__)(KC,"woolentor"),icon:React.createElement(me.Icon,{icon:DC}),keywords:VC,supports:YC,attributes:QC,edit:FC,save:function(){return null}};const JC=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Fieldset","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.fieldsetColor,onChange:function(e){return o({fieldsetColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.fieldsetBorderColor,onChange:function(e){return o({fieldsetBorderColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function XC(e){return XC="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},XC(e)}function $C(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,eB(r.key),r)}}function eB(e){var t=function(e,t){if("object"!=XC(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=XC(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==XC(t)?t:String(t)}function tB(e,t,o){return t=rB(t),function(e,t){if(t&&("object"===XC(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oB()?Reflect.construct(t,o||[],rB(e).constructor):t.apply(e,o))}function oB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(oB=function(){return!!e})()}function rB(e){return rB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rB(e)}function nB(e,t){return nB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nB(e,t)}var aB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),tB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&nB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=eB(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-edit","woolentorblock-my-account-edit-"+i,"woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(JC,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&$C(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const lB=aB,iB=JSON.parse('{"name":"woolentor/my-account-edit","category":"woolentor-myaccount","title":"WL: My Account Edit","description":"Display My Account Edit.","keywords":["woolentor","My Account","Account","Account edit","Edit Account","edit"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm label { margin: {{labelMargin}}; }"}},"fieldsetColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { color: {{fieldsetColor}}; }"}},"fieldsetBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm fieldset { border-color: {{fieldsetBorderColor}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm input { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-EditAccountForm .woocommerce-Button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),cB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M5 22q-.825 0-1.413-.587Q3 20.825 3 20V6q0-.825.587-1.412Q4.175 4 5 4h1V2h2v2h8V2h2v2h1q.825 0 1.413.588Q21 5.175 21 6v6h-2v-2H5v10h7v2Zm17.125-5L20 14.875l.725-.725q.275-.275.7-.275q.425 0 .7.275l.725.725q.275.275.275.7q0 .425-.275.7ZM14 23v-2.125l5.3-5.3l2.125 2.125l-5.3 5.3ZM5 8h14V6H5Zm0 0V6v2Z"}));var sB=iB.name,uB=iB.title,dB=iB.description,mB=iB.category,pB=iB.attributes,gB=iB.keywords,fB=iB.supports,bB={title:(0,de.__)(uB,"woolentor"),description:(0,de.__)(dB,"woolentor"),icon:React.createElement(me.Icon,{icon:cB}),keywords:gB,supports:fB,attributes:pB,edit:lB,save:function(){return null}};const yB=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Heading","woolentor"),value:t.heading,placeholder:(0,de.__)("Login","woolentor"),onChange:function(e){return o({heading:e})}}))),React.createElement(xt,null,t.heading&&React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:ln,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}}))))),React.createElement(Yt,{title:(0,de.__)("Lost Password","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.lostPassColor,onChange:function(e){return o({lostPassColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.lostPassHoverColor,onChange:function(e){return o({lostPassHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.lostPassSize,fallbackFontSize:t.lostPassSize,onChange:function(e){return o({lostPassSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.lostPassMargin,attributesKey:"lostPassMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function RB(e){return RB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},RB(e)}function _B(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,wB(r.key),r)}}function wB(e){var t=function(e,t){if("object"!=RB(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=RB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==RB(t)?t:String(t)}function hB(e,t,o){return t=vB(t),function(e,t){if(t&&("object"===RB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,EB()?Reflect.construct(t,o||[],vB(e).constructor):t.apply(e,o))}function EB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(EB=function(){return!!e})()}function vB(e){return vB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vB(e)}function OB(e,t){return OB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},OB(e,t)}var PB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),hB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&OB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=wB(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-login-form","woolentor_block_my_account_login_form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(yB,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&_B(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const CB=PB,BB=JSON.parse('{"name":"woolentor/my-account-login-form","category":"woolentor-myaccount","title":"WL: My Account Login Form","description":"Display My Account Login Form.","keywords":["woolentor","My Account","Account","Account login","Login Form","login"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Login"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login h2 { margin: {{headingMargin}}; }"}},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login form.woocommerce-form-login .form-row { margin: {{inputBoxMargin}}!important; }"}},"lostPassColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { color: {{lostPassColor}}; }"}},"lostPassHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a:hover { color: {{lostPassHoverColor}}; }"}},"lostPassSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { font-size: {{lostPassSize}}; }"}},"lostPassMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login .lost_password a { margin: {{lostPassMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-login button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),AB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M9 2h9c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H9c-1.1 0-2-.9-2-2v-2h2v2h9V4H9v2H7V4c0-1.1.9-2 2-2z"}),React.createElement("path",{fill:"currentColor",d:"M10.09 15.59L11.5 17l5-5l-5-5l-1.41 1.41L12.67 11H3v2h9.67z"}));var SB=BB.name,WB=BB.title,kB=BB.description,TB=BB.category,xB=BB.attributes,LB=BB.keywords,NB=BB.supports,zB={title:(0,de.__)(WB,"woolentor"),description:(0,de.__)(kB,"woolentor"),icon:React.createElement(me.Icon,{icon:AB}),keywords:LB,supports:NB,attributes:xB,edit:CB,save:function(){return null}};const jB=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Label","woolentor"),value:t.buttonLabel,placeholder:(0,de.__)("Logout","woolentor"),onChange:function(e){return o({buttonLabel:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Style","woolentor"),initialOpen:!0},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnColor,onChange:function(e){return o({logoutBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnBGColor,onChange:function(e){return o({logoutBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.logoutBtnSize,fallbackFontSize:t.logoutBtnSize,onChange:function(e){return o({logoutBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.logoutBtnBorderType,options:ln,onChange:function(e){return o({logoutBtnBorderType:e})}}),t.logoutBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.logoutBtnBorderWidth,attributesKey:"logoutBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnBorderColor,onChange:function(e){return o({logoutBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.logoutBtnBorderRadius,attributesKey:"logoutBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.logoutBtnPadding,attributesKey:"logoutBtnPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"logoutAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnHoverColor,onChange:function(e){return o({logoutBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnHoverBGColor,onChange:function(e){return o({logoutBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.logoutBtnHoverBorderColor,onChange:function(e){return o({logoutBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function IB(e){return IB="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},IB(e)}function MB(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,FB(r.key),r)}}function FB(e){var t=function(e,t){if("object"!=IB(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=IB(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==IB(t)?t:String(t)}function HB(e,t,o){return t=qB(t),function(e,t){if(t&&("object"===IB(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,DB()?Reflect.construct(t,o||[],qB(e).constructor):t.apply(e,o))}function DB(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(DB=function(){return!!e})()}function qB(e){return qB=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qB(e)}function GB(e,t){return GB=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},GB(e,t)}var KB=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),HB(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&GB(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=FB(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-logout","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(jB,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&MB(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const UB=KB,QB=JSON.parse('{"name":"woolentor/my-account-logout","category":"woolentor-myaccount","title":"WL: My Account Logout","description":"Display My Account logout.","keywords":["woolentor","My Account","Account","Account logout","logout"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonLabel":{"type":"string"},"logoutBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { color: {{logoutBtnColor}}; }"}},"logoutBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { background-color: {{logoutBtnBGColor}}; }"}},"logoutBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { font-size: {{logoutBtnSize}}; }"}},"logoutBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-style: {{logoutBtnBorderType}} !important; }"}},"logoutBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"logoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-width: {{logoutBtnBorderWidth}} !important; }"}},"logoutBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"logoutBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-color: {{logoutBtnBorderColor}} !important; }"}},"logoutBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { border-radius: {{logoutBtnBorderRadius}} !important; }"}},"logoutBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a { padding: {{logoutBtnPadding}}; }"}},"logoutAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout{ text-align: {{logoutAlignment}}; }"}},"logoutBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover{ color: {{logoutBtnHoverColor}}; }"}},"logoutBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover { background-color: {{logoutBtnHoverBGColor}}; }"}},"logoutBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-customer-logout a:hover { border-color: {{logoutBtnHoverBorderColor}} !important; }"}}}}'),VB=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M15.325 16.275q-.275-.325-.275-.738q0-.412.275-.687l1.85-1.85H10q-.425 0-.712-.288Q9 12.425 9 12t.288-.713Q9.575 11 10 11h7.175l-1.85-1.85q-.3-.3-.3-.712q0-.413.3-.713q.275-.3.688-.3q.412 0 .687.275l3.6 3.6q.15.15.213.325q.062.175.062.375t-.062.375q-.063.175-.213.325l-3.6 3.6q-.325.325-.712.287q-.388-.037-.663-.312ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h6q.425 0 .713.287Q12 3.575 12 4t-.287.712Q11.425 5 11 5H5v14h6q.425 0 .713.288q.287.287.287.712t-.287.712Q11.425 21 11 21Z"}));var YB=QB.name,ZB=QB.title,JB=QB.description,XB=QB.category,$B=QB.attributes,eA=QB.keywords,tA=QB.supports,oA={title:(0,de.__)(ZB,"woolentor"),description:(0,de.__)(JB,"woolentor"),icon:React.createElement(me.Icon,{icon:VB}),keywords:eA,supports:tA,attributes:$B,edit:UB,save:function(){return null}};const rA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Email Box Label","woolentor"),value:t.emailBoxLabel,placeholder:(0,de.__)("Username or email","woolentor"),onChange:function(e){return o({emailBoxLabel:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Reset Button Label","woolentor"),value:t.resetButtonLabel,placeholder:(0,de.__)("Reset password","woolentor"),onChange:function(e){return o({resetButtonLabel:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:ln,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function nA(e){return nA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nA(e)}function aA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lA(r.key),r)}}function lA(e){var t=function(e,t){if("object"!=nA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=nA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nA(t)?t:String(t)}function iA(e,t,o){return t=sA(t),function(e,t){if(t&&("object"===nA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cA()?Reflect.construct(t,o||[],sA(e).constructor):t.apply(e,o))}function cA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(cA=function(){return!!e})()}function sA(e){return sA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sA(e)}function uA(e,t){return uA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uA(e,t)}var dA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),iA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=lA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-lost-password","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(rA,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{emailBoxLabel:t.emailBoxLabel,resetButtonLabel:t.resetButtonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&aA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const mA=dA,pA=JSON.parse('{"name":"woolentor/my-account-lost-password","category":"woolentor-myaccount","title":"WL: My Account Lost Password Form","description":"Display My Account Lost Password Form.","keywords":["woolentor","My Account Lost","Lost Password","Account Lost","Password Lost","Password"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"emailBoxLabel":{"type":"string"},"resetButtonLabel":{"type":"string"},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { color: {{labelColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword .submit-button-row { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),gA=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M4 20q-.825 0-1.412-.587Q2 18.825 2 18V6q0-.825.588-1.412Q3.175 4 4 4h16q.825 0 1.413.588Q22 5.175 22 6v4h-2V8l-8 5l-8-5v10h12v2Zm8-9l8-5H4Zm-8 7V6v12Zm15 2q-.425 0-.712-.288Q18 19.425 18 19v-3q0-.425.288-.713Q18.575 15 19 15v-1q0-.825.587-1.413Q20.175 12 21 12q.825 0 1.413.587Q23 13.175 23 14v1q.425 0 .712.287q.288.288.288.713v3q0 .425-.288.712Q23.425 20 23 20Zm1-5h2v-1q0-.425-.288-.713Q21.425 13 21 13t-.712.287Q20 13.575 20 14Z"}));var fA=pA.name,bA=pA.title,yA=pA.description,RA=pA.category,_A=pA.attributes,wA=pA.keywords,hA=pA.supports,EA={title:(0,de.__)(bA,"woolentor"),description:(0,de.__)(yA,"woolentor"),icon:React.createElement(me.Icon,{icon:gA}),keywords:wA,supports:hA,attributes:_A,edit:mA,save:function(){return null}};const vA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.ToggleControl,{label:(0,de.__)("User Info","woolentor"),checked:t.userInfo,help:t.userInfo?(0,de.__)("Show User Info.","woolentor"):(0,de.__)("Toggle to show the user info.","woolentor"),onChange:function(){return o({userInfo:!t.userInfo})}}),t.userInfo&&React.createElement(React.Fragment,null,React.createElement(Xo,{title:(0,de.__)("User Custom image","woolentor"),ImageData:t.userCustomImage,attribute:"userCustomImage"}),t.userCustomImage.id&&React.createElement(nn,{label:(0,de.__)("Image Size","woolentor"),attribute:"imageSize"})))),React.createElement(xt,null,t.userInfo&&React.createElement(Yt,{title:(0,de.__)("User Info","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoTextColor,onChange:function(e){return o({userInfoTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoLinkColor,onChange:function(e){return o({userInfoLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userInfoLinkHoverColor,onChange:function(e){return o({userInfoLinkHoverColor:e})}})),React.createElement("h3",null,(0,de.__)("Text Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoTextSize,fallbackFontSize:t.userInfoTextSize,onChange:function(e){return o({userInfoTextSize:e})}}),React.createElement("h3",null,(0,de.__)("Link Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.userInfoLinkSize,fallbackFontSize:t.userInfoLinkSize,onChange:function(e){return o({userInfoLinkSize:e})}}),React.createElement(fo,{label:(0,de.__)("Image","woolentor")}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.userImageBorderType,options:ln,onChange:function(e){return o({userImageBorderType:e})}}),t.userImageBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.userImaggeBorderWidth,attributesKey:"userImaggeBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.userImageBorderColor,onChange:function(e){return o({userImageBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.userImageBorderRadius,attributesKey:"userImageBorderRadius",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"userInfoAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Navigation","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Position","woolentor"),value:t.menuPosition,options:[{label:(0,de.__)("Horizontal","woolentor"),value:"horizontal"},{label:(0,de.__)("Vertical","woolentor"),value:"vertical"}],onChange:function(e){return o({menuPosition:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"menuAlignment",justified:!0}),("hleft"==t.menuPosition||"hright"==t.menuPosition)&&React.createElement(me.RangeControl,{label:(0,de.__)("Menu Area Width (PX)","woolentor"),value:t.menuAreaWidth,allowReset:!0,onChange:function(e){return o({menuAreaWidth:e})},min:0,step:1,max:1e3}),React.createElement(qt,{name:"navigation"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuColor,onChange:function(e){return o({menuColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuBGColor,onChange:function(e){return o({menuBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.menuSize,fallbackFontSize:t.menuSize,onChange:function(e){return o({menuSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.menuPadding,attributesKey:"menuPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.menuMargin,attributesKey:"menuMargin",setAttributes:o}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.menuBorderType,options:ln,onChange:function(e){return o({menuBorderType:e})}}),t.menuBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.menuBorderWidth,attributesKey:"menuBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuBorderColor,onChange:function(e){return o({menuBorderColor:e})}})))),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuActiveColor,onChange:function(e){return o({menuActiveColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.menuActiveBGColor,onChange:function(e){return o({menuActiveBGColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function OA(e){return OA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},OA(e)}function PA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,CA(r.key),r)}}function CA(e){var t=function(e,t){if("object"!=OA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=OA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==OA(t)?t:String(t)}function BA(e,t,o){return t=SA(t),function(e,t){if(t&&("object"===OA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,AA()?Reflect.construct(t,o||[],SA(e).constructor):t.apply(e,o))}function AA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(AA=function(){return!!e})()}function SA(e){return SA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},SA(e)}function WA(e,t){return WA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},WA(e,t)}var kA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),BA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&WA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=CA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-navigation","woolentor_block_my_account_navigation","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(vA,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{userInfo:t.userInfo,imageSize:t.imageSize,userCustomImage:t.userCustomImage,menuPosition:t.menuPosition},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&PA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const TA=kA,xA=JSON.parse('{"name":"woolentor/my-account-navigation","category":"woolentor-myaccount","title":"WL: My Account Navigation","description":"Display My Account Menu.","keywords":["woolentor","My Account","Account","Account Menu","My Account Menu","My Account Navigation"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"userInfo":{"type":"boolean","default":false},"userCustomImage":{"type":"object","default":{"id":null,"url":""}},"imageSize":{"type":"string","default":"thumbnail"},"userInfoTextColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-info { color: {{userInfoTextColor}}; }"}},"userInfoLinkColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a { color: {{userInfoLinkColor}}; }"}},"userInfoLinkHoverColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout a:hover { color: {{userInfoLinkHoverColor}}; }"}},"userInfoTextSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-username { font-size: {{userInfoTextSize}}; }"}},"userInfoLinkSize":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-logout { font-size: {{userInfoLinkSize}}; }"}},"userImageBorderType":{"type":"string","default":"","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-style: {{userImageBorderType}}; }"}},"userImaggeBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-width: {{userImaggeBorderWidth}}; }"}},"userImageBorderColor":{"type":"string","style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false},{"key":"userImageBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-color: {{userImageBorderColor}}; }"}},"userImageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"userInfo","condition":"!=","value":false}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-image img { border-radius: {{userImageBorderRadius}}!important; }"}},"userInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woolentor-user-area { justify-content: {{userInfoAlignment}}; }"}},"menuPosition":{"type":"string","default":"hleft"},"menuAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation { text-align: {{menuAlignment}}; }"}},"menuColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { color: {{menuColor}}; }"}},"menuBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { background-color: {{menuBGColor}}; }"}},"menuSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li a { font-size: {{menuSize}}; }"}},"menuPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { padding: {{menuPadding}}; }"}},"menuMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { margin: {{menuMargin}}; }"}},"menuBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-style: {{menuBorderType}}; }"}},"menuBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-width: {{menuBorderWidth}}; }"}},"menuBorderColor":{"type":"string","style":{"dependency":[[{"key":"menuBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li { border-color: {{menuBorderColor}}; }"}},"menuActiveColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a { color: {{menuActiveColor}}; }"}},"menuActiveBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li.is-active a,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover,{{WOOLENTOR_WRAPPER}}.woolentor_block_my_account_navigation .woocommerce-MyAccount-navigation ul li:hover a { background-color: {{menuActiveBGColor}}; }"}}}}'),LA=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M3 18v-2h18v2Zm0-5v-2h18v2Zm0-5V6h18v2Z"}));var NA=xA.name,zA=xA.title,jA=xA.description,IA=xA.category,MA=xA.attributes,FA=xA.keywords,HA=xA.supports,DA={title:(0,de.__)(zA,"woolentor"),description:(0,de.__)(jA,"woolentor"),icon:React.createElement(me.Icon,{icon:LA}),keywords:FA,supports:HA,attributes:MA,edit:TA,save:function(){return null}};const qA=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.headingBorderType,options:ln,onChange:function(e){return o({headingBorderType:e})}}),t.headingBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.headingBorderWidth,attributesKey:"headingBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBorderColor,onChange:function(e){return o({headingBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Table Cell","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellColor,onChange:function(e){return o({tableCellColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellLinkColor,onChange:function(e){return o({tableCellLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellLinkHoverColor,onChange:function(e){return o({tableCellLinkHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBGColor,onChange:function(e){return o({tableCellBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableCellSize,fallbackFontSize:t.tableCellSize,onChange:function(e){return o({tableCellSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.tableCellBorderType,options:ln,onChange:function(e){return o({tableCellBorderType:e})}}),t.tableCellBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.tableCellBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableCellBorderColor,onChange:function(e){return o({tableCellBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tableCellPadding,attributesKey:"tableCellPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableCellAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Action Button","woolentor"),initialOpen:!1},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor"),initialOpen:!1},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor"),initialOpen:!1},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function GA(e){return GA="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GA(e)}function KA(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,UA(r.key),r)}}function UA(e){var t=function(e,t){if("object"!=GA(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=GA(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==GA(t)?t:String(t)}function QA(e,t,o){return t=YA(t),function(e,t){if(t&&("object"===GA(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,VA()?Reflect.construct(t,o||[],YA(e).constructor):t.apply(e,o))}function VA(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(VA=function(){return!!e})()}function YA(e){return YA=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},YA(e)}function ZA(e,t){return ZA=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZA(e,t)}var JA=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),QA(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZA(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=UA(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-order","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(qA,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&KA(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const XA=JA,$A=JSON.parse('{"name":"woolentor/my-account-order","category":"woolentor-myaccount","title":"WL: My Account Order","description":"Display My Account Order.","keywords":["woolentor","My Account","Account","Account order","Order"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { color: {{headingColor}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { background-color: {{headingBGColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { font-size: {{headingSize}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { padding: {{headingPadding}}; }"}},"headingBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-style: {{headingBorderType}}!important; }"}},"headingBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-width: {{headingBorderWidth}}!important; }"}},"headingBorderColor":{"type":"string","style":{"dependency":[[{"key":"headingBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { border-color: {{headingBorderColor}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .shop_table thead th { text-align: {{headingAlignment}}; }"}},"tableCellColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { color: {{tableCellColor}}; }"}},"tableCellLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a { color: {{tableCellLinkColor}}; }"}},"tableCellLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a:hover { color: {{tableCellLinkHoverColor}}; }"}},"tableCellBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { background-color: {{tableCellBGColor}}; }"}},"tableCellSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { font-size: {{tableCellSize}}; }"}},"tableCellBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-style: {{tableCellBorderType}}!important; }"}},"tableCellBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-width: {{tableCellBorderWidth}}!important; }"}},"tableCellBorderColor":{"type":"string","style":{"dependency":[[{"key":"tableCellBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { border-color: {{tableCellBorderColor}}!important; }"}},"tableCellPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { padding: {{tableCellPadding}}; }"}},"tableCellAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell { text-align: {{tableCellAlignment}}; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next { padding: {{submitBtnPadding}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-orders-table tr.woocommerce-orders-table__row td.woocommerce-orders-table__cell a.woocommerce-button:hover,.woocommerce {{WOOLENTOR_WRAPPER}} .woocommerce-button--next:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),eS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M19 19v-3H5v3h14Zm0-5v-4H5v4h14Zm0-6V5H5v3h14ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Z"}));var tS=$A.name,oS=$A.title,rS=$A.description,nS=$A.category,aS=$A.attributes,lS=$A.keywords,iS=$A.supports,cS={title:(0,de.__)(oS,"woolentor"),description:(0,de.__)(rS,"woolentor"),icon:React.createElement(me.Icon,{icon:eS}),keywords:lS,supports:iS,attributes:aS,edit:XA,save:function(){return null}};const sS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Heading","woolentor"),value:t.heading,placeholder:(0,de.__)("Login","woolentor"),onChange:function(e){return o({heading:e})}}))),React.createElement(xt,null,t.heading&&React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:ln,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function uS(e){return uS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uS(e)}function dS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,mS(r.key),r)}}function mS(e){var t=function(e,t){if("object"!=uS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=uS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==uS(t)?t:String(t)}function pS(e,t,o){return t=fS(t),function(e,t){if(t&&("object"===uS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,gS()?Reflect.construct(t,o||[],fS(e).constructor):t.apply(e,o))}function gS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gS=function(){return!!e})()}function fS(e){return fS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fS(e)}function bS(e,t){return bS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bS(e,t)}var yS=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),pS(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=mS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-register-form","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(sS,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{heading:t.heading},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&dS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const RS=yS,_S=JSON.parse('{"name":"woolentor/my-account-register-form","category":"woolentor-myaccount","title":"WL: My Account Register Form","description":"Display My Account Register Form.","keywords":["woolentor","My Account","Account","Account register","Register Form","register"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"heading":{"type":"string","default":"Register"},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { color:{{headingColor}} }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { font-size: {{headingSize}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { text-align: {{headingAlignment}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register h2 { margin: {{headingMargin}}; }"}},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row label { margin: {{labelMargin}}; }"}},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register form.woocommerce-form-register .woocommerce-FormRow { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-register button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),wS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11 15h6v2h-6v-2M9 7H7v2h2V7m2 6h6v-2h-6v2m0-4h6V7h-6v2m-2 2H7v2h2v-2m12-6v14c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2m-2 0H5v14h14V5M9 15H7v2h2v-2Z"}));var hS=_S.name,ES=_S.title,vS=_S.description,OS=_S.category,PS=_S.attributes,CS=_S.keywords,BS=_S.supports,AS={title:(0,de.__)(ES,"woolentor"),description:(0,de.__)(vS,"woolentor"),icon:React.createElement(me.Icon,{icon:wS}),keywords:CS,supports:BS,attributes:PS,edit:RS,save:function(){return null}};const SS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("New Password Box Label","woolentor"),value:t.newPasswordBoxLabel,placeholder:(0,de.__)("New Password","woolentor"),onChange:function(e){return o({newPasswordBoxLabel:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Re-Enter New Password Box Label","woolentor"),value:t.confirmPasswordBoxLabel,placeholder:(0,de.__)("Re-enter new password","woolentor"),onChange:function(e){return o({confirmPasswordBoxLabel:e})}}),React.createElement(me.TextControl,{label:(0,de.__)("Button Label","woolentor"),value:t.buttonLabel,placeholder:(0,de.__)("Save","woolentor"),onChange:function(e){return o({buttonLabel:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Form Area","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.formAreaBorderType,options:ln,onChange:function(e){return o({formAreaBorderType:e})}}),t.formAreaBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.formAreaBorderWidth,attributesKey:"formAreaBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.formAreaBorderColor,onChange:function(e){return o({formAreaBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.formAreaBorderRadius,attributesKey:"formAreaBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.formAreaMargin,attributesKey:"formAreaMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.formAreaPadding,attributesKey:"formAreaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement(co,{label:(0,de.__)("Required Start Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelRequiredColor,onChange:function(e){return o({labelRequiredColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Input Box","woolentor")},React.createElement(me.SelectControl,{label:(0,de.__)("Layout","woolentor"),value:t.inputBoxLayout,options:[{label:(0,de.__)("Inline","woolentor"),value:"inline"},{label:(0,de.__)("Block","woolentor"),value:"block"}],onChange:function(e){return o({inputBoxLayout:e})}}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBGColor,onChange:function(e){return o({inputBoxBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxColor,onChange:function(e){return o({inputBoxColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.inputBoxSize,fallbackFontSize:t.inputBoxSize,onChange:function(e){return o({inputBoxSize:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Field Height (PX)","woolentor"),value:t.inputBoxHeight,allowReset:!0,onChange:function(e){return o({inputBoxHeight:e})},min:0,step:1,max:500}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.inputBoxBorderType,options:ln,onChange:function(e){return o({inputBoxBorderType:e})}}),t.inputBoxBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.inputBoxBorderWidth,attributesKey:"inputBoxBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.inputBoxBorderColor,onChange:function(e){return o({inputBoxBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.inputBoxBorderRadius,attributesKey:"inputBoxBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.inputBoxPadding,attributesKey:"inputBoxPadding",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.inputBoxMargin,attributesKey:"inputBoxMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Button","woolentor")},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnColor,onChange:function(e){return o({submitBtnColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBGColor,onChange:function(e){return o({submitBtnBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.submitBtnSize,fallbackFontSize:t.submitBtnSize,onChange:function(e){return o({submitBtnSize:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Border Type","woolentor"),value:t.submitBtnBorderType,options:ln,onChange:function(e){return o({submitBtnBorderType:e})}}),t.submitBtnBorderType&&React.createElement(React.Fragment,null,React.createElement(ho,{lavel:(0,de.__)("Border Width","woolentor"),dimensions:t.submitBtnBorderWidth,attributesKey:"submitBtnBorderWidth",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnBorderColor,onChange:function(e){return o({submitBtnBorderColor:e})}}))),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.submitBtnBorderRadius,attributesKey:"submitBtnBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.submitBtnPadding,attributesKey:"submitBtnPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"buttonAlignment",justified:!0})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverColor,onChange:function(e){return o({submitBtnHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBGColor,onChange:function(e){return o({submitBtnHoverBGColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.submitBtnHoverBorderColor,onChange:function(e){return o({submitBtnHoverBorderColor:e})}})))))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function WS(e){return WS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WS(e)}function kS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,TS(r.key),r)}}function TS(e){var t=function(e,t){if("object"!=WS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=WS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WS(t)?t:String(t)}function xS(e,t,o){return t=NS(t),function(e,t){if(t&&("object"===WS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,LS()?Reflect.construct(t,o||[],NS(e).constructor):t.apply(e,o))}function LS(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(LS=function(){return!!e})()}function NS(e){return NS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},NS(e)}function zS(e,t){return zS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zS(e,t)}var jS=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),xS(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zS(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=TS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-my-account-reset-password","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(SS,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{newPasswordBoxLabel:t.newPasswordBoxLabel,confirmPasswordBoxLabel:t.confirmPasswordBoxLabel,inputBoxLayout:t.inputBoxLayout,buttonLabel:t.buttonLabel},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&kS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const IS=jS,MS=JSON.parse('{"name":"woolentor/my-account-reset-password","category":"woolentor-myaccount","title":"WL: My Account Reset Password Form","description":"Display My Account Reset Password Form.","keywords":["woolentor","My Account Lost","Reset Password","Account Reset","Password Reset","Password"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"newPasswordBoxLabel":{"type":"string","default":"New Password"},"confirmPasswordBoxLabel":{"type":"string","default":"Re-enter new password"},"buttonLabel":{"type":"string","default":"Save"},"formAreaBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-style: {{formAreaBorderType}} !important; }"}},"formAreaBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-width: {{formAreaBorderWidth}} !important; }"}},"formAreaBorderColor":{"type":"string","style":{"dependency":[[{"key":"formAreaBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-color: {{formAreaBorderColor}} !important; }"}},"formAreaBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { border-radius: {{formAreaBorderRadius}} !important; }"}},"formAreaMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { margin: {{formAreaMargin}}; }"}},"formAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword { padding: {{formAreaPadding}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { color: {{labelColor}}; }"}},"labelRequiredColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword label .required { color: {{labelRequiredColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row label { margin: {{labelMargin}}; }"}},"inputBoxLayout":{"type":"string","default":"inline"},"inputBoxBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { background-color: {{inputBoxBGColor}}; }"}},"inputBoxColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { color: {{inputBoxColor}}; }"}},"inputBoxSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { font-size: {{inputBoxSize}}; }"}},"inputBoxHeight":{"type":"number","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { height: {{inputBoxHeight}}px; }"}},"inputBoxBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-style: {{inputBoxBorderType}}; }"}},"inputBoxBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-width: {{inputBoxBorderWidth}}; }"}},"inputBoxBorderColor":{"type":"string","style":{"dependency":[[{"key":"inputBoxBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-color: {{inputBoxBorderColor}}; }"}},"inputBoxBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { border-radius: {{inputBoxBorderRadius}}; }"}},"inputBoxPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword input.input-text { padding: {{inputBoxPadding}}; }"}},"inputBoxMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword form.woocommerce-ResetPassword .form-row { margin: {{inputBoxMargin}}!important; }"}},"submitBtnColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { color: {{submitBtnColor}}; }"}},"submitBtnBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { background-color: {{submitBtnBGColor}}; }"}},"submitBtnSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { font-size: {{submitBtnSize}}; }"}},"submitBtnBorderType":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-style: {{submitBtnBorderType}} !important; }"}},"submitBtnBorderWidth":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-width: {{submitBtnBorderWidth}} !important; }"}},"submitBtnBorderColor":{"type":"string","style":{"dependency":[[{"key":"submitBtnBorderType","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-color: {{submitBtnBorderColor}} !important; }"}},"submitBtnBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { border-radius: {{submitBtnBorderRadius}} !important; }"}},"submitBtnPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button { padding: {{submitBtnPadding}}; }"}},"buttonAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword .submit-button-row { text-align: {{buttonAlignment}}; }"}},"submitBtnHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { color: {{submitBtnHoverColor}}; }"}},"submitBtnHoverBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { background-color: {{submitBtnHoverBGColor}}; }"}},"submitBtnHoverBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-myaccount-form-lostpassword button:hover { border-color: {{submitBtnHoverBorderColor}} !important; }"}}}}'),FS=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M13 21q-1.85 0-3.462-.688q-1.613-.687-2.838-1.887L8.125 17q.95.925 2.2 1.462Q11.575 19 13 19q2.9 0 4.95-2.05Q20 14.9 20 12q0-2.9-2.05-4.95Q15.9 5 13 5q-2.9 0-4.95 2.05Q6 9.1 6 12v.175l1.825-1.825l1.425 1.4L5 16L.75 11.75l1.425-1.4L4 12.2V12q0-1.875.713-3.513q.712-1.637 1.925-2.85q1.212-1.212 2.85-1.925Q11.125 3 13 3t3.513.712q1.637.713 2.85 1.925q1.212 1.213 1.925 2.85Q22 10.125 22 12q0 3.75-2.625 6.375T13 21Zm-2-5q-.425 0-.712-.288Q10 15.425 10 15v-3q0-.425.288-.713Q10.575 11 11 11v-1q0-.825.588-1.413Q12.175 8 13 8t1.413.587Q15 9.175 15 10v1q.425 0 .713.287q.287.288.287.713v3q0 .425-.287.712Q15.425 16 15 16Zm1-5h2v-1q0-.425-.287-.713Q13.425 9 13 9t-.712.287Q12 9.575 12 10Z"}));var HS=MS.name,DS=MS.title,qS=MS.description,GS=MS.category,KS=MS.attributes,US=MS.keywords,QS=MS.supports,VS={title:(0,de.__)(DS,"woolentor"),description:(0,de.__)(qS,"woolentor"),icon:React.createElement(me.Icon,{icon:FS}),keywords:US,supports:QS,attributes:KS,edit:IS,save:function(){return null}};const YS=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Address","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.addressColor,onChange:function(e){return o({addressColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.addressBGColor,onChange:function(e){return o({addressBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.addressFontSize,fallbackFontSize:t.addressFontSize,onChange:function(e){return o({addressFontSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.addressPadding,attributesKey:"addressPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"addressAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function ZS(e){return ZS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ZS(e)}function JS(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,XS(r.key),r)}}function XS(e){var t=function(e,t){if("object"!=ZS(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ZS(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ZS(t)?t:String(t)}function $S(e,t,o){return t=tW(t),function(e,t){if(t&&("object"===ZS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,eW()?Reflect.construct(t,o||[],tW(e).constructor):t.apply(e,o))}function eW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(eW=function(){return!!e})()}function tW(e){return tW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},tW(e)}function oW(e,t){return oW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oW(e,t)}var rW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),$S(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=XS(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-address-details","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(YS,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&JS(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const nW=rW,aW=JSON.parse('{"name":"woolentor/thankyou-address-details","category":"woolentor-checkout","title":"WL: Address Details","description":"Display Customer Address Details.","keywords":["woolentor","Thank you","Address","Customer Address","Order address"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { background-color: {{headingBGColor}}!important; }"}},"headingAlignment":{"type":"string","style":{"selector":".woocommerce-page.woocommerce-checkout {{WOOLENTOR_WRAPPER}} .woocommerce-customer-details .woocommerce-column__title { text-align: {{headingAlignment}}; }"}},"addressColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { color: {{addressColor}}; }"}},"addressBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { background-color: {{addressBGColor}}; }"}},"addressFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { font-size: {{addressFontSize}}; }"}},"addressPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} address { padding: {{addressPadding}}!important; }"}},"addressAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} address { text-align: {{addressAlignment}}!important; }"}}}}'),lW=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M20 1v3h3v2h-3v3h-2V6h-3V4h3V1h2zm-8 12c-1.1 0-2-.9-2-2s.9-2 2-2s2 .9 2 2s-.9 2-2 2zm1-9.94v2.02A6.53 6.53 0 0 0 12 5c-3.35 0-6 2.57-6 6.2c0 2.34 1.95 5.44 6 9.14c4.05-3.7 6-6.79 6-9.14V11h2v.2c0 3.32-2.67 7.25-8 11.8c-5.33-4.55-8-8.48-8-11.8C4 6.22 7.8 3 12 3c.34 0 .67.02 1 .06z"}));var iW=aW.name,cW=aW.title,sW=aW.description,uW=aW.category,dW=aW.attributes,mW=aW.keywords,pW=aW.supports,gW={title:(0,de.__)(cW,"woolentor"),description:(0,de.__)(sW,"woolentor"),icon:React.createElement(me.Icon,{icon:lW}),keywords:mW,supports:pW,attributes:dW,edit:nW,save:function(){return null}};const fW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextareaControl,{label:(0,de.__)("Thank you message","woolentor"),value:t.thankyoumessage,onChange:function(e){return o({thankyoumessage:e})}}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Message","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.thankMessageColor,onChange:function(e){return o({thankMessageColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.thankMessageSize,fallbackFontSize:t.thankMessageSize,onChange:function(e){return o({thankMessageSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.thankMessageMargin,attributesKey:"thankMessageMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Bottom Message Margin","woolentor"),dimensions:t.thankBottomMessageMargin,attributesKey:"thankBottomMessageMargin",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"thankMessageAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Order Label","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.labelColor,onChange:function(e){return o({labelColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.labelSize,fallbackFontSize:t.labelSize,onChange:function(e){return o({labelSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"labelAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.labelMargin,attributesKey:"labelMargin",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Order Details","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.orderInfoColor,onChange:function(e){return o({orderInfoColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.orderInfoSize,fallbackFontSize:t.orderInfoSize,onChange:function(e){return o({orderInfoSize:e})}}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"orderInfoAlignment",justified:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.orderInfoMargin,attributesKey:"orderInfoMargin",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function bW(e){return bW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bW(e)}function yW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,RW(r.key),r)}}function RW(e){var t=function(e,t){if("object"!=bW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=bW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bW(t)?t:String(t)}function _W(e,t,o){return t=hW(t),function(e,t){if(t&&("object"===bW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,wW()?Reflect.construct(t,o||[],hW(e).constructor):t.apply(e,o))}function wW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(wW=function(){return!!e})()}function hW(e){return hW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},hW(e)}function EW(e,t){return EW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},EW(e,t)}var vW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),_W(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&EW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=RW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-order","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(fW,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{thankyoumessage:t.thankyoumessage},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&yW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const OW=vW,PW=JSON.parse('{"name":"woolentor/thankyou-order","category":"woolentor-checkout","title":"WL: Thank You Order","description":"Display order information.","keywords":["woolentor","Thank you order","Order information","Thank you order","Thankyou"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","default":{"device":"desktop"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"thankyoumessage":{"type":"string","default":"Thank you. Your order has been received."},"thankMessageColor":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ color: {{thankMessageColor}}; }"}},"thankMessageSize":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ font-size: {{thankMessageSize}}; }"}},"thankMessageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received { margin: {{thankMessageMargin}}; }"}},"thankBottomMessageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p { margin: {{thankBottomMessageMargin}}; }"}},"thankMessageAlignment":{"type":"string","default":"","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-received,{{WOOLENTOR_WRAPPER}} .woocommerce-thankyou-order-payment-info-message p{ text-align: {{thankMessageAlignment}}; }"}},"labelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { color: {{labelColor}}; }"}},"labelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { font-size: {{labelSize}}; }"}},"labelAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { text-align: {{labelAlignment}}; }"}},"labelMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li { margin: {{labelMargin}}; }"}},"orderInfoColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { color: {{orderInfoColor}}; }"}},"orderInfoSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { font-size: {{orderInfoSize}}; }"}},"orderInfoAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { text-align: {{orderInfoAlignment}}; }"}},"orderInfoMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} ul.order_details li strong { margin: {{orderInfoMargin}}; }"}}}}'),CW=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M20 21H5q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h15q.825 0 1.413.587Q22 4.175 22 5v14q0 .825-.587 1.413Q20.825 21 20 21ZM5 8h15V5H5Zm3 2H5v9h3Zm9 0v9h3v-9Zm-2 0h-5v9h5Z"}));var BW=PW.name,AW=PW.title,SW=PW.description,WW=PW.category,kW=PW.attributes,TW=PW.keywords,xW=PW.supports,LW={title:(0,de.__)(AW,"woolentor"),description:(0,de.__)(SW,"woolentor"),icon:React.createElement(me.Icon,{icon:CW}),keywords:TW,supports:xW,attributes:kW,edit:OW,save:function(){return null}};const NW=function(e){var t=e.attributes,o=e.setAttributes;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(t),React.createElement(qe.Fragment,null,React.createElement(zt,{tabs:["styles","advanced"]}),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Heading","woolentor")},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingColor,onChange:function(e){return o({headingColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.headingSize,fallbackFontSize:t.headingSize,onChange:function(e){return o({headingSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.headingMargin,attributesKey:"headingMargin",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.headingPadding,attributesKey:"headingPadding",setAttributes:o}),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.headingBGColor,onChange:function(e){return o({headingBGColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"headingAlignment",justified:!0})),React.createElement(Yt,{title:(0,de.__)("Table","woolentor")},React.createElement(fo,{label:(0,de.__)("Heading","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingColor,onChange:function(e){return o({tableHeadingColor:e})}})),React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableHeadingBGColor,onChange:function(e){return o({tableHeadingBGColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableHeadingFontSize,fallbackFontSize:t.tableHeadingFontSize,onChange:function(e){return o({tableHeadingFontSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.tableHeadingPadding,attributesKey:"tableHeadingPadding",setAttributes:o}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableHeadingAlignment",justified:!0}),React.createElement(fo,{label:(0,de.__)("Content","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentColor,onChange:function(e){return o({tableContentColor:e})}})),React.createElement("h3",null,(0,de.__)("Font size","woolentor")),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.tableContentFontSize,fallbackFontSize:t.tableContentFontSize,onChange:function(e){return o({tableContentFontSize:e})}}),React.createElement(co,{label:(0,de.__)("Link Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentLinkColor,onChange:function(e){return o({tableContentLinkColor:e})}})),React.createElement(co,{label:(0,de.__)("Link Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentLinkHoverColor,onChange:function(e){return o({tableContentLinkHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.tableContentBorderColor,onChange:function(e){return o({tableContentBorderColor:e})}})),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"tableContentAlignment",justified:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:"true"}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:t.areaMargin,attributesKey:"areaMargin",setAttributes:o,responsive:"true"})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function zW(e){return zW="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zW(e)}function jW(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,IW(r.key),r)}}function IW(e){var t=function(e,t){if("object"!=zW(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=zW(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zW(t)?t:String(t)}function MW(e,t,o){return t=HW(t),function(e,t){if(t&&("object"===zW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,FW()?Reflect.construct(t,o||[],HW(e).constructor):t.apply(e,o))}function FW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(FW=function(){return!!e})()}function HW(e){return HW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},HW(e)}function DW(e,t){return DW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},DW(e,t)}var qW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),MW(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&DW(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.attributes,o=e.name,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=t.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=IW(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentorblock-thankyou-order-details","woolentorblock-".concat(i)),m=Ae(t,o,i);return React.createElement(qe.Fragment,null,n&&React.createElement(NW,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:o,attributes:{},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&jW(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const GW=qW,KW=JSON.parse('{"name":"woolentor/thankyou-order-details","category":"woolentor-checkout","title":"WL: Order Details","description":"Display Customer Order Details.","keywords":["woolentor","Thank you","order","Customer order","Order details"],"supports":{"align":["wide","full"]},"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"}},"areaMargin":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} { margin: {{areaMargin}} !important; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"headingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { color: {{headingColor}}; }"}},"headingSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { font-size: {{headingSize}}; }"}},"headingMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { margin: {{headingMargin}}; }"}},"headingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { padding: {{headingPadding}}; }"}},"headingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { background-color: {{headingBGColor}}; }"}},"headingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .woocommerce-order-details__title { text-align: {{headingAlignment}}; }"}},"tableHeadingColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { color: {{tableHeadingColor}}; }"}},"tableHeadingBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td{ background-color: {{tableHeadingBGColor}}; }"}},"tableHeadingFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { font-size: {{tableHeadingFontSize}}; }"}},"tableHeadingPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { padding: {{tableHeadingPadding}}; }"}},"tableHeadingAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details tfoot td { text-align: {{tableHeadingAlignment}}; }"}},"tableContentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td { color: {{tableContentColor}}; }"}},"tableContentFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td { font-size: {{tableContentFontSize}}; }"}},"tableContentLinkColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td a,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td strong { color: {{tableContentLinkColor}}; }"}},"tableContentLinkHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td a:hover { color: {{tableContentLinkHoverColor}}; }"}},"tableContentBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th { border-color: {{tableContentBorderColor}}!important; }"}},"tableContentAlignment":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details td,{{WOOLENTOR_WRAPPER}} .woocommerce-order-details .order_details th { text-align: {{tableContentAlignment}}; }"}}}}'),UW=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"512",height:"512",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M19 19v-3H5v3h14Zm0-5v-4H5v4h14Zm0-6V5H5v3h14ZM5 21q-.825 0-1.413-.587Q3 19.825 3 19V5q0-.825.587-1.413Q4.175 3 5 3h14q.825 0 1.413.587Q21 4.175 21 5v14q0 .825-.587 1.413Q19.825 21 19 21Z"}));var QW=KW.name,VW=KW.title,YW=KW.description,ZW=KW.category,JW=KW.attributes,XW=KW.keywords,$W=KW.supports,ek={title:(0,de.__)(VW,"woolentor"),description:(0,de.__)(YW,"woolentor"),icon:React.createElement(me.Icon,{icon:UW}),keywords:XW,supports:$W,attributes:JW,edit:GW,save:function(){return null}};const tk=function(e){var t=e.attributes,o=e.setAttributes;return t.titleTag,React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.TextControl,{label:(0,de.__)("Button Text","woolentor"),placeholder:(0,de.__)("Close","woolentor"),value:t.buttonText,onChange:function(e){return o({buttonText:e})}}),React.createElement(me.SelectControl,{label:(0,de.__)("Action","woolentor"),value:t.action,options:[{label:(0,de.__)("Close Popup","woolentor"),value:"close_popup"},{label:(0,de.__)("Close and Back To Previous Page","woolentor"),value:"go_back_to_previous_page"}],onChange:function(e){return o({action:e})}}),"close_popup"===t.action&&React.createElement(me.TextControl,{label:(0,de.__)("Redirect URL","woolentor"),placeholder:(0,de.__)("https://yourdomain.com/sample-page/","woolentor"),value:t.redirectUrl,onChange:function(e){return o({redirectUrl:e})},help:(0,de.__)("Enter the URL where you want to redirect after closing the popup.","woolentor")}),React.createElement(wr.InspectorControls,{label:(0,de.__)("Alignment","woolentor"),attribute:"alignment",justified:!1}),React.createElement(Wr,{label:(0,de.__)("Button Icon","woolentor"),onReset:function(){return o({buttonIcon:""})},value:t.buttonIcon,onChange:function(e){return o({buttonIcon:e})}}),t.buttonIcon&&React.createElement(React.Fragment,null,React.createElement(me.SelectControl,{label:(0,de.__)("Icon Position","woolentor"),value:t.iconPosition,options:[{label:(0,de.__)("Before","woolentor"),value:"left"},{label:(0,de.__)("After","woolentor"),value:"right"}],onChange:function(e){return o({iconPosition:e})}}),React.createElement(me.RangeControl,{label:(0,de.__)("Icon Spacing","woolentor"),value:t.iconSpecing,onChange:function(e){return o({iconSpecing:e})},min:1,step:1,max:200})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Button","woolentor"),initialOpen:!0},React.createElement(qt,{name:"button"},React.createElement(Qt,{name:"normal"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.backgroundColor,onChange:function(e){return o({backgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.textColor,onChange:function(e){return o({textColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.fontSize,fallbackFontSize:t.fontSize,onChange:function(e){return o({fontSize:e})}}),React.createElement(jr,{value:t.buttonBorder,onChange:function(e){return o({buttonBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.borderRadius,attributesKey:"borderRadius",setAttributes:o})),React.createElement(Qt,{name:"hover"},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverBackgroundColor,onChange:function(e){return o({hoverBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverTextColor,onChange:function(e){return o({hoverTextColor:e})}})),React.createElement(co,{label:(0,de.__)("Border Color","woolentor")},React.createElement(me.ColorPalette,{value:t.hoverTextBorderColor,onChange:function(e){return o({hoverTextBorderColor:e})}}))))),t.buttonIcon&&React.createElement(Yt,{title:(0,de.__)("Icon","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.iconBackgroundColor,onChange:function(e){return o({iconBackgroundColor:e})}})),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.iconColor,onChange:function(e){return o({iconColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.iconFontSize,fallbackFontSize:t.iconFontSize,onChange:function(e){return o({iconFontSize:e})}}),React.createElement(jr,{value:t.iconBorder,onChange:function(e){return o({iconBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:t.iconBorderRadius,attributesKey:"iconBorderRadius",setAttributes:o}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.iconPadding,attributesKey:"iconPadding",setAttributes:o}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function ok(e){return ok="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ok(e)}function rk(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,nk(r.key),r)}}function nk(e){var t=function(e,t){if("object"!=ok(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=ok(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ok(t)?t:String(t)}function ak(e,t,o){return t=ik(t),function(e,t){if(t&&("object"===ok(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,lk()?Reflect.construct(t,o||[],ik(e).constructor):t.apply(e,o))}function lk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(lk=function(){return!!e})()}function ik(e){return ik=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ik(e)}function ck(e,t){return ck=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ck(e,t)}var sk=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),ak(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ck(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=nk(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-popup-close-button-area","woolentorblock-".concat(i)),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(tk,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:t,attributes:{buttonText:o.buttonText,buttonIcon:o.buttonIcon,iconPosition:o.iconPosition,alignment:o.alignment},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),React.createElement("style",{type:"text/css"},".wlpb-trigger-button-wrapper {display: block;margin: 0;padding: 0;width: 100%;}.wlpb-trigger-button {background-color: #0073e6;color: #fff;border: none;border-radius: 5px;padding: 7px 20px;cursor: pointer;transition: background-color 0.3s ease;display: inline-flex;justify-content: center;align-items: center;}.wlpb-trigger-button-align-left {text-align: left;}.wlpb-trigger-button-align-center {text-align: center;}.wlpb-trigger-button-align-right{text-align: right;}.wlpb-trigger-button:hover {background-color: #0059b3;}.wlpb-trigger-button-icon {margin-right: 5px;}.wlpb-trigger-button-button-left {text-align: left;}.wlpb-trigger-button-button-center {text-align: center;}.wlpb-trigger-button-button-right {text-align: right;}"),m)}}],r&&rk(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const uk=sk,dk=JSON.parse('{"name":"woolentor/popup-close-trigger-button","category":"woolentor-blocks","title":"WL: Popup Close Trigger Button","description":"Display close button for popup builder template","keywords":["woolentor","popup","close","button"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"buttonText":{"type":"string","default":"Close"},"action":{"type":"string","default":"close_popup"},"redirectUrl":{"type":"string"},"buttonIcon":{"type":"string"},"alignment":{"type":"string","default":"center"},"iconPosition":{"type":"string","default":"left"},"iconSpecing":{"type":"number","default":5,"style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button { gap: {{iconSpecing}}px; }"}},"backgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button{ background-color:{{backgroundColor}}; }"}},"textColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button .wlpb-trigger-button-text{ color:{{textColor}}; }"}},"fontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button .wlpb-trigger-button-text{ font-size:{{fontSize}}; }"}},"borderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button{ border-radius:{{borderRadius}}; }"}},"buttonBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button"}},"hoverBackgroundColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover{ background-color:{{hoverBackgroundColor}}; }"}},"hoverTextColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover .wlpb-trigger-button-text{ color:{{hoverTextColor}}; }"}},"hoverTextBorderColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button:hover .wlpb-trigger-button-text{ border-color:{{hoverTextBorderColor}}; }"}},"iconBackgroundColor":{"type":"string","style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ background-color:{{iconBackgroundColor}}; }"}},"iconColor":{"type":"string","style":{"dependency":[[{"key":"buttonIcon","condition":"!=","value":""}]],"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ color:{{iconColor}}; }"}},"iconFontSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ font-size:{{iconFontSize}}; }"}},"iconBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ border-radius:{{iconBorderRadius}}; }"}},"iconBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i"}},"iconPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .wlpb-trigger-button i{ padding:{{iconPadding}}; }"}}}}'),mk=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M11.7 18q-2.4-.125-4.05-1.85T6 12q0-2.5 1.75-4.25T12 6q2.425 0 4.15 1.65T18 11.7l-2.1-.625q-.325-1.35-1.4-2.212T12 8q-1.65 0-2.825 1.175T8 12q0 1.425.863 2.5t2.212 1.4L11.7 18Zm8.825 4.5l-4.275-4.275L15 22l-3-10l10 3l-3.775 1.25l4.275 4.275l-1.975 1.975Z"}));var pk=dk.name,gk=dk.category,fk=dk.title,bk=dk.description,yk=dk.keywords,Rk=dk.attributes,_k={title:(0,de.__)(fk,"woolentor"),description:(0,de.__)(bk,"woolentor"),icon:React.createElement(me.Icon,{icon:mk}),keywords:yk,example:{attributes:{buttonText:(0,de.__)("Close Popup","woolentor")}},attributes:Rk,edit:uk,save:function(){return null}};const wk=JSON.parse('{"name":"woolentor/currency-switcher","category":"woolentor-blocks","title":"WL : Currency Switcher","description":"Display currency list added from Module.","keywords":["woolentor","currency","multi currency","WooCommerce currency"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"currencyStyle":{"type":"string","default":"dropdown"},"showFlags":{"type":"boolean","default":true},"flagStyle":{"type":"string","default":"circle"},"currencyColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency){ color:{{currencyColor}}; }"}},"currencySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency){ font-size:{{currencySize}}; }"}},"currencyBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li + li"}},"currencyPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li{ padding:{{currencyPadding}}; }"}},"currencyHoverColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency):hover{ color:{{currencyHoverColor}}; }"}},"currencyHoverBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown ul li:not(.active-currency):hover{ background-color:{{currencyHoverBgColor}}; }"}},"currenctCurrencyColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ color:{{currenctCurrencyColor}}; }"}},"currenctCurrencyBGColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ background-color:{{currenctCurrencyBGColor}}; }","dependency":[[{"key":"currencyStyle","condition":"==","value":"list"}]]}},"currenctCurrencySize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap span.woolentor-selected-currency,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency{ font-size:{{currenctCurrencySize}}; }"}},"currenctCurrencyBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-selected-currency-wrap,{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown.list-style ul li.active-currency"}},"dropdownArrowColor":{"type":"string","style":{"dependency":[[{"key":"currencyStyle","condition":"==","value":"dropdown"}]],"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-currency-dropdown-arrow::after{ color:{{dropdownArrowColor}}; }"}}}}'),hk=function(e){var t=e.attributes,o=e.setAttributes,r=t.currencyStyle,n=t.showFlags,a=t.flagStyle;return React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},React.createElement(me.SelectControl,{label:(0,de.__)("Style","woolentor"),value:r,options:[{label:(0,de.__)("Dropdown","woolentor"),value:"dropdown"},{label:(0,de.__)("List","woolentor"),value:"list"}],onChange:function(e){return o({currencyStyle:e})}}),1==woolentorData.prostatus&&React.createElement(React.Fragment,null,React.createElement("hr",null),React.createElement(co,{label:(0,de.__)("Show Currency flags ?","woolentor")},React.createElement(me.ToggleControl,{className:"woolentor-toggle-control",checked:n,onChange:function(){return o({showFlags:!n})}})),n&&React.createElement(me.SelectControl,{label:(0,de.__)("Flag Style","woolentor"),value:a,options:[{label:(0,de.__)("Circle","woolentor"),value:"circle"},{label:(0,de.__)("Square","woolentor"),value:"square"}],onChange:function(e){return o({flagStyle:e})}})))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Currency","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currencyColor,onChange:function(e){return o({currencyColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.currencySize,fallbackFontSize:t.currencySize,onChange:function(e){return o({currencySize:e})}}),React.createElement(jr,{value:t.currencyBorder,onChange:function(e){return o({currencyBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.currencyPadding,attributesKey:"currencyPadding",setAttributes:o,responsive:!0}),React.createElement(co,{label:(0,de.__)("Hover Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currencyHoverColor,onChange:function(e){return o({currencyHoverColor:e})}})),React.createElement(co,{label:(0,de.__)("Hover Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currencyHoverBgColor,onChange:function(e){return o({currencyHoverBgColor:e})}}))),React.createElement(Yt,{title:(0,de.__)("Current Currency","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currenctCurrencyColor,onChange:function(e){return o({currenctCurrencyColor:e})}})),"list"===r&&React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:t.currenctCurrencyBGColor,onChange:function(e){return o({currenctCurrencyBGColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:t.currenctCurrencySize,fallbackFontSize:t.currenctCurrencySize,onChange:function(e){return o({currenctCurrencySize:e})}}),React.createElement(jr,{value:t.currenctCurrencyBorder,onChange:function(e){return o({currenctCurrencyBorder:e})}}),"dropdown"===r&&React.createElement(co,{label:(0,de.__)("Arrow Color","woolentor")},React.createElement(me.ColorPalette,{value:t.dropdownArrowColor,onChange:function(e){return o({dropdownArrowColor:e})}})))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:t.areaPadding,attributesKey:"areaPadding",setAttributes:o,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:o,bgProperty:t.areaBGProperty}))))};function Ek(e){return Ek="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ek(e)}function vk(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ok(r.key),r)}}function Ok(e){var t=function(e,t){if("object"!=Ek(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Ek(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ek(t)?t:String(t)}function Pk(e,t,o){return t=Bk(t),function(e,t){if(t&&("object"===Ek(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ck()?Reflect.construct(t,o||[],Bk(e).constructor):t.apply(e,o))}function Ck(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ck=function(){return!!e})()}function Bk(e){return Bk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bk(e)}function Ak(e,t){return Ak=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ak(e,t)}var Sk=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Pk(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ak(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;o.areaBGProperty,""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Ok(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-currency-switcher-area"),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(hk,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:t,attributes:{blockUniqId:i,currencyStyle:o.currencyStyle,showFlags:o.showFlags,flagStyle:o.flagStyle},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&vk(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const Wk=Sk,kk=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 23q-2.8 0-5.15-1.275T3 18.325V21H1v-6h6v2H4.525q1.2 1.8 3.163 2.9T12 21q1.875 0 3.513-.712t2.85-1.925q1.212-1.213 1.925-2.85T21 12h2q0 2.275-.862 4.275t-2.363 3.5q-1.5 1.5-3.5 2.363T12 23m-.9-4v-1.3q-1.175-.275-1.912-1.012T8.1 14.75l1.65-.65q.3 1.025.938 1.538t1.462.512q.825 0 1.413-.387t.587-1.213q0-.725-.612-1.175T11.35 12.35q-1.475-.525-2.162-1.25T8.5 9.2q0-1.025.713-1.862T11.15 6.25V5h1.75v1.25q.9.075 1.638.725T15.55 8.5l-1.6.65q-.2-.575-.65-.962T12.05 7.8q-.875 0-1.338.375T10.25 9.2q0 .65.575 1.025t2.075.875q1.8.65 2.4 1.525t.6 1.925q0 .725-.25 1.275t-.663.938q-.412.387-.962.624t-1.175.363V19zM1 12q0-2.275.863-4.275t2.362-3.5q1.5-1.5 3.5-2.362T12 1q2.8 0 5.15 1.275t3.85 3.4V3h2v6h-6V7h2.475q-1.2-1.8-3.162-2.9T12 3q-1.875 0-3.512.713t-2.85 1.924Q4.425 6.85 3.713 8.488T3 12z"}));var Tk=wk.name,xk=wk.category,Lk=wk.title,Nk=wk.description,zk=wk.keywords,jk=wk.attributes,Ik={title:(0,de.__)(Lk,"woolentor"),description:(0,de.__)(Nk,"woolentor"),icon:React.createElement(me.Icon,{icon:kk}),keywords:zk,example:{attributes:{title_tag:"h2"}},attributes:jk,edit:Wk,save:function(){return null}};const Mk=JSON.parse('{"name":"woolentor/order-bump","category":"woolentor-blocks","title":"WL : Order Bump","description":"Display order bump added from Module.","keywords":["woolentor","offer","order bump","WooCommerce order bump","WooCommerce checkout"],"attributes":{"blockUniqId":{"type":"string","default":""},"areaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}}; }"}},"areaBGProperty":{"type":"object","default":{"imageId":null,"imageUrl":"","position":"","attachment":"","repeat":"","size":""},"style":{"selector":"{{WOOLENTOR_WRAPPER}}"}},"selectedOrderBump":{"type":"string"},"titleColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ color:{{titleColor}}; }"}},"titleSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ font-size:{{titleSize}}; }"}},"titleMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-title{ margin:{{titleMargin}}; }"}},"regularPriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .price del .woocommerce-Price-amount, body {{WOOLENTOR_WRAPPER}} div.product .woolentor-order-bump-content span.price{ color:{{regularPriceColor}}; }"}},"regularPriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .price del .woocommerce-Price-amount{ font-size:{{regularPriceSize}}; }"}},"salePriceColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .woocommerce-Price-amount{ color:{{salePriceColor}}; }"}},"salePriceSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price .woocommerce-Price-amount{ font-size:{{salePriceSize}}; }"}},"priceMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-price{ margin:{{priceMargin}}; }"}},"contentColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc,{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc p{ color:{{contentColor}}; }"}},"contentSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc{ font-size:{{contentSize}}; }"}},"contentMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-content .wl-desc{ margin:{{contentMargin}}; }"}},"imageBorder":{"type":"object","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image img"}},"imageBorderRadius":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image img{ border-radius:{{imageBorderRadius}}; }"}},"imageMargin":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .wl-image{ margin:{{imageMargin}}; }"}},"grabDealBgColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .woolentor-order-bump-action{ background-color:{{grabDealBgColor}}; }"}},"grabDealLabelColor":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-action .wl-checkbox-wrapper label{ color:{{grabDealLabelColor}}; }"}},"grabDealLabelSize":{"type":"string","style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump-action .wl-checkbox-wrapper label{ font-size:{{grabDealLabelSize}}; }"}},"grabDealAreaPadding":{"type":"object","default":{"top":"","right":"","bottom":"","left":"","unit":"px","link":"yes"},"style":{"selector":"{{WOOLENTOR_WRAPPER}} .woolentor-order-bump .woolentor-order-bump-action{ padding:{{grabDealAreaPadding}}; }"}}}}');function Fk(e){return Fk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fk(e)}function Hk(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function Dk(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var r,n,a,l,i=[],c=!0,s=!1;try{if(a=(o=o.call(e)).next,0===t){if(Object(o)!==o)return;c=!1}else for(;!(c=(r=a.call(o)).done)&&(i.push(r.value),i.length!==t);c=!0);}catch(e){s=!0,n=e}finally{try{if(!c&&null!=o.return&&(l=o.return(),Object(l)!==l))return}finally{if(s)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qk(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?qk(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qk(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}function Gk(e){return function(e){if(Array.isArray(e))return Kk(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Kk(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Kk(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kk(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o<t;o++)r[o]=e[o];return r}const Uk=function(e){var t,o,r,n,a,l,i,c,s,u,d,m,p,g,f=e.attributes,b=e.setAttributes,y=f.selectedOrderBump,R=f.titleSize,_=f.titleMargin,w=(r="/woolentor/v1/get-poslist",n={metaQuery:[{key:"woolentor_template_meta_type",value:"order-bump",compare:"="}]},a=Dk((0,qe.useState)(!1),2),l=a[0],i=a[1],c=Dk((0,qe.useState)(!0),2),s=c[0],u=c[1],d=Dk((0,qe.useState)([]),2),m=d[0],p=d[1],g=(0,qe.useCallback)((function(){var e=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Hk(Object(o),!0).forEach((function(t){var r,n,a,l;r=e,n=t,a=o[t],l=function(e,t){if("object"!=Fk(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Fk(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==Fk(l)?l:String(l))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Hk(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({wpnonce:woolentorData.security},n),t=(0,en.addQueryArgs)(r,e);Ke()({path:t}).then((function(e){u(!1),p(e)}),(function(e){u(!0),i(e)}))}),[r]),(0,qe.useEffect)((function(){return g()}),[g]),{data:m,isLoaded:s,isError:l}),h=w.data;return o=(null==h?void 0:h.length)>0&&h.map((function(e,t){return{value:e.id,label:e.title}})),React.createElement(qe.Fragment,null,React.createElement(zt,null),React.createElement(Tt,null,React.createElement(Yt,{title:(0,de.__)("Settings","woolentor"),initialOpen:!0},(null===(t=o)||void 0===t?void 0:t.length)>0?React.createElement(me.SelectControl,{label:(0,de.__)("Select Order Bump","woolentor"),value:y,options:[{label:(0,de.__)("Select Order Bump","woolentor"),value:0}].concat(Gk(o)),onChange:function(e){return b({selectedOrderBump:e})}}):React.createElement(me.SelectControl,{label:(0,de.__)("Select Order Bump","woolentor"),value:0,options:[{label:(0,de.__)("Select Order Bump","woolentor"),value:0}]}))),React.createElement(xt,null,React.createElement(Yt,{title:(0,de.__)("Product Title","woolentor"),initialOpen:!0},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:f.titleColor,onChange:function(e){return b({titleColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:R,fallbackFontSize:R,onChange:function(e){return b({titleSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:_,attributesKey:"titleMargin",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Product Price","woolentor"),initialOpen:!1},React.createElement(fo,{label:(0,de.__)("Regular Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:f.regularPriceColor,onChange:function(e){return b({regularPriceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:f.regularPriceSize,fallbackFontSize:f.regularPriceSize,onChange:function(e){return b({regularPriceSize:e})}}),React.createElement(fo,{label:(0,de.__)("Sale Price","woolentor")}),React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:f.salePriceColor,onChange:function(e){return b({salePriceColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:f.salePriceSize,fallbackFontSize:f.salePriceSize,onChange:function(e){return b({salePriceSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:f.priceMargin,attributesKey:"priceMargin",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Product Content","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Color","woolentor")},React.createElement(me.ColorPalette,{value:f.contentColor,onChange:function(e){return b({contentColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:f.contentSize,fallbackFontSize:f.contentSize,onChange:function(e){return b({contentSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:f.contentMargin,attributesKey:"contentMargin",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Product Image","woolentor"),initialOpen:!1},React.createElement(jr,{value:f.imageBorder,onChange:function(e){return b({imageBorder:e})}}),React.createElement(ho,{lavel:(0,de.__)("Border Radius","woolentor"),dimensions:f.imageBorderRadius,attributesKey:"imageBorderRadius",setAttributes:b,responsive:!0}),React.createElement(ho,{lavel:(0,de.__)("Margin","woolentor"),dimensions:f.imageMargin,attributesKey:"imageMargin",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Grab Deal Button","woolentor"),initialOpen:!1},React.createElement(co,{label:(0,de.__)("Background Color","woolentor")},React.createElement(me.ColorPalette,{value:f.grabDealBgColor,onChange:function(e){return b({grabDealBgColor:e})}})),React.createElement(co,{label:(0,de.__)("Label Color","woolentor")},React.createElement(me.ColorPalette,{value:f.grabDealLabelColor,onChange:function(e){return b({grabDealLabelColor:e})}})),React.createElement(me.FontSizePicker,{fontSizes:[{name:(0,de.__)("Small","woolentor"),slug:"small",size:"12px"},{name:(0,de.__)("Medium","woolentor"),slug:"medium",size:"18px"},{name:(0,de.__)("Large","woolentor"),slug:"large",size:"24px"}],value:f.grabDealLabelSize,fallbackFontSize:f.grabDealLabelSize,onChange:function(e){return b({grabDealLabelSize:e})}}),React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:f.grabDealAreaPadding,attributesKey:"grabDealAreaPadding",setAttributes:b,responsive:!0}))),React.createElement(Lt,null,React.createElement(Yt,{title:(0,de.__)("Dimension","woolentor")},React.createElement(ho,{lavel:(0,de.__)("Padding","woolentor"),dimensions:f.areaPadding,attributesKey:"areaPadding",setAttributes:b,responsive:!0})),React.createElement(Yt,{title:(0,de.__)("Background","woolentor")},React.createElement(ur,{title:(0,de.__)("Background Image","woolentor"),attributesKey:"areaBGProperty",setAttributes:b,bgProperty:f.areaBGProperty}))))};function Qk(e){return Qk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qk(e)}function Vk(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Yk(r.key),r)}}function Yk(e){var t=function(e,t){if("object"!=Qk(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=Qk(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Qk(t)?t:String(t)}function Zk(e,t,o){return t=Xk(t),function(e,t){if(t&&("object"===Qk(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Jk()?Reflect.construct(t,o||[],Xk(e).constructor):t.apply(e,o))}function Jk(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Jk=function(){return!!e})()}function Xk(e){return Xk=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Xk(e)}function $k(e,t){return $k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$k(e,t)}var eT=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Zk(this,t,arguments)}var o,r;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$k(e,t)}(t,e),o=t,r=[{key:"render",value:function(){var e=this.props,t=e.name,o=e.attributes,r=e.className,n=e.isSelected,a=e.setAttributes,l=e.clientId,i=o.blockUniqId;o.areaBGProperty,""==i&&a({blockUniqId:l});var c,s,u,d=Kt()((c={},u=r,(s=Yk(s=r))in c?Object.defineProperty(c,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[s]=u,c),"woolentor-order-bump-area"),m=Ae(o,t,i);return React.createElement(qe.Fragment,null,n&&React.createElement(Uk,this.props),React.createElement("div",{className:d},React.createElement(ns(),{block:t,attributes:{blockUniqId:i,selectedOrderBump:o.selectedOrderBump},urlQueryArgs:{is_editor_mode:"yes"},httpMethod:"POST"})),m)}}],r&&Vk(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),t}(qe.Component);const tT=eT,oT=React.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24"},React.createElement("path",{fill:"currentColor",d:"M12 22q-2.075 0-3.9-.788t-3.175-2.137q-1.35-1.35-2.137-3.175T2 12q0-2.075.788-3.9t2.137-3.175q1.35-1.35 3.175-2.137T12 2q1.625 0 3.075.475T17.75 3.8L16.3 5.275q-.95-.6-2.025-.937T12 4Q8.675 4 6.337 6.338T4 12q0 3.325 2.338 5.663T12 20q.8 0 1.55-.15t1.45-.425l1.5 1.525q-1.025.5-2.15.775T12 22m7-2v-3h-3v-2h3v-3h2v3h3v2h-3v3zm-8.4-3.4l-4.25-4.25l1.4-1.4l2.85 2.85l10-10.025l1.4 1.4z"}));var rT=Mk.name,nT=Mk.category,aT=Mk.title,lT=Mk.description,iT=Mk.keywords,cT=Mk.attributes,sT={title:(0,de.__)(aT,"woolentor"),description:(0,de.__)(lT,"woolentor"),icon:React.createElement(me.Icon,{icon:oT}),keywords:iT,example:{attributes:{title_tag:"h2"}},attributes:cT,edit:tT,save:function(){return null}};function uT(e){return uT="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uT(e)}function dT(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}[u,s,d,p,i,g,t,n,l,c,e,a,r,m,f,W,E,y,B,_,O,w,R,h,b,S,C,A,v,P,k,T,L,N,z,j,x,M,G,I,F,H,q,D,K,$,Q,V,Y,U,ee,J,Z,te,X,oe,re,ae,ne,le,ie,ce].forEach((function(e){if(e){var t=e.name;if(t=t.replace("woolentor/",""),-1!=woolentorData.options.indexOf(t)){var o=e.name,r=e.category,n=e.settings;(0,se.registerBlockType)(o,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?dT(Object(o),!0).forEach((function(t){var r,n,a,l;r=e,n=t,a=o[t],l=function(e,t){if("object"!=uT(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,"string");if("object"!=uT(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n),(n="symbol"==uT(l)?l:String(l))in r?Object.defineProperty(r,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):r[n]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dT(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({category:r},n))}}})),function(e){var t=jQuery;""==e?Te():t("body").on("click",e,(function(e){Te()}))}(".components-button.editor-post-publish-button.editor-post-publish-button__button.is-primary,.block-editor-post-preview__dropdown button,.edit-site-save-button__button"),function(e){var t=jQuery;"cart"===e||"emptycart"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-cart woocommerce-page woocommerce-js"):"checkout"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-checkout woocommerce-page"):"myaccount"===e||"lostpassword"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-account woolentor_myaccount_page"):"thankyou"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-checkout woocommerce-js"):"single"===e?t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page single-product woocommerce-js"):"shop"!==e&&"archive"!==e||t(".post-type-woolentor-template").find(".block-editor__container").addClass("woocommerce woocommerce-page woocommerce-shop woocommerce-js")}(woolentorData.templateType)})()})();
  • woolentor-addons/trunk/woolentor-blocks/includes/classes/Api/Api.php

    r3037382 r3044764  
    11<?php
    22namespace WooLentorBlocks\Api;
    33
    44use Exception;
    55use WP_REST_Server;
    66
    77// Exit if accessed directly.
    8 if ( ! defined( 'ABSPATH' ) ) {
    9     exit;
     8if (!defined('ABSPATH')) {
     9    exit;
    1010}
    1111
    1212/**
    1313 * Load general WP action hook
    1414 */
    15 class Api {
     15class Api
     16{
    1617
    1718    public $namespace = '';
    1819
    19     /**
    20      * The Constructor.
    21      */
    22     public function __construct() {
    23         $this->namespace = 'woolentor/v1';
    24     }
    25 
    26     /**
    27      * Resgister routes
    28      */
    29     public function register_routes() {
    30 
    31         register_rest_route(  $this->namespace, 'category',
    32             [
    33                 'methods' => WP_REST_Server::READABLE,
    34                 'args' => [
    35                     'querySlug'  => [],
     20    /**
     21     * The Constructor.
     22     */
     23    public function __construct()
     24    {
     25        $this->namespace = 'woolentor/v1';
     26    }
     27
     28    /**
     29     * Resgister routes
     30     */
     31    public function register_routes()
     32    {
     33
     34        register_rest_route(
     35            $this->namespace,
     36            'category',
     37            [
     38                'methods' => WP_REST_Server::READABLE,
     39                'args' => [
     40                    'querySlug' => [],
    3641                    'queryLimit' => [],
    3742                    'queryOrder' => [],
    38                     'queryType'  => [],
    39                     'wpnonce'    => []
    40                 ],
    41                 'callback'            => [ $this, 'get_category_data' ],
    42                 'permission_callback' => [ $this, 'permission_check' ],
    43             ]
    44         );
    45 
    46         register_rest_route( $this->namespace, 'products',
    47             [
    48                 'methods' => WP_REST_Server::READABLE,
    49                 'args' => [
    50                     'perPage'  => [],
    51                     'categories' => [],
    52                     'orderBy'  => [],
    53                     'order'    => [],
     43                    'queryType' => [],
     44                    'wpnonce' => []
     45                ],
     46                'callback' => [$this, 'get_category_data'],
     47                'permission_callback' => [$this, 'permission_check'],
     48            ]
     49        );
     50
     51        register_rest_route(
     52            $this->namespace,
     53            'products',
     54            [
     55                'methods' => WP_REST_Server::READABLE,
     56                'args' => [
     57                    'perPage' => [],
     58                    'categories' => [],
     59                    'orderBy' => [],
     60                    'order' => [],
    5461                    'filterBy' => [],
    55                     'offset'   => [],
    56                     'include'  => [],
    57                     'exclude'  => [],
    58                     'wpnonce'  => []
    59                 ],
    60                 'callback' => [ $this, 'get_post_data' ],
     62                    'offset' => [],
     63                    'include' => [],
     64                    'exclude' => [],
     65                    'wpnonce' => []
     66                ],
     67                'callback' => [$this, 'get_post_data'],
    6168                'permission_callback' => '__return_true'
    6269            ]
    6370        );
    6471
    65         register_rest_route( $this->namespace, 'sampledata/product',
    66             [
    67                 'methods' => WP_REST_Server::READABLE,
    68                 'args' => [
    69                     'wpnonce'  => []
    70                 ],
    71                 'callback' => [ $this, 'get_last_product_data' ],
     72        register_rest_route(
     73            $this->namespace,
     74            'sampledata/product',
     75            [
     76                'methods' => WP_REST_Server::READABLE,
     77                'args' => [
     78                    'wpnonce' => []
     79                ],
     80                'callback' => [$this, 'get_last_product_data'],
    7281                'permission_callback' => '__return_true'
    7382            ]
    7483        );
    7584
    7685        // register_rest_route( $this->namespace, 'products/(?P<id>[\d]+)',
    7786        //     [
    7887        //         'methods' => WP_REST_Server::READABLE,
    7988        //         'args' => [
    8089        //             'wpnonce'  => []
    8190        //         ],
    8291        //         'callback' => [ $this, 'get_product_data' ],
    8392        //         'permission_callback' => '__return_true'
    8493        //     ]
    8594        // );
    8695
    87         register_rest_route( $this->namespace, 'imagesizes',
    88             [
    89                 'methods' => WP_REST_Server::READABLE,
    90                 'args' => [
    91                     'wpnonce'  => []
    92                 ],
    93                 'callback' => [ $this, 'get_image_sizes' ],
     96        register_rest_route(
     97            $this->namespace,
     98            'imagesizes',
     99            [
     100                'methods' => WP_REST_Server::READABLE,
     101                'args' => [
     102                    'wpnonce' => []
     103                ],
     104                'callback' => [$this, 'get_image_sizes'],
    94105                'permission_callback' => '__return_true'
    95106            ]
    96107        );
    97108
     109        // Order Bump List
     110        register_rest_route(
     111            $this->namespace,
     112            'get-poslist',
     113            [
     114                'methods' => WP_REST_Server::READABLE,
     115                'args' => [
     116                    'postType' => [],
     117                    'perPage' => [],
     118                    'metaQuery' => [],
     119                    'wpnonce' => []
     120                ],
     121                'callback' => [$this, 'get_post_list_data'],
     122                'permission_callback' => [$this, 'permission_check'],
     123            ]
     124        );
     125
    98126        // Template Library
    99         \WooLentorBlocks\Template_Library::instance()->register_routes( $this->namespace );
     127        \WooLentorBlocks\Template_Library::instance()->register_routes($this->namespace);
    100128
    101129        // CSS
    102         \WooLentorBlocks\Manage_Styles::instance()->register_routes( $this->namespace );
    103 
    104     }
     130        \WooLentorBlocks\Manage_Styles::instance()->register_routes($this->namespace);
     131
     132    }
    105133
    106134    /**
    107135     * Api permission check
    108136     */
    109     public function permission_check() {
    110         if( current_user_can( 'edit_posts' ) ){
     137    public function permission_check()
     138    {
     139        if (current_user_can('edit_posts')) {
    111140            return true;
    112         }else{
     141        } else {
    113142            return false;
    114143        }
    115144    }
    116145
    117146    /**
    118147     * Get category data
    119148     */
    120     public function get_category_data( $request ){
    121        
    122         if ( !isset( $_REQUEST['wpnonce'] ) || !wp_verify_nonce( $_REQUEST['wpnonce'], 'woolentorblock-nonce') ){
     149    public function get_category_data($request)
     150    {
     151
     152        if (!isset($_REQUEST['wpnonce']) || !wp_verify_nonce($_REQUEST['wpnonce'], 'woolentorblock-nonce')) {
    123153            return rest_ensure_response([]);
    124154        }
    125155
    126         $data = woolentorBlocks_taxnomy_data( $request['querySlug'], $request['queryLimit'], $request['queryOrder'], $request['queryType'] );
    127         return rest_ensure_response( $data );
     156        $data = woolentorBlocks_taxnomy_data($request['querySlug'], $request['queryLimit'], $request['queryOrder'], $request['queryType']);
     157        return rest_ensure_response($data);
    128158
    129159    }
    130160
    131161    /**
    132162     * Get Image sizes data
    133163     */
    134     public function get_image_sizes( $request ){
    135        
    136         if ( !isset( $_REQUEST['wpnonce'] ) || !wp_verify_nonce( $_REQUEST['wpnonce'], 'woolentorblock-nonce') ){
     164    public function get_image_sizes($request)
     165    {
     166
     167        if (!isset($_REQUEST['wpnonce']) || !wp_verify_nonce($_REQUEST['wpnonce'], 'woolentorblock-nonce')) {
    137168            return rest_ensure_response([]);
    138169        }
    139170
    140171        $data = woolentorBlocks_get_image_size();
    141         return rest_ensure_response( $data );
     172        return rest_ensure_response($data);
    142173
    143174    }
    144175
    145176    /**
    146177     * Get Post data
    147178     */
    148     public function get_post_data( $request ){
    149 
    150         if ( !isset( $_REQUEST['wpnonce'] ) || !wp_verify_nonce( $_REQUEST['wpnonce'], 'woolentorblock-nonce') ){
     179    public function get_post_data($request)
     180    {
     181
     182        if (!isset($_REQUEST['wpnonce']) || !wp_verify_nonce($_REQUEST['wpnonce'], 'woolentorblock-nonce')) {
    151183            return rest_ensure_response([]);
    152184        }
    153185
    154186        $data = [];
    155         $loop = new \WP_Query( woolentorBlocks_Product_Query( $request ) );
    156 
    157         if( $loop->have_posts() ){
    158             while( $loop->have_posts() ) {
     187        $loop = new \WP_Query(woolentorBlocks_Product_Query($request));
     188
     189        if ($loop->have_posts()) {
     190            while ($loop->have_posts()) {
    159191                $loop->the_post();
    160                
    161                 $item                   = array();
    162                 $product_id             = get_the_ID();
    163                 $product                = wc_get_product( $product_id );
    164                 $user_id                = get_the_author_meta('ID');
    165                 $item['id']             = $product_id;
    166                 $item['time']           = get_the_date();
    167                 $item['title']          = get_the_title();
    168                 $item['permalink']      = get_permalink();
    169                 $item['excerpt']        = strip_tags( get_the_excerpt() );
    170                 $item['content']        = strip_tags( get_the_content() );
    171                 $item['price_sale']     = $product->get_sale_price();
    172                 $item['price_regular']  = $product->get_regular_price();
    173                 $item['on_sale']        = $product->is_on_sale();
    174                 $item['badge']          = [
    175                     'sale_badge'        => woolentor_sale_flash( 'default', false ),
    176                 ];
    177                 $item['discount']       = ( $item['price_sale'] && $item['price_regular'] ) ? round( ( $item['price_regular'] - $item['price_sale'] ) / $item['price_regular'] * 100 ).'%' : '';
    178                 $item['price_html']     = $product->get_price_html();
    179                 $item['stock']          = $product->get_stock_status();
    180                 $item['featured']       = $product->is_featured();
    181                 $item['rating']         = [
    182                     'count'             => $product->get_rating_count(),
    183                     'average'           => $product->get_average_rating(),
    184                     'html'              => wc_get_rating_html( $product->get_average_rating(), $product->get_rating_count() ),
    185                     'html2'             => woolentor_wc_get_rating_html('yes'),
     192
     193                $item = array();
     194                $product_id = get_the_ID();
     195                $product = wc_get_product($product_id);
     196                $user_id = get_the_author_meta('ID');
     197                $item['id'] = $product_id;
     198                $item['time'] = get_the_date();
     199                $item['title'] = get_the_title();
     200                $item['permalink'] = get_permalink();
     201                $item['excerpt'] = strip_tags(get_the_excerpt());
     202                $item['content'] = strip_tags(get_the_content());
     203                $item['price_sale'] = $product->get_sale_price();
     204                $item['price_regular'] = $product->get_regular_price();
     205                $item['on_sale'] = $product->is_on_sale();
     206                $item['badge'] = [
     207                    'sale_badge' => woolentor_sale_flash('default', false),
     208                ];
     209                $item['discount'] = ($item['price_sale'] && $item['price_regular']) ? round(($item['price_regular'] - $item['price_sale']) / $item['price_regular'] * 100) . '%' : '';
     210                $item['price_html'] = $product->get_price_html();
     211                $item['stock'] = $product->get_stock_status();
     212                $item['featured'] = $product->is_featured();
     213                $item['rating'] = [
     214                    'count' => $product->get_rating_count(),
     215                    'average' => $product->get_average_rating(),
     216                    'html' => wc_get_rating_html($product->get_average_rating(), $product->get_rating_count()),
     217                    'html2' => woolentor_wc_get_rating_html('yes'),
    186218                ];
    187219                $cart_btn_class = $product->is_purchasable() && $product->is_in_stock() ? ' add_to_cart_button' : '';
    188                 $cart_btn_class .= $product->supports( 'ajax_add_to_cart' ) && $product->is_purchasable() && $product->is_in_stock() ? ' ajax_add_to_cart' : '';
    189                 $item['addtocart']      = [
    190                     'link'      => $product->add_to_cart_url(),
    191                     'text'      => __('Add To Cart','woolentor'),
    192                     'class'     => $cart_btn_class,
    193                 ];
    194                 $item['wishlist']       = [
     220                $cart_btn_class .= $product->supports('ajax_add_to_cart') && $product->is_purchasable() && $product->is_in_stock() ? ' ajax_add_to_cart' : '';
     221                $item['addtocart'] = [
     222                    'link' => $product->add_to_cart_url(),
     223                    'text' => __('Add To Cart', 'woolentor'),
     224                    'class' => $cart_btn_class,
     225                ];
     226                $item['wishlist'] = [
    195227                    'status' => woolentor_has_wishlist_plugin(),
    196                     'html'   => woolentor_add_to_wishlist_button()
    197                 ];
    198                 $item['compare']       = [
     228                    'html' => woolentor_add_to_wishlist_button()
     229                ];
     230                $item['compare'] = [
    199231                    'status' => woolentor_exist_compare_plugin(),
    200                     'html'   => woolentorBlocks_compare_button( array( 'style' => 2 ) ),
    201                     'html2'   => woolentorBlocks_compare_button( array( 'style' => 2, 'btn_text' => '<i class="fa fa-exchange"></i>', 'btn_added_txt' => '<i class="fa fa-exchange"></i>' ) ),
    202                 ];
    203 
    204                 $time           = current_time('timestamp');
    205                 $time_to        = strtotime( $product->get_date_on_sale_to() );
    206                 $item['deal']   = ( $item['price_sale'] && $time_to > $time ) ? date( 'Y/m/d', $time_to ) : '';
     232                    'html' => woolentorBlocks_compare_button(array('style' => 2)),
     233                    'html2' => woolentorBlocks_compare_button(array('style' => 2, 'btn_text' => '<i class="fa fa-exchange"></i>', 'btn_added_txt' => '<i class="fa fa-exchange"></i>')),
     234                ];
     235
     236                $time = current_time('timestamp');
     237                $time_to = strtotime($product->get_date_on_sale_to());
     238                $item['deal'] = ($item['price_sale'] && $time_to > $time) ? date('Y/m/d', $time_to) : '';
    207239
    208240                // Images
    209                 if( has_post_thumbnail() ){
    210                     $thumb_id       = get_post_thumbnail_id( $product_id );
    211                     $image_sizes    = woolentorBlocks_get_image_size();
    212                     $image_src      = array();
    213                     foreach ( $image_sizes as $key => $size ) {
     241                if (has_post_thumbnail()) {
     242                    $thumb_id = get_post_thumbnail_id($product_id);
     243                    $image_sizes = woolentorBlocks_get_image_size();
     244                    $image_src = array();
     245                    foreach ($image_sizes as $key => $size) {
    214246                        $image_src[$key] = [
    215                             'src' => wp_get_attachment_image_src( $thumb_id, $key, false )[0],
    216                             'html' => $product->get_image( $key )
     247                            'src' => wp_get_attachment_image_src($thumb_id, $key, false)[0],
     248                            'html' => $product->get_image($key)
    217249                        ];
    218250                    }
    219251                    $item['image'] = $image_src;
    220                 }else{
     252                } else {
    221253                    $item['image'] = array(
    222                         'full' =>[
    223                             'src' => wc_placeholder_img_src( 'full' ),
    224                             'html' => '<img src="'.wc_placeholder_img_src( 'full' ).'" alt="'.get_the_title().'">',
     254                        'full' => [
     255                            'src' => wc_placeholder_img_src('full'),
     256                            'html' => '<img src="' . wc_placeholder_img_src('full') . '" alt="' . get_the_title() . '">',
    225257                        ]
    226258                    );
    227259                }
    228260
    229261                // Tags
    230                 $tags = get_the_terms( $product_id, ( isset( $request['tag'] ) ? esc_attr( $request['tag'] ) : 'product_tag' ) );
    231                 if( !empty( $tag ) ){
     262                $tags = get_the_terms($product_id, (isset($request['tag']) ? esc_attr($request['tag']) : 'product_tag'));
     263                if (!empty($tag)) {
    232264                    $tag_list = array();
    233                     foreach ( $tags as $tag ) {
     265                    foreach ($tags as $tag) {
    234266                        $tag_list[] = [
    235                             'slug' => $tag->slug, 
    236                             'name' => $tag->name, 
    237                             'url' => get_term_link( $tag->term_id )
     267                            'slug' => $tag->slug,
     268                            'name' => $tag->name,
     269                            'url' => get_term_link($tag->term_id)
    238270                        ];
    239271                    }
    240272                    $item['tags'] = $tag_list;
    241273                }
    242274
    243275                // Categories
    244                 $categories = get_the_terms( $product_id, ( isset( $request['cat'] ) ? esc_attr( $request['cat'] ) : 'product_cat') );
    245                 if( !empty( $categories ) ){
     276                $categories = get_the_terms($product_id, (isset($request['cat']) ? esc_attr($request['cat']) : 'product_cat'));
     277                if (!empty($categories)) {
    246278                    $category_list = array();
    247                     foreach ( $categories as $category ) {
    248                         $category_list[] = [ 
    249                             'slug' => $category->slug, 
    250                             'name' => $category->name, 
    251                             'url' => get_term_link( $category->term_id )
     279                    foreach ($categories as $category) {
     280                        $category_list[] = [
     281                            'slug' => $category->slug,
     282                            'name' => $category->name,
     283                            'url' => get_term_link($category->term_id)
    252284                        ];
    253285                    }
    254286                    $item['categories'] = $category_list;
    255287                }
    256288                $data[] = $item;
    257289            }
    258290            wp_reset_postdata();
    259291        }
    260         return rest_ensure_response( $data );
     292        return rest_ensure_response($data);
    261293
    262294    }
    263295
    264296    /**
    265297     * Get Last Product data
    266298     */
    267     public function get_last_product_data( $request ){
     299    public function get_last_product_data($request)
     300    {
    268301
    269302        // if ( !isset( $_REQUEST['wpnonce'] ) || !wp_verify_nonce( $_REQUEST['wpnonce'], 'woolentorblock-nonced') ){
    270303        //     return rest_ensure_response([]);
    271304        // }
    272305
    273306        // Load WooCommerce frontend files
    274         if( function_exists('WC') ){
     307        if (function_exists('WC')) {
    275308            \WC()->frontend_includes();
    276309        }
    277310
    278         if( !class_exists('\WooLentor_Default_Data') ) {
     311        if (!class_exists('\WooLentor_Default_Data')) {
    279312            return [];
    280313        }
    281        
     314
    282315        $product = \WooLentor_Default_Data::instance()->get_product('');
    283316
    284317        $data = $item = [];
    285318
    286319        $item['id'] = $product->get_id();
    287320        $item['title'] = $product->get_title();
    288321
    289322        $cart_btn_class = $product->is_purchasable() && $product->is_in_stock() ? ' add_to_cart_button' : '';
    290         $cart_btn_class .= $product->supports( 'ajax_add_to_cart' ) && $product->is_purchasable() && $product->is_in_stock() ? ' ajax_add_to_cart' : '';
    291         $item['addtocart']      = [
    292             'link'     => $product->add_to_cart_url(),
    293             'class'    => $cart_btn_class,
    294             'text'     => $product->single_add_to_cart_text(),
    295             'html'     => \WooLentor_Default_Data::instance()->default('wl-product-add-to-cart')
     323        $cart_btn_class .= $product->supports('ajax_add_to_cart') && $product->is_purchasable() && $product->is_in_stock() ? ' ajax_add_to_cart' : '';
     324        $item['addtocart'] = [
     325            'link' => $product->add_to_cart_url(),
     326            'class' => $cart_btn_class,
     327            'text' => $product->single_add_to_cart_text(),
     328            'html' => \WooLentor_Default_Data::instance()->default('wl-product-add-to-cart')
    296329        ];
    297330
    298331        $item['price_html'] = \WooLentor_Default_Data::instance()->default('wl-single-product-price');
    299         $item['short_description'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-short-description' );
    300         $item['description'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-description' );
    301         $item['rating'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-rating' );
    302         $item['image'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-image' );
    303         $item['meta_info'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-meta' );
    304         $item['additional_info'] = \WooLentor_Default_Data::instance()->default( 'wl-product-additional-information' );
    305         $item['product_tabs'] = \WooLentor_Default_Data::instance()->default( 'wl-product-data-tabs2' );
    306         $item['product_reviews'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-reviews' );
    307         $item['product_stock'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-stock' );
    308         $item['product_upsell'] = \WooLentor_Default_Data::instance()->default( 'wl-single-product-upsell' );
    309         $item['product_related'] = \WooLentor_Default_Data::instance()->default( 'wl-product-related', array('orderby'=>'date','order'=>'desc') );
     332        $item['short_description'] = \WooLentor_Default_Data::instance()->default('wl-single-product-short-description');
     333        $item['description'] = \WooLentor_Default_Data::instance()->default('wl-single-product-description');
     334        $item['rating'] = \WooLentor_Default_Data::instance()->default('wl-single-product-rating');
     335        $item['image'] = \WooLentor_Default_Data::instance()->default('wl-single-product-image');
     336        $item['meta_info'] = \WooLentor_Default_Data::instance()->default('wl-single-product-meta');
     337        $item['additional_info'] = \WooLentor_Default_Data::instance()->default('wl-product-additional-information');
     338        $item['product_tabs'] = \WooLentor_Default_Data::instance()->default('wl-product-data-tabs2');
     339        $item['product_reviews'] = \WooLentor_Default_Data::instance()->default('wl-single-product-reviews');
     340        $item['product_stock'] = \WooLentor_Default_Data::instance()->default('wl-single-product-stock');
     341        $item['product_upsell'] = \WooLentor_Default_Data::instance()->default('wl-single-product-upsell');
     342        $item['product_related'] = \WooLentor_Default_Data::instance()->default('wl-product-related', array('orderby' => 'date', 'order' => 'desc'));
    310343
    311344        $data = $item;
    312345
    313         return rest_ensure_response( $data );
    314        
    315 
    316     }
    317 
    318    
     346        return rest_ensure_response($data);
     347
     348
     349    }
     350
     351    /**
     352     * Post List Callable Function
     353     *
     354     * @param [type] $request
     355     */
     356    public function get_post_list_data($request)
     357    {
     358        if (!isset($_REQUEST['wpnonce']) || !wp_verify_nonce($_REQUEST['wpnonce'], 'woolentorblock-nonce')) {
     359            return rest_ensure_response([]);
     360        }
     361
     362        $post_type = isset($request['postType']) ? $request['postType'] : 'woolentor-template';
     363        $per_page = isset($request['perPage']) ? $request['perPage'] : -1;
     364        $meta_query = isset($request['metaQuery']) ? $request['metaQuery'] : [];
     365
     366        $data = [];
     367        $offers = get_posts(
     368            [
     369                'post_type' => $post_type,
     370                'post_status' => 'publish',
     371                'posts_per_page' => $per_page,
     372                'meta_query' => [$meta_query]
     373            ]
     374        );
     375
     376        if (!empty($offers)) {
     377            foreach ($offers as $offer) {
     378                $item = [];
     379                $item['id'] = $offer->ID;
     380                $item['title'] = $offer->post_title;
     381                $data[] = $item;
     382            }
     383        }
     384
     385        return rest_ensure_response($data);
     386    }
     387
     388
    319389}
  • woolentor-addons/trunk/woolentor_addons_elementor.php

    r3037382 r3044764  
    11<?php
    22/**
    33 * Plugin Name: ShopLentor – WooCommerce Builder for Elementor & Gutenberg
    44 * Description: An all-in-one WooCommerce solution to create a beautiful WooCommerce store.
    55 * Plugin URI:  https://woolentor.com/
    6  * Version:     2.8.1
     6 * Version:     2.8.2
    77 * Author:      HasThemes
    88 * Author URI:  https://hasthemes.com/plugins/woolentor-pro/
    99 * License:     GPL-2.0+
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    1111 * Text Domain: woolentor
    1212 * Domain Path: /languages
    13  * WC tested up to: 8.6.0
    14  * Elementor tested up to: 3.19.2
    15  * Elementor Pro tested up to: 3.19.2
     13 * WC tested up to: 8.6.1
     14 * Elementor tested up to: 3.19.4
     15 * Elementor Pro tested up to: 3.19.4
    1616*/
    1717
    1818if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1919
    20 define( 'WOOLENTOR_VERSION', '2.8.1' );
     20define( 'WOOLENTOR_VERSION', '2.8.2' );
    2121define( 'WOOLENTOR_ADDONS_PL_ROOT', __FILE__ );
    2222define( 'WOOLENTOR_ADDONS_PL_URL', plugins_url( '/', WOOLENTOR_ADDONS_PL_ROOT ) );
    2323define( 'WOOLENTOR_ADDONS_PL_PATH', plugin_dir_path( WOOLENTOR_ADDONS_PL_ROOT ) );
    2424define( 'WOOLENTOR_ADDONS_DIR_URL', plugin_dir_url( WOOLENTOR_ADDONS_PL_ROOT ) );
    2525define( 'WOOLENTOR_PLUGIN_BASE', plugin_basename( WOOLENTOR_ADDONS_PL_ROOT ) );
    2626define( 'WOOLENTOR_TEMPLATE', trailingslashit( WOOLENTOR_ADDONS_PL_PATH . 'includes/templates' ) );
    2727
    2828// Required File
    2929require_once ( WOOLENTOR_ADDONS_PL_PATH.'includes/base.php' );
    3030\WooLentor\woolentor();
    3131
    3232/**
    3333 * Gutenbarge Blocks
    3434 */
    3535require_once ( WOOLENTOR_ADDONS_PL_PATH.'woolentor-blocks/woolentor-blocks.php' );
    3636
    3737// Compatible With WooCommerce Custom Order Tables
    3838add_action( 'before_woocommerce_init', function() {
    3939    if ( class_exists( '\Automattic\WooCommerce\Utilities\FeaturesUtil' ) ) {
    4040        \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__, true );
    4141    }
    4242} );
Note: See TracChangeset for help on using the changeset viewer.